1、打开客户端工具包-辅助工具-单据自定义2、选择采购申请单及采购订单,分别新增分录列3、自定义字段意见价4、采购订单新增意见价时,选择采购申请单字段-意见价5、建立采购申请单,维护意见价6、采购申请单下推采购订单,分录自动带意见价
SETQUOTED_IDENTIFIERONGOSETANSI_NULLSONGOIFEXISTS(select*fromsysobjectswherename=ICMrpDestBills_Insert_SynFieldsandtype=TR)DropTRIGGERICMrpDestBills_Insert_SynFieldsGOCREATETRIGGER[ICMrpDestBills_Insert_SynFields]ON[dbo].[ICMrpDestBills]FORINSERTASupdatev1setv1.FHeadSelfJ0158=u2.FBillNo--FHeadSelfJ0160产品预测单号,v1.FHeadSelfJ0159=u4.FName--FHeadSelfJ0161产品预测单表体物料名称fromICMOv1leftjoi...