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 1305 OnAfterInsertSalesInvoiceLine #2052

Closed
GuntherGebauer opened this issue Apr 18, 2018 · 1 comment

Comments

Projects
None yet
4 participants
@GuntherGebauer
Copy link

commented Apr 18, 2018

In Codeunit 86 "Sales-Quote to Order" the Event Trigger

  • OnAfterInsertSalesOrderLine
  • OnAfterInsertAllSalesOrderLines

are submitted.

Codeunit 1305 "Sales-Quote to Invoice" is the similar function on sales quotes to create invoices instead of orders both fnctions called from Page 41 and 9300.

To use the same Trigger structure those Triggers from codeunit 86 should be added to codeunit 1305 as well. Maybe all Triggers in both codeunits 86 and 1305 should be exaclty of the same strcucture which is Logical and conform to the two very similar page functions.

@marknitek

This comment has been minimized.

Copy link

commented Apr 24, 2018

While we are at it, Codeunit 5923 Service-Quote to Order does not expose these events too. There should be the same Events as in the Codeunit 86.

And only Codeunit 86 has Event Publisher "OnAfterOnRun". I think all Codeunits (86,87,96,97,5923) should have the same set of Events:

  • OnBeforeInsertOrderHeader
  • OnAfterInsertOrderLine
  • OnAfterInsertAllOrderLines
  • OnAfterOnRun
  • OnBeforeInsertOrderLine

@thpeder thpeder added this to the May 2018 milestone Apr 27, 2018

@microsoft microsoft locked and limited conversation to collaborators Jul 25, 2018

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
You can’t perform that action at this time.