修改物料路线导出

master
Leo 2 years ago
parent 2b925276bf
commit 1ca1c96afb

@ -506,114 +506,223 @@ namespace FactorySystemBll
SqlSugarClient db = AppSettingsHelper.GetSqlSugar();
string strSql = @"
SELECT
isnull(FOrganizeIndustryField, '') AS '.',
isnull(FOrganizeMaterialType, '') AS '.',
isnull(FOrganizeFactory, '') AS '.',
isnull(FOrganizeInventoryLocation, '') AS '.',
isnull(FOrganizeSalesOrganize, '') AS '.',
isnull(FOrganizeDistributionChannel, '') AS '.',
isnull(FBaseMaterialCode, '') AS '.',
isnull(FBaseTestCode, '') AS '.',
isnull(FBaseBasicMeter, '') AS '.',
isnull(FBaseMaterialDesc, '') AS '.',
isnull(FBaseMaterialGroup, '') AS '.',
isnull(FBaseSpecification, '') AS './()',
isnull(FBaseMaterialText, '') AS '.',
isnull(FBaseIdentifier, '') AS '.:/',
isnull(FBaseVolumeUnit, '') AS '.',
isnull(FBaseGrossWeight, '') AS '.',
isnull(FBaseNetWeight, '') AS '.',
isnull(FBaseWeightUnit, '') AS '.',
isnull(FBaseFameCode, '') AS '.fame',
isnull(FBaseBusinessVolume, '') AS '.',
isnull(FPurchaseGroup, '') AS '.',
isnull(FPurchaseCompany, '') AS '.',
isnull(FPurchaseCompanyCount, '') AS '.',
isnull(FPurchaseBaseCompanyCount, '') AS '.',
isnull(FPurchaseValueCode, '') AS '.',
isnull(FPurchaseFactorySpecificStatus, '') AS '.',
isnull(FPurchaseAutoOrder, '') AS '.',
isnull(FPurchaseGoodsSource, '') AS '.',
isnull(FTypeCategoryType, '') AS '.',
isnull(FTypeType, '') AS '.',
isnull(FSaleDeliveryFactory, '') AS '.',
isnull(FSaleTaxType, '') AS '.',
isnull(FSaleMaterialStatisticsGroup, '') AS '.',
isnull(FSaleSalesCompany, '') AS '.',
isnull(FSaleBaseCompanyCount, '') AS '.',
isnull(FSaleSalesCompanyCount, '') AS '.',
isnull(FSaleAccountSettingGroup, '') AS '.',
isnull(FSaleGeneralProjectCategoryGroup, '') AS '.',
isnull(FSaleProjectCategoryGroup, '') AS '.',
isnull(FSaleAvailabilityCheck, '') AS '.',
isnull(FSaleOutfitGroup, '') AS '.',
isnull(FSaleOldMaterialCode, '') AS '.',
isnull(FStorageConditions, '') AS '.',
isnull(FStorageBatchManage, '') AS '.',
isnull(FStorageMaxStoragePeriod, '') AS '.',
isnull(FStorageTimeUnit, '') AS '.',
isnull(FStorageMinSurplusShelfLife, '') AS '.寿',
isnull(FStorageTotalShelfLife, '') AS '.寿',
isnull(FStorageSLEDCode, '') AS '.SLED',
isnull(FMRP1Type, '') AS 'MRP1.MRP',
isnull(FMRP1ReorderLocation, '') AS 'MRP1.',
isnull(FMRP1RegularBatchSize, '') AS 'MRP1.',
isnull(FMRP1MaxInventorySize, '') AS 'MRP1.',
isnull(FMRP1Controller, '') AS 'MRP1.MRP',
isnull(FMRP1BatchSize, '') AS 'MRP1.',
isnull(FMRP1MinBatchSize, '') AS 'MRP1.',
isnull(FMRP1MaxBatchSize, '') AS 'MRP1.',
isnull(FMRP1Group, '') AS 'MRP1.MRP',
isnull(FMRP1RoundValue, '') AS 'MRP1. ',
isnull(FMRP1ProductType, '') AS 'MRP1.',
isnull(FMRP1CustomerCode, '') AS 'MRP1.',
isnull(FMRP1SizeMaterial, '') AS 'MRP1.',
isnull(FMRP1IgnoreLack, '') AS 'MRP1.',
isnull(FMRP1laminated, '') AS 'MRP1.',
isnull(FMRP1SafeStock, '') AS 'MRP1.',
isnull(FMRP1RequireCount, '') AS 'MRP1.',
isnull(FMRP1SmallMaterialStandard, '') AS 'MRP1. ()',
isnull(FMRP2PurchaseType, '') AS 'MRP2.',
isnull(FMRP2PlanMarginalCode, '') AS 'MRP2.',
isnull(FMRP2SpecialProcurement, '') AS 'MRP2.',
isnull(FMRP2Recoil, '') AS 'MRP2.',
isnull(FMRP2SelfProductTime, '') AS 'MRP2.',
isnull(FMRP2PlannDeliveryTime, '') AS 'MRP2.',
isnull(FMRP2ReceiveProcessTime, '') AS 'MRP2.',
isnull(FMRP2SafeStock, '') AS 'MRP2.',
isnull(FMRP2DeliveryInventoryPlace, '') AS 'MRP2.',
isnull(FMRP2ExternalStoragePlace, '') AS 'MRP2.',
isnull(FMRP3PolicyGroup, '') AS 'MRP3.',
isnull(FMRP3ConsumePattern, '') AS 'MRP3.',
isnull(FMRP3ForwardConsumePeriod, '') AS 'MRP3.',
isnull(FMRP3ReverseConsumePeriod, '') AS 'MRP3.',
isnull(FMRP3BlendMRP, '') AS 'MRP3.MRP',
isnull(FMRP3AvailabilityCheck, '') AS 'MRP3.',
isnull(FMRP4AloneOrFocus, '') AS 'MRP4.',
isnull(FMRP4DiscontinuousIidentifier, '') AS 'MRP4.',
isnull(FMRP4EffectivePeriod, '') AS 'MRP4.',
isnull(FMRP4FollowMaterial, '') AS 'MRP4.',
isnull(FPlanProductPlanParam, '') AS '.',
isnull(FPlanUnlimitedOverDelivery, '') AS '.',
isnull(FPlanUnderDeliveryTolerance, '') AS '.',
isnull(FPlanOverDeliveryTolerance, '') AS '.',
isnull(FPlanDeliverCompany, '') AS '.',
isnull(FPlanDeliverCompanyCount, '') AS '.',
isnull(FPlanBaseCompanyCount, '') AS '.',
isnull(FQualityType1, '') AS '.1',
isnull(FQualityType2, '') AS '.2',
isnull(FQualityType3, '') AS '.3',
isnull(FQualityType4, '') AS '.4',
isnull(FQualityType5, '') AS '.5',
isnull(FQualityType6, '') AS '.6',
isnull(FAccountPriceControl, '') AS '.',
isnull(FAccountPriceDetermine, '') AS '.',
isnull(FAccountPriceUnit, '') AS '.',
isnull(FAccountAccessType, '') AS '.',
isnull(FAccountSaleOrderInventory, '') AS '.VC: ',
isnull(FAccountStandardPrice, '') AS '.',
isnull(FAccountProfitCenter, '') AS '.',
isnull(FAccountCostAccountBatch, '') AS '.'
isnull(FOrganizeIndustryField, '') AS '
Industry Sector',
isnull(FOrganizeMaterialType, '') AS '
(Material Type)',
isnull(FOrganizeFactory, '') AS '
(Plant)',
isnull(FOrganizeInventoryLocation, '') AS '
(Stock Location)',
isnull(FOrganizeSalesOrganize, '') AS '
(Sales Organization)',
isnull(FOrganizeDistributionChannel, '') AS '
(distribution Channel',
isnull(FBaseMaterialCode, '') AS '
(Material NO.)',
isnull(FBaseTestCode, '') AS '
(Test NO.)',
isnull(FBaseBasicMeter, '') AS '
(Base Unit of Measure)',
isnull(FBaseMaterialDesc, '') AS '
Material Description',
isnull(FBaseMaterialGroup, '') AS '
(Material Group)',
isnull(FBaseSpecification, '') AS '/
(Specifications)',
isnull(FBaseMaterialText, '') AS '
(Basic Data Text)',
isnull(FBaseIdentifier, '') AS '\://
(In bulk/liquid)',
isnull(FBaseVolumeUnit, '') AS '
(Volume Unit)',
isnull(FBaseGrossWeight, '') AS '
(Gross weight)',
isnull(FBaseNetWeight, '') AS '
(Net weight)',
isnull(FBaseWeightUnit, '') AS '
(Weight unit)',
isnull(FBaseFameCode, '') AS 'fame',
isnull(FBaseBusinessVolume, '') AS '
(Volume)',
isnull(FPurchaseGroup, '') AS '
(Purchasing Group)',
isnull(FPurchaseCompany, '') AS '
(Order Unit)',
isnull(FPurchaseCompanyCount, '') AS '
(Quantity Conversion of procument)',
isnull(FPurchaseBaseCompanyCount, '') AS '
(Quantity Conversion of basic unit of measure)',
isnull(FPurchaseValueCode, '') AS '
(Purchasing value key)',
isnull(FPurchaseFactorySpecificStatus, '') AS '
(Plant-Specific Material Status)',
isnull(FPurchaseAutoOrder, '') AS '
automatic purchase order allowed',
isnull(FPurchaseGoodsSource, '') AS '
Source list requirement',
isnull(FTypeCategoryType, '') AS '
Class Type',
isnull(FTypeType, '') AS '
Class',
isnull(FSaleDeliveryFactory, '') AS '
(Delivering Plant)',
isnull(FSaleTaxType, '') AS '
(Tax classification material)',
isnull(FSaleMaterialStatisticsGroup, '') AS '
(Material statistics group)',
isnull(FSaleSalesCompany, '') AS '
(Sales unit)',
isnull(FSaleBaseCompanyCount, '') AS '
(Quantity Conversion of basic unit of measure)',
isnull(FSaleSalesCompanyCount, '') AS '
(Quantity Conversion of Sales)',
isnull(FSaleAccountSettingGroup, '') AS '
(Account Assignment Group for Material)',
isnull(FSaleGeneralProjectCategoryGroup, '') AS '
(General item category group)',
isnull(FSaleProjectCategoryGroup, '') AS '
(Item Category Group)',
isnull(FSaleAvailabilityCheck, '') AS '
(Availability check)',
isnull(FSaleOutfitGroup, '') AS '
(Loading Group)',
isnull(FSaleOldMaterialCode, '') AS '
old material number',
isnull(FStorageConditions, '') AS '
Storage conditions',
isnull(FStorageBatchManage, '') AS '
Batch Management Requirement Indicator',
isnull(FStorageMaxStoragePeriod, '') AS '
Maximum Storage Period',
isnull(FStorageTimeUnit, '') AS '
Time unit',
isnull(FStorageMinSurplusShelfLife, '') AS '寿(Minimum Remaining Shelf Life)',
isnull(FStorageTotalShelfLife, '') AS '寿
(Total shelf life)',
isnull(FStorageSLEDCode, '') AS 'SLED
(Period Indicator for Shelf Life Expiration Date)',
isnull(FMRP1Type, '') AS 'MRP
(MRP Type)',
isnull(FMRP1ReorderLocation, '') AS '',
isnull(FMRP1RegularBatchSize, '') AS '',
isnull(FMRP1MaxInventorySize, '') AS '',
isnull(FMRP1Controller, '') AS 'MRP
MRP Controller',
isnull(FMRP1BatchSize, '') AS '
Lot Sizing Procedure within Materials Planning',
isnull(FMRP1MinBatchSize, '') AS '
Maximum Lot Size',
isnull(FMRP1MaxBatchSize, '') AS '
Minimum Lot Size',
isnull(FMRP1Group, '') AS 'MRP
MRP Group',
isnull(FMRP1RoundValue, '') AS '
Rounding value for purchase order quantity',
isnull(FMRP1ProductType, '') AS '
Product classification',
isnull(FMRP1CustomerCode, '') AS '',
isnull(FMRP1SizeMaterial, '') AS '',
isnull(FMRP1IgnoreLack, '') AS '',
isnull(FMRP1laminated, '') AS '',
isnull(FMRP1SafeStock, '') AS '',
isnull(FMRP1RequireCount, '') AS '',
isnull(FMRP1SmallMaterialStandard, '') AS ' ',
isnull(FMRP2PurchaseType, '') AS '
Procurement Type',
isnull(FMRP2PlanMarginalCode, '') AS '
SchedMargin key',
isnull(FMRP2SpecialProcurement, '') AS '
Special procurement',
isnull(FMRP2Recoil, '') AS '
Backflush',
isnull(FMRP2SelfProductTime, '') AS '
In-house production time',
isnull(FMRP2PlannDeliveryTime, '') AS '
Planned Delivery Time in Days',
isnull(FMRP2ReceiveProcessTime, '') AS '
Goods receipt processing time in days',
isnull(FMRP2SafeStock, '') AS '
Safety Stock',
isnull(FMRP2DeliveryInventoryPlace, '') AS '
Issue Storage Location',
isnull(FMRP2ExternalStoragePlace, '') AS '
Default storage location for external procurement',
isnull(FMRP3PolicyGroup, '') AS '
Strategy Group',
isnull(FMRP3ConsumePattern, '') AS '
Consumption Mode',
isnull(FMRP3ForwardConsumePeriod, '') AS '
Consumption period: forward',
isnull(FMRP3ReverseConsumePeriod, '') AS '
Consumption period: backward',
isnull(FMRP3BlendMRP, '') AS 'MRP
Mixed MRP indicator',
isnull(FMRP3AvailabilityCheck, '') AS '
Availability check',
isnull(FMRP4AloneOrFocus, '') AS '
Individual requirements/Collective requirements',
isnull(FMRP4DiscontinuousIidentifier, '') AS '',
isnull(FMRP4EffectivePeriod, '') AS '',
isnull(FMRP4FollowMaterial, '') AS '',
isnull(FPlanProductPlanParam, '') AS '
Production Scheduling Profile',
isnull(FPlanUnlimitedOverDelivery, '') AS '
Indicator: Unlimited Overdelivery Allowed',
isnull(FPlanUnderDeliveryTolerance, '') AS '
Underdelivery tolerance limit',
isnull(FPlanOverDeliveryTolerance, '') AS '
Overdelivery tolerance limit',
isnull(FPlanDeliverCompany, '') AS '
Unit of issue',
isnull(FPlanDeliverCompanyCount, '') AS '
(Quantity Conversion of Delivery)',
isnull(FPlanBaseCompanyCount, '') AS '
(Quantity Conversion of basic unit of measure)',
isnull(FQualityType1, '') AS '1
Inspection Type 1',
isnull(FQualityType2, '') AS '2
Inspection Type 2',
isnull(FQualityType3, '') AS '3
Inspection Type 3',
isnull(FQualityType4, '') AS '4
Inspection Type 4',
isnull(FQualityType5, '') AS '5
Inspection Type 5',
isnull(FQualityType6, '') AS '6
Inspection Type 6',
isnull(FAccountPriceControl, '') AS '
(Price control indicator)',
isnull(FAccountPriceDetermine, '') AS '
(Material Price Determination: Control)',
isnull(FAccountPriceUnit, '') AS '
(Price Unit)',
isnull(FAccountAccessType, '') AS '
Valuation Class',
isnull(FAccountSaleOrderInventory, '') AS 'VC:
Valuation Class for Sales Order Stock',
isnull(FAccountStandardPrice, '') AS '
Standard Price',
isnull(FAccountProfitCenter, '') AS '
Profit Center',
isnull(FAccountCostAccountBatch, '') AS '
Lot Size for Product Costing'
FROM TFS_ViewMaterial";
if ("2".Equals(teamworkType))
@ -669,116 +778,226 @@ namespace FactorySystemBll
isnull(i.FYield, '') as '',
isnull(i.FFixedLoss, '') as '',
isnull(i.FTheoryYield, '') as '',
isnull(i.FQualityTest1, '') as '1',
isnull(i.FQualityTest2, '') as '2',
isnull(v.FOrganizeIndustryField, '') AS '.',
isnull(v.FOrganizeMaterialType, '') AS '.',
isnull(v.FOrganizeFactory, '') AS '.',
isnull(v.FOrganizeInventoryLocation, '') AS '.',
isnull(v.FOrganizeSalesOrganize, '') AS '.',
isnull(v.FOrganizeDistributionChannel, '') AS '.',
isnull(v.FBaseMaterialCode, '') AS '.',
isnull(v.FBaseTestCode, '') AS '.',
isnull(v.FBaseBasicMeter, '') AS '.',
isnull(v.FBaseMaterialDesc, '') AS '.',
isnull(v.FBaseMaterialGroup, '') AS '.',
isnull(v.FBaseSpecification, '') AS './()',
isnull(v.FBaseMaterialText, '') AS '.',
isnull(v.FBaseIdentifier, '') AS '.:/',
isnull(v.FBaseVolumeUnit, '') AS '.',
isnull(v.FBaseGrossWeight, '') AS '.',
isnull(v.FBaseNetWeight, '') AS '.',
isnull(v.FBaseWeightUnit, '') AS '.',
isnull(v.FBaseFameCode, '') AS '.fame',
isnull(v.FBaseBusinessVolume, '') AS '.',
isnull(v.FPurchaseGroup, '') AS '.',
isnull(v.FPurchaseCompany, '') AS '.',
isnull(v.FPurchaseCompanyCount, '') AS '.',
isnull(v.FPurchaseBaseCompanyCount, '') AS '.',
isnull(v.FPurchaseValueCode, '') AS '.',
isnull(v.FPurchaseFactorySpecificStatus, '') AS '.',
isnull(v.FPurchaseAutoOrder, '') AS '.',
isnull(v.FPurchaseGoodsSource, '') AS '.',
isnull(v.FTypeCategoryType, '') AS '.',
isnull(v.FTypeType, '') AS '.',
isnull(v.FSaleDeliveryFactory, '') AS '.',
isnull(v.FSaleTaxType, '') AS '.',
isnull(v.FSaleMaterialStatisticsGroup, '') AS '.',
isnull(v.FSaleSalesCompany, '') AS '.',
isnull(v.FSaleBaseCompanyCount, '') AS '.',
isnull(v.FSaleSalesCompanyCount, '') AS '.',
isnull(v.FSaleAccountSettingGroup, '') AS '.',
isnull(v.FSaleGeneralProjectCategoryGroup, '') AS '.',
isnull(v.FSaleProjectCategoryGroup, '') AS '.',
isnull(v.FSaleAvailabilityCheck, '') AS '.',
isnull(v.FSaleOutfitGroup, '') AS '.',
isnull(v.FSaleOldMaterialCode, '') AS '.',
isnull(v.FStorageConditions, '') AS '.',
isnull(v.FStorageBatchManage, '') AS '.',
isnull(v.FStorageMaxStoragePeriod, '') AS '.',
isnull(v.FStorageTimeUnit, '') AS '.',
isnull(v.FStorageMinSurplusShelfLife, '') AS '.寿',
isnull(v.FStorageTotalShelfLife, '') AS '.寿',
isnull(v.FStorageSLEDCode, '') AS '.SLED',
isnull(v.FMRP1Type, '') AS 'MRP1.MRP',
isnull(v.FMRP1ReorderLocation, '') AS 'MRP1.',
isnull(v.FMRP1RegularBatchSize, '') AS 'MRP1.',
isnull(v.FMRP1MaxInventorySize, '') AS 'MRP1.',
isnull(v.FMRP1Controller, '') AS 'MRP1.MRP',
isnull(v.FMRP1BatchSize, '') AS 'MRP1.',
isnull(v.FMRP1MinBatchSize, '') AS 'MRP1.',
isnull(v.FMRP1MaxBatchSize, '') AS 'MRP1.',
isnull(v.FMRP1Group, '') AS 'MRP1.MRP',
isnull(v.FMRP1RoundValue, '') AS 'MRP1. ',
isnull(v.FMRP1ProductType, '') AS 'MRP1.',
isnull(v.FMRP1CustomerCode, '') AS 'MRP1.',
isnull(v.FMRP1SizeMaterial, '') AS 'MRP1.',
isnull(v.FMRP1IgnoreLack, '') AS 'MRP1.',
isnull(v.FMRP1laminated, '') AS 'MRP1.',
isnull(v.FMRP1SafeStock, '') AS 'MRP1.',
isnull(v.FMRP1RequireCount, '') AS 'MRP1.',
isnull(v.FMRP1SmallMaterialStandard, '') AS 'MRP1. ()',
isnull(v.FMRP2PurchaseType, '') AS 'MRP2.',
isnull(v.FMRP2PlanMarginalCode, '') AS 'MRP2.',
isnull(v.FMRP2SpecialProcurement, '') AS 'MRP2.',
isnull(v.FMRP2Recoil, '') AS 'MRP2.',
isnull(v.FMRP2SelfProductTime, '') AS 'MRP2.',
isnull(v.FMRP2PlannDeliveryTime, '') AS 'MRP2.',
isnull(v.FMRP2ReceiveProcessTime, '') AS 'MRP2.',
isnull(v.FMRP2SafeStock, '') AS 'MRP2.',
isnull(v.FMRP2DeliveryInventoryPlace, '') AS 'MRP2.',
isnull(v.FMRP2ExternalStoragePlace, '') AS 'MRP2.',
isnull(v.FMRP3PolicyGroup, '') AS 'MRP3.',
isnull(v.FMRP3ConsumePattern, '') AS 'MRP3.',
isnull(v.FMRP3ForwardConsumePeriod, '') AS 'MRP3.',
isnull(v.FMRP3ReverseConsumePeriod, '') AS 'MRP3.',
isnull(v.FMRP3BlendMRP, '') AS 'MRP3.MRP',
isnull(v.FMRP3AvailabilityCheck, '') AS 'MRP3.',
isnull(v.FMRP4AloneOrFocus, '') AS 'MRP4.',
isnull(v.FMRP4DiscontinuousIidentifier, '') AS 'MRP4.',
isnull(v.FMRP4EffectivePeriod, '') AS 'MRP4.',
isnull(v.FMRP4FollowMaterial, '') AS 'MRP4.',
isnull(v.FPlanProductPlanParam, '') AS '.',
isnull(v.FPlanUnlimitedOverDelivery, '') AS '.',
isnull(v.FPlanUnderDeliveryTolerance, '') AS '.',
isnull(v.FPlanOverDeliveryTolerance, '') AS '.',
isnull(v.FPlanDeliverCompany, '') AS '.',
isnull(v.FPlanDeliverCompanyCount, '') AS '.',
isnull(v.FPlanBaseCompanyCount, '') AS '.',
isnull(v.FQualityType1, '') AS '.1',
isnull(v.FQualityType2, '') AS '.2',
isnull(v.FQualityType3, '') AS '.3',
isnull(v.FQualityType4, '') AS '.4',
isnull(v.FQualityType5, '') AS '.5',
isnull(v.FQualityType6, '') AS '.6',
isnull(v.FAccountPriceControl, '') AS '.',
isnull(v.FAccountPriceDetermine, '') AS '.',
isnull(v.FAccountPriceUnit, '') AS '.',
isnull(v.FAccountAccessType, '') AS '.',
isnull(v.FAccountSaleOrderInventory, '') AS '.VC: ',
isnull(v.FAccountStandardPrice, '') AS '.',
isnull(v.FAccountProfitCenter, '') AS '.',
isnull(v.FAccountCostAccountBatch, '') AS '.'
isnull(i.FQualityTest1, '') as '',
isnull(i.FQualityTest2, '') as '',
isnull(v.FOrganizeIndustryField, '') as '
Industry Sector',
isnull(v.FOrganizeMaterialType, '') as '
(Material Type)',
isnull(v.FOrganizeFactory, '') as '
(Plant)',
isnull(v.FOrganizeInventoryLocation, '') as '
(Stock Location)',
isnull(v.FOrganizeSalesOrganize, '') as '
(Sales Organization)',
isnull(v.FOrganizeDistributionChannel, '') as '
(distribution Channel)',
isnull(v.FBaseMaterialCode, '') as '
(Material NO.)',
isnull(v.FBaseTestCode, '') as '
(Test NO.)',
isnull(v.FBaseBasicMeter, '') as '
(Base Unit of Measure)',
isnull(v.FBaseMaterialDesc, '') as '
Material Description',
isnull(v.FBaseMaterialGroup, '') as '
(Material Group)',
isnull(v.FBaseSpecification, '') as '/
(Specifications)',
isnull(v.FBaseMaterialText, '') as '
(Basic Data Text)',
isnull(v.FBaseIdentifier, '') as '\://
(In bulk/liquid)',
isnull(v.FBaseVolumeUnit, '') as '
(Volume Unit)',
isnull(v.FBaseGrossWeight, '') as '
(Gross weight)',
isnull(v.FBaseNetWeight, '') as '
(Net weight)',
isnull(v.FBaseWeightUnit, '') as '
(Weight unit)',
isnull(v.FBaseFameCode, '') as 'fame',
isnull(v.FBaseBusinessVolume, '') as '
(Volume)',
isnull(v.FPurchaseGroup, '') as '
(Purchasing Group)',
isnull(v.FPurchaseCompany, '') as '
(Order Unit)',
isnull(v.FPurchaseCompanyCount, '') as '
(Quantity Conversion of procument)',
isnull(v.FPurchaseBaseCompanyCount, '') as '
(Quantity Conversion of basic unit of measure)',
isnull(v.FPurchaseValueCode, '') as '
(Purchasing value key)',
isnull(v.FPurchaseFactorySpecificStatus, '') as '
(Plant-Specific Material Status)',
isnull(v.FPurchaseAutoOrder, '') as '
automatic purchase order allowed',
isnull(v.FPurchaseGoodsSource, '') as '
Source list requirement',
isnull(v.FTypeCategoryType, '') as '
Class Type',
isnull(v.FTypeType, '') as '
Class',
isnull(v.FSaleDeliveryFactory, '') as '
(Delivering Plant)',
isnull(v.FSaleTaxType, '') as '
(Tax classification material)',
isnull(v.FSaleMaterialStatisticsGroup, '') as '
(Material statistics group)',
isnull(v.FSaleSalesCompany, '') as '
(Sales unit)',
isnull(v.FSaleBaseCompanyCount, '') as '
(Quantity Conversion of basic unit of measure)',
isnull(v.FSaleSalesCompanyCount, '') as '
(Quantity Conversion of Sales)',
isnull(v.FSaleAccountSettingGroup, '') as '
(Account Assignment Group for Material)',
isnull(v.FSaleGeneralProjectCategoryGroup, '') as '
(General item category group)',
isnull(v.FSaleProjectCategoryGroup, '') as '
(Item Category Group)',
isnull(v.FSaleAvailabilityCheck, '') as '
(Availability check)',
isnull(v.FSaleOutfitGroup, '') as '
(Loading Group)',
isnull(v.FSaleOldMaterialCode, '') as '
old material number
',
isnull(v.FStorageConditions, '') as '
Storage conditions',
isnull(v.FStorageBatchManage, '') as '
Batch Management Requirement Indicator',
isnull(v.FStorageMaxStoragePeriod, '') as '
Maximum Storage Period',
isnull(v.FStorageTimeUnit, '') as '
Time unit',
isnull(v.FStorageMinSurplusShelfLife, '') as '寿(Minimum Remaining Shelf Life)',
isnull(v.FStorageTotalShelfLife, '') as '寿
(Total shelf life)',
isnull(v.FStorageSLEDCode, '') as 'SLED
(Period Indicator for Shelf Life Expiration Date)',
isnull(v.FMRP1Type, '') as 'MRP
(MRP Type)',
isnull(v.FMRP1ReorderLocation, '') as '',
isnull(v.FMRP1RegularBatchSize, '') as '',
isnull(v.FMRP1MaxInventorySize, '') as '',
isnull(v.FMRP1Controller, '') as 'MRP
MRP Controller',
isnull(v.FMRP1BatchSize, '') as '
Lot Sizing Procedure within Materials Planning',
isnull(v.FMRP1MinBatchSize, '') as '
Maximum Lot Size',
isnull(v.FMRP1MaxBatchSize, '') as '
Minimum Lot Size',
isnull(v.FMRP1Group, '') as 'MRP
MRP Group',
isnull(v.FMRP1RoundValue, '') as '
Rounding value for purchase order quantity',
isnull(v.FMRP1ProductType, '') as '
Product classification',
isnull(v.FMRP1CustomerCode, '') as '',
isnull(v.FMRP1SizeMaterial, '') as '',
isnull(v.FMRP1IgnoreLack, '') as ' ',
isnull(v.FMRP1laminated, '') as '',
isnull(v.FMRP1SafeStock, '') as '',
isnull(v.FMRP1RequireCount, '') as '',
isnull(v.FMRP1SmallMaterialStandard, '') as ' ',
isnull(v.FMRP2PurchaseType, '') as '
Procurement Type',
isnull(v.FMRP2PlanMarginalCode, '') as '
SchedMargin key',
isnull(v.FMRP2SpecialProcurement, '') as '
Special procurement',
isnull(v.FMRP2Recoil, '') as '
Backflush',
isnull(v.FMRP2SelfProductTime, '') as '
In-house production time',
isnull(v.FMRP2PlannDeliveryTime, '') as '
Planned Delivery Time in Days',
isnull(v.FMRP2ReceiveProcessTime, '') as '
Goods receipt processing time in days',
isnull(v.FMRP2SafeStock, '') as '
Safety Stock',
isnull(v.FMRP2DeliveryInventoryPlace, '') as '
Issue Storage Location',
isnull(v.FMRP2ExternalStoragePlace, '') as '
Default storage location for external procurement',
isnull(v.FMRP3PolicyGroup, '') as '
Strategy Group',
isnull(v.FMRP3ConsumePattern, '') as '
Consumption Mode',
isnull(v.FMRP3ForwardConsumePeriod, '') as '
Consumption period: forward',
isnull(v.FMRP3ReverseConsumePeriod, '') as '
Consumption period: backward',
isnull(v.FMRP3BlendMRP, '') as 'MRP
Mixed MRP indicator',
isnull(v.FMRP3AvailabilityCheck, '') as '
Availability check',
isnull(v.FMRP4AloneOrFocus, '') as '
Individual requirements/Collective requirements',
isnull(v.FMRP4DiscontinuousIidentifier, '') as '',
isnull(v.FMRP4EffectivePeriod, '') as '',
isnull(v.FMRP4FollowMaterial, '') as '',
isnull(v.FPlanProductPlanParam, '') as '
Production Scheduling Profile',
isnull(v.FPlanUnlimitedOverDelivery, '') as '
Indicator: Unlimited Overdelivery Allowed',
isnull(v.FPlanUnderDeliveryTolerance, '') as '
Underdelivery tolerance limit',
isnull(v.FPlanOverDeliveryTolerance, '') as '
Overdelivery tolerance limit',
isnull(v.FPlanDeliverCompany, '') as '
Unit of issue',
isnull(v.FPlanDeliverCompanyCount, '') as '
(Quantity Conversion of Delivery)',
isnull(v.FPlanBaseCompanyCount, '') as '
(Quantity Conversion of basic unit of measure)',
isnull(v.FQualityType1, '') as '1
Inspection Type 1',
isnull(v.FQualityType2, '') as '2
Inspection Type 2',
isnull(v.FQualityType3, '') as '3
Inspection Type 3',
isnull(v.FQualityType4, '') as '4
Inspection Type 4',
isnull(v.FQualityType5, '') as '5
Inspection Type 5',
isnull(v.FQualityType6, '') as '6
Inspection Type 6',
isnull(v.FAccountPriceControl, '') as '
(Price control indicator)',
isnull(v.FAccountPriceDetermine, '') as '
(Material Price Determination: Control)',
isnull(v.FAccountPriceUnit, '') as '
(Price Unit)',
isnull(v.FAccountAccessType, '') as '
Valuation Class',
isnull(v.FAccountSaleOrderInventory, '') as 'VC:
Valuation Class for Sales Order Stock',
isnull(v.FAccountStandardPrice, '') as '
Standard Price',
isnull(v.FAccountProfitCenter, '') as '
Profit Center',
isnull(v.FAccountCostAccountBatch, '') as '
Lot Size for Product Costing'
from
TFS_ViewMaterial v
left join TFS_Material m on

Loading…
Cancel
Save