[ExtensionOf(classStr(CredManCreditLimitAdjCheckPost))]
final class SFA_CredManCreditLimitAdjCheckPost_Class_Extension
{
protected void updateCreditLimitCustTable()
{
next updateCreditLimitCustTable();
{
CustTable custTable;
CredManCreditLimitAdjTrans creditLimitAdjTrans;
CredManCreditLimitAdjTable creditLimitAdjTable;
container packedData = this.pack();
CredManCreditLimitAdjustmentJournalId journalId = conPeek(packedData, 2);
custTable.skipDataMethods(true);
update_recordset custTable
setting
PaymTermId = creditLimitAdjTrans.NewPaymTermId // SFA Add this line
join creditLimitAdjTrans
where creditLimitAdjTrans.CustAccount == custTable.AccountNum
&& creditLimitAdjTrans.JournalId == journalId;
}
}
}
André Arnaud de Cal... 291,391 Super User 2024 Season 2
Martin Dráb 230,445 Most Valuable Professional
nmaenpaa 101,156