1
This commit is contained in:
@@ -36,6 +36,7 @@ def OnPreparePropertys(e):
|
||||
e.FieldKeys.Add("FBillAllAmount");
|
||||
e.FieldKeys.Add("F_SFYFH");
|
||||
e.FieldKeys.Add("FSaleOrgId");
|
||||
e.FieldKeys.Add("FDocumentStatus");
|
||||
|
||||
def BeforeDoSaveExecute(e):
|
||||
# if this.FormOperation.OperationId == 8:
|
||||
@@ -83,6 +84,7 @@ WHERE t0.FID IN ({0})
|
||||
# raise Exception(JsonUtil.Serialize(res))
|
||||
item = res[0]
|
||||
|
||||
if entity["SAL_DELIVERYNOTICEFIN"] != None and entity["SAL_DELIVERYNOTICEFIN"].Count > 0:
|
||||
currAmount = entity["SAL_DELIVERYNOTICEFIN"][0]["BillAllAmount"]
|
||||
# raise Exception(str(currAmount))
|
||||
isYFHFlag = item["累计核销金额"] < item["款到发货应收金额"]
|
||||
|
||||
Reference in New Issue
Block a user