首页 > 其他分享 >E10——在线建档,单头取单身行的数据

E10——在线建档,单头取单身行的数据

时间:2024-12-24 10:32:46浏览次数:2  
标签:ARRIVAL PURCHASE ActiveObject 单头 建档 SOURCE E10 ID ORDER

 

 

练习: 到货单单头的付款条件:自动带单身来源单号(采购订单)的付款条件:
    Context.GetEntityProperty('PURCHASE_ORDER.PURCHASE_ORDER_D.PURCHASE_ORDER_SD',{'PURCHASE_ORDER_SD_ID':ActiveObject.PURCHASE_ARRIVAL_D[0].SOURCE_ID.ROid},('Parent.Parent.PAYMENT_TERM_ID',))[0] 
if (IsNotNull(ActiveObject.PURCHASE_ARRIVAL_D[0].SOURCE_ID.ROid)
    and ActiveObject.PURCHASE_ARRIVAL_D[0].SOURCE_ID.RTK == 'PURCHASE_ORDER.PURCHASE_ORDER_D.PURCHASE_ORDER_SD'
    and ActiveObject.PURCHASE_ARRIVAL_D[0].SOURCE_ID.ROid <> GuidDefaultValue()) 
else  
    ActiveObject.PAYMENT_TERM_ID

 


     

 

标签:ARRIVAL,PURCHASE,ActiveObject,单头,建档,SOURCE,E10,ID,ORDER
From: https://www.cnblogs.com/xiaoli9627/p/18626805

相关文章