aismel87

Results comments of aismel87

Hello AL Dev Team! The code must be here (line 174): ![image](https://github.com/microsoft/ALAppExtensions/assets/93609371/28a23c74-5d84-4ad7-9200-5209fc199d38) ``` // Init New Code OnCalculateInvoiceDiscountOnBeforeGetGLSetup(CustInvDisc, SalesHeader); // End New Code GLSetup.Get(); if GLSetup."Payment Discount Type" GLSetup."Payment Discount...

Hello AL Dev Team! The code must be here (line 172): ![image](https://github.com/microsoft/ALAppExtensions/assets/93609371/a9244153-1e05-4909-8dc5-d46df4f553db) ``` //Init new code OnCalculateInvoiceDiscountOnBeforeGetGLSetup(VendInvDisc, PurchHeader); //end new code GLSetup.Get(); if GLSetup."Payment Discount Type" GLSetup."Payment Discount Type"::"Calc. Pmt....

Additional Context: I need this parameters for rounding with the "Document date" instead of the "Posting Date": SalesLine."Amount Including VAT" := Round( CurrExchRate.ExchangeAmtFCYToLCY( **SalesHeader.GetUseDate(),** SalesHeader."Currency Code", TotalSalesLine."Amount Including VAT", SalesHeader."Currency...

Hello, Sorry, I need the SalesLine parameter too, passed by reference. New Code OnRoundAmountOnAfterAssignSalesLines(xSalesLine, SalesLineACY, SalesHeader, IsHandled, TotalSalesLine , TotalSalesLineLCY, SalesLine); New publisher: [IntegrationEvent(false, false)] local procedure OnRoundAmountOnAfterAssignSalesLines(var xSalesLine: Record...

Hello, Sorry, I need the PurchaseLine parameter too, passed by reference. New Code OnRoundAmountOnBeforeCalculateLCYAmounts(xPurchLine, PurchLineACY, PurchaseHeader, IsHandled, TotalPurchLine, TotalPurchLineLCY, PurchaseLine); New publisher: [IntegrationEvent(false, false)] local procedure OnRoundAmountOnBeforeCalculateLCYAmounts(var xPurchLine: Record "Purchase...