ALAppExtensions
ALAppExtensions copied to clipboard
TestStatusOpen/SuspendStatusCheck Pattern in Sales Line (T37)
In T39, the TestStatusOpen function fires the OnBeforeTestStatusOpen integration event, BEFORE checking the StatusCheckSuspended flag:
OnBeforeTestStatusOpen(Rec,PurchHeader);
IF StatusCheckSuspended THEN
EXIT;
We would like this logic to be mirrored in T37. Currently Sales Line has this logic in TestStatusOpen:
IF StatusCheckSuspended THEN
EXIT;
GetSalesHeader;
OnBeforeTestStatusOpen(Rec,SalesHeader);
Please move the OnBeforeTestStatusOpen integration event to the beginning of the function.