ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

TestStatusOpen/SuspendStatusCheck Pattern in Sales Line (T37)

Open ekesteloot opened this issue 7 years ago • 0 comments

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.

ekesteloot avatar Aug 12 '19 16:08 ekesteloot