ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] Codeunit 103 - OnBeforeRunCustEntryEdit

Open AJasp opened this issue 7 years ago • 2 comments

We need the following Event in Codeunit 103 in OnRun:

image

The signature should look like this: LOCAL [IntegrationEvent] OnBeforeRunCustEntryEdit(VAR Rec2 : Record "Cust. Ledger Entry";VAR CustLedgEntry2 : Record "Cust. Ledger Entry";VAR DtldCustLedgEntry2 : Record "Detailed Cust. Ledg. Entry") Please note that all parameters are used as VAR. Thanks!

AJasp avatar Apr 24 '19 12:04 AJasp

There is already event OnBeforeCustLedgEntryModify(CustLedgEntry,Rec) in this codeunit. Why do you need OnBefore event, assuming CustLedgEntry will be overwritten AFTER this event?

AlexanderYakunin avatar May 13 '19 14:05 AlexanderYakunin

With this event we would have the opportunity to do a CustLedgEntry.CHANGECOMPANY

AJasp avatar May 15 '19 14:05 AJasp