Why do you need this change?
We would like to request 2 new integration events in the UpdatePrepmtSetupFields function on the "Purchase Line" table.
Describe the request
Hi Microsoft BC Dev Team,
New integration events
Add 2 new integrations at the end of the PurchaseLine.Table.al object:
[IntegrationEvent(false, false)]
local procedure OnUpdatePrepmtSetupFieldsOnBeforeGetVATPostingSetup(var PurchaseLine: Record "Purchase Line"; GLAccount: Record "G/L Account"; var VATPostingSetup: Record "VAT Posting Setup"; var VATPostingSetupRetrieved: Boolean)
begin
end;
[IntegrationEvent(false, false)]
local procedure OnUpdatePrepmtSetupFieldsOnBeforeClearVATPostingSetup(var PurchaseLine: Record "Purchase Line"; var VATPostingSetup: Record "VAT Posting Setup"; var SkipClear: Boolean)
begin
end;
Implementation details in Base Application W1 v28.0
- Call
OnUpdatePrepmtSetupFieldsOnBeforeGetVATPostingSetup around line 5747. A new variable VATPostingSetupRetrieved is needed to to skip VATPostingSetup.Get if the variable is set.
- Call
OnUpdatePrepmtSetupFieldsOnBeforeClearVATPostingSetup around line 5751. And also a new variable is needed SkipClear to skip clearing VATPostingSetup.
Regards
Tuan
Why do you need this change?
We would like to request 2 new integration events in the
UpdatePrepmtSetupFieldsfunction on the "Purchase Line" table.Describe the request
Hi Microsoft BC Dev Team,
New integration events
Add 2 new integrations at the end of the
PurchaseLine.Table.alobject:Implementation details in Base Application W1 v28.0
OnUpdatePrepmtSetupFieldsOnBeforeGetVATPostingSetuparound line 5747. A new variableVATPostingSetupRetrievedis needed to to skipVATPostingSetup.Getif the variable is set.OnUpdatePrepmtSetupFieldsOnBeforeClearVATPostingSetuparound line 5751. And also a new variable is neededSkipClearto skip clearingVATPostingSetup.Regards
Tuan