ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

Refactor Table 39/37 Procedure GetDate

Open GuntherGebauer opened this issue 7 years ago • 2 comments

The actual function getDate in Table 39 returns the "Posting Date" of PurchHeader. But PurchHeader might not be read and cannot be set calling PurchLine.GetPurchHeader, as the function GetPurchHeader is only local.

I would suggest to call GetPurchHeader inside of GetDate. As an alternative GetPurchHeader might be declared as External. Same Behaviour and Suggestion for Table 37 and GetSalesHeader.

[External] GetDate() : Date GetPurchHeader; -- new call to guarantee the correct PurchaseHeader IF PurchHeader."Posting Date" <> 0D THEN EXIT(PurchHeader."Posting Date"); EXIT(WORKDATE);

GuntherGebauer avatar Dec 18 '18 13:12 GuntherGebauer

We need this as well!

miljance avatar Mar 06 '19 13:03 miljance

Hi @miljance

I believe the issue has been fixed. Expect it available in the Spring 19 release 😄

mazhelez avatar Mar 06 '19 14:03 mazhelez