ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

Codeunit 80 + 90 - OnBeforePostLines weirdness #547

Open TxusMoyano opened this issue 7 years ago • 5 comments

I can't find this solution in version 14.0.29530. Will it be fixed in the next version?

TxusMoyano avatar Jul 04 '19 11:07 TxusMoyano

OnBeforePostLines() are pretty old events. They existed already in build 26767 and exist now. image image

StanPesotskiy avatar Jul 05 '19 07:07 StanPesotskiy

The question is not the event exists. The issue #547 is about the TEMP PURCHLINE GLOBAL variable is not passed as TEMPORARY in the Integration Event definition of these events.

Thank you.

TxusMoyano avatar Jul 05 '19 08:07 TxusMoyano

Or TempSalesLineGlobal

TxusMoyano avatar Jul 05 '19 08:07 TxusMoyano

I see now. Though, what is weird in not declaring the parameter as TEMPORARY? It is allowed to pass either temporary or normal record variable to such parameter. Is there a scenario broken by such a declaration?

StanPesotskiy avatar Jul 05 '19 08:07 StanPesotskiy

Sorry, it was a testing mistake

TxusMoyano avatar Jul 05 '19 09:07 TxusMoyano