How to override existing procedure on a table using extension

rsorimarsorima Member Posts: 2
Hello I am a newbie in Dynamics 365, and I am on the struggle on how to edit existing procedure on a table.

For example. In sales header table, a local procedure has been declared.

LOCAL LookupAppliesToDocNo()
GLSetup.GET;
IF ("Document Type" IN ["Document Type"::"Credit Memo","Document Type"::"Return Order"]) AND
GLSetup.GSTEnabled("Document Date")
THEN BEGIN
"BAS Adjustment" := BASManagement.CheckBASPeriod("Document Date",CustLedgEntry."Document Date");
"Adjustment Applies-to" := "Applies-to Doc. No.";
END;

I just wanted to comment some of the code here. How could I achieve it? Is it possible in extension?

Answers

Sign In or Register to comment.