Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Event Request] Codeunit 90 Purch.-Post - OnBeforePostInvoicePostBuffer #2526

Closed
muratkarabek opened this issue May 20, 2019 · 0 comments
Closed
Labels
event-request Request for adding an event ships-in-future-update Fix ships in a future update

Comments

@muratkarabek
Copy link

Hi,

We need an event to manipulate TotalPurchLine, TotalPurchLineLCY by values in new fields of invoice post buffer table in codeunit 90 as described below:

LOCAL [IntegrationEvent] OnBeforePostInvoicePostBuffer(PurchHeader : Record "Purchase Header";VAR TempInvoicePostBuffer : TEMPORARY Record "Invoice Post. Buffer";VAR TotalPurchLine : Record "Purchase Line";VAR TotalPurchLineLCY : Record "Purchase Line")

LOCAL PostInvoicePostingBuffer(PurchHeader : Record "Purchase Header";VAR TempInvoicePostBuffer : TEMPORARY Record "Invoice Post. Buffer")
// ***** publisher call here *****
OnBeforePostInvoicePostBuffer(PurchHeader,TempInvoicePostBuffer,TotalPurchLine,TotalPurchLineLCY);

LineCount := 0;
IF TempInvoicePostBuffer.FIND('+') THEN
...
...

Thanks in advance!

@StanPesotskiy StanPesotskiy added the event-request Request for adding an event label May 21, 2019
@jobulsin jobulsin added the ships-in-future-update Fix ships in a future update label May 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
event-request Request for adding an event ships-in-future-update Fix ships in a future update
Projects
None yet
Development

No branches or pull requests

3 participants