|
|
|
@ -506,114 +506,223 @@ namespace FactorySystemBll
|
|
|
|
SqlSugarClient db = AppSettingsHelper.GetSqlSugar();
|
|
|
|
SqlSugarClient db = AppSettingsHelper.GetSqlSugar();
|
|
|
|
string strSql = @"
|
|
|
|
string strSql = @"
|
|
|
|
SELECT
|
|
|
|
SELECT
|
|
|
|
isnull(FOrganizeIndustryField, '') AS '组织级别.行业领域',
|
|
|
|
isnull(FOrganizeIndustryField, '') AS '行业领域
|
|
|
|
isnull(FOrganizeMaterialType, '') AS '组织级别.物料类型',
|
|
|
|
(Industry Sector)',
|
|
|
|
isnull(FOrganizeFactory, '') AS '组织级别.工厂',
|
|
|
|
isnull(FOrganizeMaterialType, '') AS '物料类型
|
|
|
|
isnull(FOrganizeInventoryLocation, '') AS '组织级别.库存地点',
|
|
|
|
(Material Type)',
|
|
|
|
isnull(FOrganizeSalesOrganize, '') AS '组织级别.销售组织',
|
|
|
|
isnull(FOrganizeFactory, '') AS '工厂
|
|
|
|
isnull(FOrganizeDistributionChannel, '') AS '组织级别.分销渠道',
|
|
|
|
(Plant)',
|
|
|
|
isnull(FBaseMaterialCode, '') AS '基本视图.物料编号',
|
|
|
|
isnull(FOrganizeInventoryLocation, '') AS '库存地点
|
|
|
|
isnull(FBaseTestCode, '') AS '基本视图.试验号',
|
|
|
|
(Stock Location)',
|
|
|
|
isnull(FBaseBasicMeter, '') AS '基本视图.基本计量',
|
|
|
|
isnull(FOrganizeSalesOrganize, '') AS '销售组织
|
|
|
|
isnull(FBaseMaterialDesc, '') AS '基本视图.物料描述',
|
|
|
|
(Sales Organization)',
|
|
|
|
isnull(FBaseMaterialGroup, '') AS '基本视图.物料组',
|
|
|
|
isnull(FOrganizeDistributionChannel, '') AS '分销渠道
|
|
|
|
isnull(FBaseSpecification, '') AS '基本视图.大小/量纲(规格)',
|
|
|
|
(distribution Channel',
|
|
|
|
isnull(FBaseMaterialText, '') AS '基本视图.物料长文本',
|
|
|
|
isnull(FBaseMaterialCode, '') AS '物料编号
|
|
|
|
isnull(FBaseIdentifier, '') AS '基本视图.标识符:固体/液体',
|
|
|
|
(Material NO.)',
|
|
|
|
isnull(FBaseVolumeUnit, '') AS '基本视图.体积单位',
|
|
|
|
isnull(FBaseTestCode, '') AS '试验号
|
|
|
|
isnull(FBaseGrossWeight, '') AS '基本视图.毛重',
|
|
|
|
(Test NO.)',
|
|
|
|
isnull(FBaseNetWeight, '') AS '基本视图.净重',
|
|
|
|
isnull(FBaseBasicMeter, '') AS '基本计量
|
|
|
|
isnull(FBaseWeightUnit, '') AS '基本视图.重量单位',
|
|
|
|
(Base Unit of Measure)',
|
|
|
|
isnull(FBaseFameCode, '') AS '基本视图.fame号',
|
|
|
|
isnull(FBaseMaterialDesc, '') AS '物料描述
|
|
|
|
isnull(FBaseBusinessVolume, '') AS '基本视图.业务量',
|
|
|
|
(Material Description)',
|
|
|
|
isnull(FPurchaseGroup, '') AS '采购视图.采购组',
|
|
|
|
isnull(FBaseMaterialGroup, '') AS '物料组
|
|
|
|
isnull(FPurchaseCompany, '') AS '采购视图.采购单位',
|
|
|
|
(Material Group)',
|
|
|
|
isnull(FPurchaseCompanyCount, '') AS '采购视图.采购单位数量',
|
|
|
|
isnull(FBaseSpecification, '') AS '大小/量纲(规格)
|
|
|
|
isnull(FPurchaseBaseCompanyCount, '') AS '采购视图.基本单位数量',
|
|
|
|
(Specifications)',
|
|
|
|
isnull(FPurchaseValueCode, '') AS '采购视图.采购价值码',
|
|
|
|
isnull(FBaseMaterialText, '') AS '物料长文本
|
|
|
|
isnull(FPurchaseFactorySpecificStatus, '') AS '采购视图.工厂特定状态',
|
|
|
|
(Basic Data Text)',
|
|
|
|
isnull(FPurchaseAutoOrder, '') AS '采购视图.自动采购订单',
|
|
|
|
isnull(FBaseIdentifier, '') AS '实验室\办公室(标识符:固体/液体/乳化)
|
|
|
|
isnull(FPurchaseGoodsSource, '') AS '采购视图.货源清单',
|
|
|
|
(In bulk/liquid)',
|
|
|
|
isnull(FTypeCategoryType, '') AS '分类视图.类别种类',
|
|
|
|
isnull(FBaseVolumeUnit, '') AS '体积单位
|
|
|
|
isnull(FTypeType, '') AS '分类视图.类别',
|
|
|
|
(Volume Unit)',
|
|
|
|
isnull(FSaleDeliveryFactory, '') AS '销售视图.交货工厂',
|
|
|
|
isnull(FBaseGrossWeight, '') AS '毛重
|
|
|
|
isnull(FSaleTaxType, '') AS '销售视图.税金分类',
|
|
|
|
(Gross weight)',
|
|
|
|
isnull(FSaleMaterialStatisticsGroup, '') AS '销售视图.物料统计组',
|
|
|
|
isnull(FBaseNetWeight, '') AS '净重
|
|
|
|
isnull(FSaleSalesCompany, '') AS '销售视图.销售单位',
|
|
|
|
(Net weight)',
|
|
|
|
isnull(FSaleBaseCompanyCount, '') AS '销售视图.基本单位数量',
|
|
|
|
isnull(FBaseWeightUnit, '') AS '重量单位
|
|
|
|
isnull(FSaleSalesCompanyCount, '') AS '销售视图.销售单位数量',
|
|
|
|
(Weight unit)',
|
|
|
|
isnull(FSaleAccountSettingGroup, '') AS '销售视图.科目设置组',
|
|
|
|
isnull(FBaseFameCode, '') AS '生产备忘录(fame号)',
|
|
|
|
isnull(FSaleGeneralProjectCategoryGroup, '') AS '销售视图.普通项目类别组',
|
|
|
|
isnull(FBaseBusinessVolume, '') AS '业务量
|
|
|
|
isnull(FSaleProjectCategoryGroup, '') AS '销售视图.项目类别组',
|
|
|
|
(Volume)',
|
|
|
|
isnull(FSaleAvailabilityCheck, '') AS '销售视图.可用性检查',
|
|
|
|
isnull(FPurchaseGroup, '') AS '采购组
|
|
|
|
isnull(FSaleOutfitGroup, '') AS '销售视图.装载组',
|
|
|
|
(Purchasing Group)',
|
|
|
|
isnull(FSaleOldMaterialCode, '') AS '销售视图.旧物料号',
|
|
|
|
isnull(FPurchaseCompany, '') AS '采购单位
|
|
|
|
isnull(FStorageConditions, '') AS '仓储视图.存储条件',
|
|
|
|
(Order Unit)',
|
|
|
|
isnull(FStorageBatchManage, '') AS '仓储视图.批次管理',
|
|
|
|
isnull(FPurchaseCompanyCount, '') AS '采购单位数量
|
|
|
|
isnull(FStorageMaxStoragePeriod, '') AS '仓储视图.最大存储期间',
|
|
|
|
(Quantity Conversion of procument)',
|
|
|
|
isnull(FStorageTimeUnit, '') AS '仓储视图.时间单位',
|
|
|
|
isnull(FPurchaseBaseCompanyCount, '') AS '基本单位数量
|
|
|
|
isnull(FStorageMinSurplusShelfLife, '') AS '仓储视图.最小剩余货架寿命',
|
|
|
|
(Quantity Conversion of basic unit of measure)',
|
|
|
|
isnull(FStorageTotalShelfLife, '') AS '仓储视图.总货架寿命',
|
|
|
|
isnull(FPurchaseValueCode, '') AS '采购价值码
|
|
|
|
isnull(FStorageSLEDCode, '') AS '仓储视图.SLED期间标识',
|
|
|
|
(Purchasing value key)',
|
|
|
|
isnull(FMRP1Type, '') AS 'MRP1.MRP类型',
|
|
|
|
isnull(FPurchaseFactorySpecificStatus, '') AS '工厂特定状态
|
|
|
|
isnull(FMRP1ReorderLocation, '') AS 'MRP1.再订货点',
|
|
|
|
(Plant-Specific Material Status)',
|
|
|
|
isnull(FMRP1RegularBatchSize, '') AS 'MRP1.固定批量大小',
|
|
|
|
isnull(FPurchaseAutoOrder, '') AS '自动采购订单
|
|
|
|
isnull(FMRP1MaxInventorySize, '') AS 'MRP1.最大库存水平',
|
|
|
|
(automatic purchase order allowed)',
|
|
|
|
isnull(FMRP1Controller, '') AS 'MRP1.MRP控制者',
|
|
|
|
isnull(FPurchaseGoodsSource, '') AS '货源清单
|
|
|
|
isnull(FMRP1BatchSize, '') AS 'MRP1.批量大小',
|
|
|
|
(Source list requirement)',
|
|
|
|
isnull(FMRP1MinBatchSize, '') AS 'MRP1.最小批量大小',
|
|
|
|
isnull(FTypeCategoryType, '') AS '类别种类
|
|
|
|
isnull(FMRP1MaxBatchSize, '') AS 'MRP1.最大批量大小',
|
|
|
|
(Class Type)',
|
|
|
|
isnull(FMRP1Group, '') AS 'MRP1.MRP组',
|
|
|
|
isnull(FTypeType, '') AS '类别
|
|
|
|
isnull(FMRP1RoundValue, '') AS 'MRP1. 舍入值',
|
|
|
|
(Class)',
|
|
|
|
isnull(FMRP1ProductType, '') AS 'MRP1.产品分类',
|
|
|
|
isnull(FSaleDeliveryFactory, '') AS '交货工厂
|
|
|
|
isnull(FMRP1CustomerCode, '') AS 'MRP1.客户代码',
|
|
|
|
(Delivering Plant)',
|
|
|
|
isnull(FMRP1SizeMaterial, '') AS 'MRP1.大小料',
|
|
|
|
isnull(FSaleTaxType, '') AS '税金分类
|
|
|
|
isnull(FMRP1IgnoreLack, '') AS 'MRP1.不计算缺料',
|
|
|
|
(Tax classification material)',
|
|
|
|
isnull(FMRP1laminated, '') AS 'MRP1.压膜',
|
|
|
|
isnull(FSaleMaterialStatisticsGroup, '') AS '物料统计组
|
|
|
|
isnull(FMRP1SafeStock, '') AS 'MRP1.安全库存带小样',
|
|
|
|
(Material statistics group)',
|
|
|
|
isnull(FMRP1RequireCount, '') AS 'MRP1.需求计算不考虑前置物料库存',
|
|
|
|
isnull(FSaleSalesCompany, '') AS '销售单位
|
|
|
|
isnull(FMRP1SmallMaterialStandard, '') AS 'MRP1. 小料标准(小于)',
|
|
|
|
(Sales unit)',
|
|
|
|
isnull(FMRP2PurchaseType, '') AS 'MRP2.采购类型',
|
|
|
|
isnull(FSaleBaseCompanyCount, '') AS '基本单位数量
|
|
|
|
isnull(FMRP2PlanMarginalCode, '') AS 'MRP2.计划边际码',
|
|
|
|
(Quantity Conversion of basic unit of measure)',
|
|
|
|
isnull(FMRP2SpecialProcurement, '') AS 'MRP2.特殊采购类',
|
|
|
|
isnull(FSaleSalesCompanyCount, '') AS '销售单位数量
|
|
|
|
isnull(FMRP2Recoil, '') AS 'MRP2.反冲',
|
|
|
|
(Quantity Conversion of Sales)',
|
|
|
|
isnull(FMRP2SelfProductTime, '') AS 'MRP2.自制生产时间',
|
|
|
|
isnull(FSaleAccountSettingGroup, '') AS '科目设置组
|
|
|
|
isnull(FMRP2PlannDeliveryTime, '') AS 'MRP2.计划交货时间',
|
|
|
|
(Account Assignment Group for Material)',
|
|
|
|
isnull(FMRP2ReceiveProcessTime, '') AS 'MRP2.收货处理时间',
|
|
|
|
isnull(FSaleGeneralProjectCategoryGroup, '') AS '普通项目类别组
|
|
|
|
isnull(FMRP2SafeStock, '') AS 'MRP2.安全库存',
|
|
|
|
(General item category group)',
|
|
|
|
isnull(FMRP2DeliveryInventoryPlace, '') AS 'MRP2.发货库存地点',
|
|
|
|
isnull(FSaleProjectCategoryGroup, '') AS '项目类别组
|
|
|
|
isnull(FMRP2ExternalStoragePlace, '') AS 'MRP2.外部采购仓储地点',
|
|
|
|
(Item Category Group)',
|
|
|
|
isnull(FMRP3PolicyGroup, '') AS 'MRP3.策略组',
|
|
|
|
isnull(FSaleAvailabilityCheck, '') AS '可用性检查
|
|
|
|
isnull(FMRP3ConsumePattern, '') AS 'MRP3.消耗模式',
|
|
|
|
(Availability check)',
|
|
|
|
isnull(FMRP3ForwardConsumePeriod, '') AS 'MRP3.向前消耗期间',
|
|
|
|
isnull(FSaleOutfitGroup, '') AS '装载组
|
|
|
|
isnull(FMRP3ReverseConsumePeriod, '') AS 'MRP3.逆向消耗期',
|
|
|
|
(Loading Group)',
|
|
|
|
isnull(FMRP3BlendMRP, '') AS 'MRP3.混合MRP',
|
|
|
|
isnull(FSaleOldMaterialCode, '') AS '旧物料号
|
|
|
|
isnull(FMRP3AvailabilityCheck, '') AS 'MRP3.可用性检查',
|
|
|
|
(old material number)',
|
|
|
|
isnull(FMRP4AloneOrFocus, '') AS 'MRP4.单独或集中',
|
|
|
|
isnull(FStorageConditions, '') AS '存储条件
|
|
|
|
isnull(FMRP4DiscontinuousIidentifier, '') AS 'MRP4.非连续标识',
|
|
|
|
(Storage conditions)',
|
|
|
|
isnull(FMRP4EffectivePeriod, '') AS 'MRP4.生效期',
|
|
|
|
isnull(FStorageBatchManage, '') AS '批次管理
|
|
|
|
isnull(FMRP4FollowMaterial, '') AS 'MRP4.后续的物料',
|
|
|
|
(Batch Management Requirement Indicator)',
|
|
|
|
isnull(FPlanProductPlanParam, '') AS '工作计划视图.生产计划参数文件',
|
|
|
|
isnull(FStorageMaxStoragePeriod, '') AS '最大存储期间
|
|
|
|
isnull(FPlanUnlimitedOverDelivery, '') AS '工作计划视图.无限制过量交货',
|
|
|
|
(Maximum Storage Period)',
|
|
|
|
isnull(FPlanUnderDeliveryTolerance, '') AS '工作计划视图.不足交货允差',
|
|
|
|
isnull(FStorageTimeUnit, '') AS '时间单位
|
|
|
|
isnull(FPlanOverDeliveryTolerance, '') AS '工作计划视图.过度交货允差',
|
|
|
|
(Time unit)',
|
|
|
|
isnull(FPlanDeliverCompany, '') AS '工作计划视图.发货单位',
|
|
|
|
isnull(FStorageMinSurplusShelfLife, '') AS '最小剩余货架寿命(Minimum Remaining Shelf Life)',
|
|
|
|
isnull(FPlanDeliverCompanyCount, '') AS '工作计划视图.发货单位数量',
|
|
|
|
isnull(FStorageTotalShelfLife, '') AS '总货架寿命
|
|
|
|
isnull(FPlanBaseCompanyCount, '') AS '工作计划视图.基本单位数量',
|
|
|
|
(Total shelf life)',
|
|
|
|
isnull(FQualityType1, '') AS '质检视图.检验类型1',
|
|
|
|
isnull(FStorageSLEDCode, '') AS 'SLED期间标识
|
|
|
|
isnull(FQualityType2, '') AS '质检视图.检验类型2',
|
|
|
|
(Period Indicator for Shelf Life Expiration Date)',
|
|
|
|
isnull(FQualityType3, '') AS '质检视图.检验类型3',
|
|
|
|
isnull(FMRP1Type, '') AS 'MRP类型
|
|
|
|
isnull(FQualityType4, '') AS '质检视图.检验类型4',
|
|
|
|
(MRP Type)',
|
|
|
|
isnull(FQualityType5, '') AS '质检视图.检验类型5',
|
|
|
|
isnull(FMRP1ReorderLocation, '') AS '再订货点',
|
|
|
|
isnull(FQualityType6, '') AS '质检视图.检验类型6',
|
|
|
|
isnull(FMRP1RegularBatchSize, '') AS '固定批量大小',
|
|
|
|
isnull(FAccountPriceControl, '') AS '会计视图.价格控制',
|
|
|
|
isnull(FMRP1MaxInventorySize, '') AS '最大库存水平',
|
|
|
|
isnull(FAccountPriceDetermine, '') AS '会计视图.价格确定',
|
|
|
|
isnull(FMRP1Controller, '') AS 'MRP
|
|
|
|
isnull(FAccountPriceUnit, '') AS '会计视图.价格单位',
|
|
|
|
控制者
|
|
|
|
isnull(FAccountAccessType, '') AS '会计视图.评估分类',
|
|
|
|
MRP Controller',
|
|
|
|
isnull(FAccountSaleOrderInventory, '') AS '会计视图.VC: 销售订单库存',
|
|
|
|
isnull(FMRP1BatchSize, '') AS '批量大小
|
|
|
|
isnull(FAccountStandardPrice, '') AS '会计视图.标准价格',
|
|
|
|
Lot Sizing Procedure within Materials Planning',
|
|
|
|
isnull(FAccountProfitCenter, '') AS '会计视图.利润中心',
|
|
|
|
isnull(FMRP1MinBatchSize, '') AS '最小批
|
|
|
|
isnull(FAccountCostAccountBatch, '') 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";
|
|
|
|
FROM TFS_ViewMaterial";
|
|
|
|
|
|
|
|
|
|
|
|
if ("2".Equals(teamworkType))
|
|
|
|
if ("2".Equals(teamworkType))
|
|
|
|
@ -641,144 +750,254 @@ namespace FactorySystemBll
|
|
|
|
SqlSugarClient db = AppSettingsHelper.GetSqlSugar();
|
|
|
|
SqlSugarClient db = AppSettingsHelper.GetSqlSugar();
|
|
|
|
string strSql = string.Format(@"select
|
|
|
|
string strSql = string.Format(@"select
|
|
|
|
iif(m.FTypeID1 is null, '', (select FName from TFS_MaterialType where fid = m.FTypeID1)) as '一级分类',
|
|
|
|
iif(m.FTypeID1 is null, '', (select FName from TFS_MaterialType where fid = m.FTypeID1)) as '一级分类',
|
|
|
|
iif(m.FTypeID2 is null, '', (select FName from TFS_MaterialType where fid = m.FTypeID2)) as '二级分类',
|
|
|
|
iif(m.FTypeID2 is null, '', (select FName from TFS_MaterialType where fid = m.FTypeID2)) as '二级分类',
|
|
|
|
isnull(m.FK3Code, '') as 'K3系统代码',
|
|
|
|
isnull(m.FK3Code, '') as 'K3系统代码',
|
|
|
|
isnull(m.FK3Name, '') as 'K3系统名称',
|
|
|
|
isnull(m.FK3Name, '') as 'K3系统名称',
|
|
|
|
isnull(m.FK3ShortCode, '') as 'K3系统短代码',
|
|
|
|
isnull(m.FK3ShortCode, '') as 'K3系统短代码',
|
|
|
|
isnull(m.FTestCode, '') as '产品试验号',
|
|
|
|
isnull(m.FTestCode, '') as '产品试验号',
|
|
|
|
isnull(m.FRelationCode, '') as '关联物料代码',
|
|
|
|
isnull(m.FRelationCode, '') as '关联物料代码',
|
|
|
|
isnull(m.FRelationName, '') as '关联物料名称',
|
|
|
|
isnull(m.FRelationName, '') as '关联物料名称',
|
|
|
|
isnull(m.FSAPCode, '') as 'SAP系统代码',
|
|
|
|
isnull(m.FSAPCode, '') as 'SAP系统代码',
|
|
|
|
isnull(m.FSAPDescription, '') as 'SAP系统描述',
|
|
|
|
isnull(m.FSAPDescription, '') as 'SAP系统描述',
|
|
|
|
isnull(i.FMaterialGroup, '') as '物料组',
|
|
|
|
isnull(i.FMaterialGroup, '') as '物料组',
|
|
|
|
isnull(i.FMaterialType, '') as '物料主分类',
|
|
|
|
isnull(i.FMaterialType, '') as '物料主分类',
|
|
|
|
isnull(i.FCustomerCode, '') as '客供料标识',
|
|
|
|
isnull(i.FCustomerCode, '') as '客供料标识',
|
|
|
|
isnull(i.FStoreHouse, '') as '总仓地址',
|
|
|
|
isnull(i.FStoreHouse, '') as '总仓地址',
|
|
|
|
isnull(i.FBomEntry, '') as 'BOM录入情况',
|
|
|
|
isnull(i.FBomEntry, '') as 'BOM录入情况',
|
|
|
|
isnull(i.FLineHouse, '') as '线边仓地址',
|
|
|
|
isnull(i.FLineHouse, '') as '线边仓地址',
|
|
|
|
isnull(i.FProductDesc, '') as '产品说明',
|
|
|
|
isnull(i.FProductDesc, '') as '产品说明',
|
|
|
|
isnull(i.FWorkCenter, '') as '工作中心',
|
|
|
|
isnull(i.FWorkCenter, '') as '工作中心',
|
|
|
|
isnull(i.FCraftExplain, '') as '工艺说明',
|
|
|
|
isnull(i.FCraftExplain, '') as '工艺说明',
|
|
|
|
isnull(i.FIidentifier, '') as '标识符',
|
|
|
|
isnull(i.FIidentifier, '') as '标识符',
|
|
|
|
isnull(i.FGuaranteePeriod, '') as '保质期',
|
|
|
|
isnull(i.FGuaranteePeriod, '') as '保质期',
|
|
|
|
isnull(i.FBStorageConditions, '') as '存储条件',
|
|
|
|
isnull(i.FBStorageConditions, '') as '存储条件',
|
|
|
|
isnull(i.FSafetyStock, '') as '安全库存',
|
|
|
|
isnull(i.FSafetyStock, '') as '安全库存',
|
|
|
|
isnull(i.FTriggerRatio, '') as '触发比例',
|
|
|
|
isnull(i.FTriggerRatio, '') as '触发比例',
|
|
|
|
isnull(i.FMinAmount, '') as '最小量',
|
|
|
|
isnull(i.FMinAmount, '') as '最小量',
|
|
|
|
isnull(i.FMaxAmount, '') as '最大量',
|
|
|
|
isnull(i.FMaxAmount, '') as '最大量',
|
|
|
|
isnull(i.FYield, '') as '得率',
|
|
|
|
isnull(i.FYield, '') as '得率',
|
|
|
|
isnull(i.FFixedLoss, '') as '固损',
|
|
|
|
isnull(i.FFixedLoss, '') as '固损',
|
|
|
|
isnull(i.FTheoryYield, '') as '理论得率',
|
|
|
|
isnull(i.FTheoryYield, '') as '理论得率',
|
|
|
|
isnull(i.FQualityTest1, '') as '品质检验1',
|
|
|
|
isnull(i.FQualityTest1, '') as '品质检验',
|
|
|
|
isnull(i.FQualityTest2, '') as '品质检验2',
|
|
|
|
isnull(i.FQualityTest2, '') as '品质检验',
|
|
|
|
isnull(v.FOrganizeIndustryField, '') AS '组织级别.行业领域',
|
|
|
|
isnull(v.FOrganizeIndustryField, '') as '行业领域
|
|
|
|
isnull(v.FOrganizeMaterialType, '') AS '组织级别.物料类型',
|
|
|
|
(Industry Sector)',
|
|
|
|
isnull(v.FOrganizeFactory, '') AS '组织级别.工厂',
|
|
|
|
isnull(v.FOrganizeMaterialType, '') as '物料类型
|
|
|
|
isnull(v.FOrganizeInventoryLocation, '') AS '组织级别.库存地点',
|
|
|
|
(Material Type)',
|
|
|
|
isnull(v.FOrganizeSalesOrganize, '') AS '组织级别.销售组织',
|
|
|
|
isnull(v.FOrganizeFactory, '') as '工厂
|
|
|
|
isnull(v.FOrganizeDistributionChannel, '') AS '组织级别.分销渠道',
|
|
|
|
(Plant)',
|
|
|
|
isnull(v.FBaseMaterialCode, '') AS '基本视图.物料编号',
|
|
|
|
isnull(v.FOrganizeInventoryLocation, '') as '库存地点
|
|
|
|
isnull(v.FBaseTestCode, '') AS '基本视图.试验号',
|
|
|
|
(Stock Location)',
|
|
|
|
isnull(v.FBaseBasicMeter, '') AS '基本视图.基本计量',
|
|
|
|
isnull(v.FOrganizeSalesOrganize, '') as '销售组织
|
|
|
|
isnull(v.FBaseMaterialDesc, '') AS '基本视图.物料描述',
|
|
|
|
(Sales Organization)',
|
|
|
|
isnull(v.FBaseMaterialGroup, '') AS '基本视图.物料组',
|
|
|
|
isnull(v.FOrganizeDistributionChannel, '') as '分销渠道
|
|
|
|
isnull(v.FBaseSpecification, '') AS '基本视图.大小/量纲(规格)',
|
|
|
|
(distribution Channel)',
|
|
|
|
isnull(v.FBaseMaterialText, '') AS '基本视图.物料长文本',
|
|
|
|
isnull(v.FBaseMaterialCode, '') as '物料编号
|
|
|
|
isnull(v.FBaseIdentifier, '') AS '基本视图.标识符:固体/液体',
|
|
|
|
(Material NO.)',
|
|
|
|
isnull(v.FBaseVolumeUnit, '') AS '基本视图.体积单位',
|
|
|
|
isnull(v.FBaseTestCode, '') as '试验号
|
|
|
|
isnull(v.FBaseGrossWeight, '') AS '基本视图.毛重',
|
|
|
|
(Test NO.)',
|
|
|
|
isnull(v.FBaseNetWeight, '') AS '基本视图.净重',
|
|
|
|
isnull(v.FBaseBasicMeter, '') as '基本计量
|
|
|
|
isnull(v.FBaseWeightUnit, '') AS '基本视图.重量单位',
|
|
|
|
(Base Unit of Measure)',
|
|
|
|
isnull(v.FBaseFameCode, '') AS '基本视图.fame号',
|
|
|
|
isnull(v.FBaseMaterialDesc, '') as '物料描述
|
|
|
|
isnull(v.FBaseBusinessVolume, '') AS '基本视图.业务量',
|
|
|
|
(Material Description)',
|
|
|
|
isnull(v.FPurchaseGroup, '') AS '采购视图.采购组',
|
|
|
|
isnull(v.FBaseMaterialGroup, '') as '物料组
|
|
|
|
isnull(v.FPurchaseCompany, '') AS '采购视图.采购单位',
|
|
|
|
(Material Group)',
|
|
|
|
isnull(v.FPurchaseCompanyCount, '') AS '采购视图.采购单位数量',
|
|
|
|
isnull(v.FBaseSpecification, '') as '大小/量纲(规格)
|
|
|
|
isnull(v.FPurchaseBaseCompanyCount, '') AS '采购视图.基本单位数量',
|
|
|
|
(Specifications)',
|
|
|
|
isnull(v.FPurchaseValueCode, '') AS '采购视图.采购价值码',
|
|
|
|
isnull(v.FBaseMaterialText, '') as '物料长文本
|
|
|
|
isnull(v.FPurchaseFactorySpecificStatus, '') AS '采购视图.工厂特定状态',
|
|
|
|
(Basic Data Text)',
|
|
|
|
isnull(v.FPurchaseAutoOrder, '') AS '采购视图.自动采购订单',
|
|
|
|
isnull(v.FBaseIdentifier, '') as '实验室\办公室(标识符:固体/液体/乳化)
|
|
|
|
isnull(v.FPurchaseGoodsSource, '') AS '采购视图.货源清单',
|
|
|
|
(In bulk/liquid)',
|
|
|
|
isnull(v.FTypeCategoryType, '') AS '分类视图.类别种类',
|
|
|
|
isnull(v.FBaseVolumeUnit, '') as '体积单位
|
|
|
|
isnull(v.FTypeType, '') AS '分类视图.类别',
|
|
|
|
(Volume Unit)',
|
|
|
|
isnull(v.FSaleDeliveryFactory, '') AS '销售视图.交货工厂',
|
|
|
|
isnull(v.FBaseGrossWeight, '') as '毛重
|
|
|
|
isnull(v.FSaleTaxType, '') AS '销售视图.税金分类',
|
|
|
|
(Gross weight)',
|
|
|
|
isnull(v.FSaleMaterialStatisticsGroup, '') AS '销售视图.物料统计组',
|
|
|
|
isnull(v.FBaseNetWeight, '') as '净重
|
|
|
|
isnull(v.FSaleSalesCompany, '') AS '销售视图.销售单位',
|
|
|
|
(Net weight)',
|
|
|
|
isnull(v.FSaleBaseCompanyCount, '') AS '销售视图.基本单位数量',
|
|
|
|
isnull(v.FBaseWeightUnit, '') as '重量单位
|
|
|
|
isnull(v.FSaleSalesCompanyCount, '') AS '销售视图.销售单位数量',
|
|
|
|
(Weight unit)',
|
|
|
|
isnull(v.FSaleAccountSettingGroup, '') AS '销售视图.科目设置组',
|
|
|
|
isnull(v.FBaseFameCode, '') as '生产备忘录(fame号)',
|
|
|
|
isnull(v.FSaleGeneralProjectCategoryGroup, '') AS '销售视图.普通项目类别组',
|
|
|
|
isnull(v.FBaseBusinessVolume, '') as '业务量
|
|
|
|
isnull(v.FSaleProjectCategoryGroup, '') AS '销售视图.项目类别组',
|
|
|
|
(Volume)',
|
|
|
|
isnull(v.FSaleAvailabilityCheck, '') AS '销售视图.可用性检查',
|
|
|
|
isnull(v.FPurchaseGroup, '') as '采购组
|
|
|
|
isnull(v.FSaleOutfitGroup, '') AS '销售视图.装载组',
|
|
|
|
(Purchasing Group)',
|
|
|
|
isnull(v.FSaleOldMaterialCode, '') AS '销售视图.旧物料号',
|
|
|
|
isnull(v.FPurchaseCompany, '') as '采购单位
|
|
|
|
isnull(v.FStorageConditions, '') AS '仓储视图.存储条件',
|
|
|
|
(Order Unit)',
|
|
|
|
isnull(v.FStorageBatchManage, '') AS '仓储视图.批次管理',
|
|
|
|
isnull(v.FPurchaseCompanyCount, '') as '采购单位数量
|
|
|
|
isnull(v.FStorageMaxStoragePeriod, '') AS '仓储视图.最大存储期间',
|
|
|
|
(Quantity Conversion of procument)',
|
|
|
|
isnull(v.FStorageTimeUnit, '') AS '仓储视图.时间单位',
|
|
|
|
isnull(v.FPurchaseBaseCompanyCount, '') as '基本单位数量
|
|
|
|
isnull(v.FStorageMinSurplusShelfLife, '') AS '仓储视图.最小剩余货架寿命',
|
|
|
|
(Quantity Conversion of basic unit of measure)',
|
|
|
|
isnull(v.FStorageTotalShelfLife, '') AS '仓储视图.总货架寿命',
|
|
|
|
isnull(v.FPurchaseValueCode, '') as '采购价值码
|
|
|
|
isnull(v.FStorageSLEDCode, '') AS '仓储视图.SLED期间标识',
|
|
|
|
(Purchasing value key)',
|
|
|
|
isnull(v.FMRP1Type, '') AS 'MRP1.MRP类型',
|
|
|
|
isnull(v.FPurchaseFactorySpecificStatus, '') as '工厂特定状态
|
|
|
|
isnull(v.FMRP1ReorderLocation, '') AS 'MRP1.再订货点',
|
|
|
|
(Plant-Specific Material Status)',
|
|
|
|
isnull(v.FMRP1RegularBatchSize, '') AS 'MRP1.固定批量大小',
|
|
|
|
isnull(v.FPurchaseAutoOrder, '') as '自动采购订单
|
|
|
|
isnull(v.FMRP1MaxInventorySize, '') AS 'MRP1.最大库存水平',
|
|
|
|
(automatic purchase order allowed)',
|
|
|
|
isnull(v.FMRP1Controller, '') AS 'MRP1.MRP控制者',
|
|
|
|
isnull(v.FPurchaseGoodsSource, '') as '货源清单
|
|
|
|
isnull(v.FMRP1BatchSize, '') AS 'MRP1.批量大小',
|
|
|
|
(Source list requirement)',
|
|
|
|
isnull(v.FMRP1MinBatchSize, '') AS 'MRP1.最小批量大小',
|
|
|
|
isnull(v.FTypeCategoryType, '') as '类别种类
|
|
|
|
isnull(v.FMRP1MaxBatchSize, '') AS 'MRP1.最大批量大小',
|
|
|
|
(Class Type)',
|
|
|
|
isnull(v.FMRP1Group, '') AS 'MRP1.MRP组',
|
|
|
|
isnull(v.FTypeType, '') as '类别
|
|
|
|
isnull(v.FMRP1RoundValue, '') AS 'MRP1. 舍入值',
|
|
|
|
(Class)',
|
|
|
|
isnull(v.FMRP1ProductType, '') AS 'MRP1.产品分类',
|
|
|
|
isnull(v.FSaleDeliveryFactory, '') as '交货工厂
|
|
|
|
isnull(v.FMRP1CustomerCode, '') AS 'MRP1.客户代码',
|
|
|
|
(Delivering Plant)',
|
|
|
|
isnull(v.FMRP1SizeMaterial, '') AS 'MRP1.大小料',
|
|
|
|
isnull(v.FSaleTaxType, '') as '税金分类
|
|
|
|
isnull(v.FMRP1IgnoreLack, '') AS 'MRP1.不计算缺料',
|
|
|
|
(Tax classification material)',
|
|
|
|
isnull(v.FMRP1laminated, '') AS 'MRP1.压膜',
|
|
|
|
isnull(v.FSaleMaterialStatisticsGroup, '') as '物料统计组
|
|
|
|
isnull(v.FMRP1SafeStock, '') AS 'MRP1.安全库存带小样',
|
|
|
|
(Material statistics group)',
|
|
|
|
isnull(v.FMRP1RequireCount, '') AS 'MRP1.需求计算不考虑前置物料库存',
|
|
|
|
isnull(v.FSaleSalesCompany, '') as '销售单位
|
|
|
|
isnull(v.FMRP1SmallMaterialStandard, '') AS 'MRP1. 小料标准(小于)',
|
|
|
|
(Sales unit)',
|
|
|
|
isnull(v.FMRP2PurchaseType, '') AS 'MRP2.采购类型',
|
|
|
|
isnull(v.FSaleBaseCompanyCount, '') as '基本单位数量
|
|
|
|
isnull(v.FMRP2PlanMarginalCode, '') AS 'MRP2.计划边际码',
|
|
|
|
(Quantity Conversion of basic unit of measure)',
|
|
|
|
isnull(v.FMRP2SpecialProcurement, '') AS 'MRP2.特殊采购类',
|
|
|
|
isnull(v.FSaleSalesCompanyCount, '') as '销售单位数量
|
|
|
|
isnull(v.FMRP2Recoil, '') AS 'MRP2.反冲',
|
|
|
|
(Quantity Conversion of Sales)',
|
|
|
|
isnull(v.FMRP2SelfProductTime, '') AS 'MRP2.自制生产时间',
|
|
|
|
isnull(v.FSaleAccountSettingGroup, '') as '科目设置组
|
|
|
|
isnull(v.FMRP2PlannDeliveryTime, '') AS 'MRP2.计划交货时间',
|
|
|
|
(Account Assignment Group for Material)',
|
|
|
|
isnull(v.FMRP2ReceiveProcessTime, '') AS 'MRP2.收货处理时间',
|
|
|
|
isnull(v.FSaleGeneralProjectCategoryGroup, '') as '普通项目类别组
|
|
|
|
isnull(v.FMRP2SafeStock, '') AS 'MRP2.安全库存',
|
|
|
|
(General item category group)',
|
|
|
|
isnull(v.FMRP2DeliveryInventoryPlace, '') AS 'MRP2.发货库存地点',
|
|
|
|
isnull(v.FSaleProjectCategoryGroup, '') as '项目类别组
|
|
|
|
isnull(v.FMRP2ExternalStoragePlace, '') AS 'MRP2.外部采购仓储地点',
|
|
|
|
(Item Category Group)',
|
|
|
|
isnull(v.FMRP3PolicyGroup, '') AS 'MRP3.策略组',
|
|
|
|
isnull(v.FSaleAvailabilityCheck, '') as '可用性检查
|
|
|
|
isnull(v.FMRP3ConsumePattern, '') AS 'MRP3.消耗模式',
|
|
|
|
(Availability check)',
|
|
|
|
isnull(v.FMRP3ForwardConsumePeriod, '') AS 'MRP3.向前消耗期间',
|
|
|
|
isnull(v.FSaleOutfitGroup, '') as '装载组
|
|
|
|
isnull(v.FMRP3ReverseConsumePeriod, '') AS 'MRP3.逆向消耗期',
|
|
|
|
(Loading Group)',
|
|
|
|
isnull(v.FMRP3BlendMRP, '') AS 'MRP3.混合MRP',
|
|
|
|
isnull(v.FSaleOldMaterialCode, '') as '旧物料号
|
|
|
|
isnull(v.FMRP3AvailabilityCheck, '') AS 'MRP3.可用性检查',
|
|
|
|
(old material number)
|
|
|
|
isnull(v.FMRP4AloneOrFocus, '') AS 'MRP4.单独或集中',
|
|
|
|
',
|
|
|
|
isnull(v.FMRP4DiscontinuousIidentifier, '') AS 'MRP4.非连续标识',
|
|
|
|
isnull(v.FStorageConditions, '') as '存储条件
|
|
|
|
isnull(v.FMRP4EffectivePeriod, '') AS 'MRP4.生效期',
|
|
|
|
(Storage conditions)',
|
|
|
|
isnull(v.FMRP4FollowMaterial, '') AS 'MRP4.后续的物料',
|
|
|
|
isnull(v.FStorageBatchManage, '') as '批次管理
|
|
|
|
isnull(v.FPlanProductPlanParam, '') AS '工作计划视图.生产计划参数文件',
|
|
|
|
(Batch Management Requirement Indicator)',
|
|
|
|
isnull(v.FPlanUnlimitedOverDelivery, '') AS '工作计划视图.无限制过量交货',
|
|
|
|
isnull(v.FStorageMaxStoragePeriod, '') as '最大存储期间
|
|
|
|
isnull(v.FPlanUnderDeliveryTolerance, '') AS '工作计划视图.不足交货允差',
|
|
|
|
(Maximum Storage Period)',
|
|
|
|
isnull(v.FPlanOverDeliveryTolerance, '') AS '工作计划视图.过度交货允差',
|
|
|
|
isnull(v.FStorageTimeUnit, '') as '时间单位
|
|
|
|
isnull(v.FPlanDeliverCompany, '') AS '工作计划视图.发货单位',
|
|
|
|
(Time unit)',
|
|
|
|
isnull(v.FPlanDeliverCompanyCount, '') AS '工作计划视图.发货单位数量',
|
|
|
|
isnull(v.FStorageMinSurplusShelfLife, '') as '最小剩余货架寿命(Minimum Remaining Shelf Life)',
|
|
|
|
isnull(v.FPlanBaseCompanyCount, '') AS '工作计划视图.基本单位数量',
|
|
|
|
isnull(v.FStorageTotalShelfLife, '') as '总货架寿命
|
|
|
|
isnull(v.FQualityType1, '') AS '质检视图.检验类型1',
|
|
|
|
(Total shelf life)',
|
|
|
|
isnull(v.FQualityType2, '') AS '质检视图.检验类型2',
|
|
|
|
isnull(v.FStorageSLEDCode, '') as 'SLED期间标识
|
|
|
|
isnull(v.FQualityType3, '') AS '质检视图.检验类型3',
|
|
|
|
(Period Indicator for Shelf Life Expiration Date)',
|
|
|
|
isnull(v.FQualityType4, '') AS '质检视图.检验类型4',
|
|
|
|
isnull(v.FMRP1Type, '') as 'MRP类型
|
|
|
|
isnull(v.FQualityType5, '') AS '质检视图.检验类型5',
|
|
|
|
(MRP Type)',
|
|
|
|
isnull(v.FQualityType6, '') AS '质检视图.检验类型6',
|
|
|
|
isnull(v.FMRP1ReorderLocation, '') as '再订货点',
|
|
|
|
isnull(v.FAccountPriceControl, '') AS '会计视图.价格控制',
|
|
|
|
isnull(v.FMRP1RegularBatchSize, '') as '固定批量大小',
|
|
|
|
isnull(v.FAccountPriceDetermine, '') AS '会计视图.价格确定',
|
|
|
|
isnull(v.FMRP1MaxInventorySize, '') as '最大库存水平',
|
|
|
|
isnull(v.FAccountPriceUnit, '') AS '会计视图.价格单位',
|
|
|
|
isnull(v.FMRP1Controller, '') as 'MRP
|
|
|
|
isnull(v.FAccountAccessType, '') AS '会计视图.评估分类',
|
|
|
|
控制者
|
|
|
|
isnull(v.FAccountSaleOrderInventory, '') AS '会计视图.VC: 销售订单库存',
|
|
|
|
MRP Controller',
|
|
|
|
isnull(v.FAccountStandardPrice, '') AS '会计视图.标准价格',
|
|
|
|
isnull(v.FMRP1BatchSize, '') as '批量大小
|
|
|
|
isnull(v.FAccountProfitCenter, '') AS '会计视图.利润中心',
|
|
|
|
Lot Sizing Procedure within Materials Planning',
|
|
|
|
isnull(v.FAccountCostAccountBatch, '') AS '会计视图.成本核算批量'
|
|
|
|
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
|
|
|
|
from
|
|
|
|
TFS_ViewMaterial v
|
|
|
|
TFS_ViewMaterial v
|
|
|
|
left join TFS_Material m on
|
|
|
|
left join TFS_Material m on
|
|
|
|
|