AL icon indicating copy to clipboard operation
AL copied to clipboard

[Event Request] CU83 "Sales-Quote to Order (Yes/No)"

Open ghost opened this issue 8 years ago • 1 comments

Please add an Events in CU83 "Sales-Quote to Order (Yes/No)" in the OnRun(VAR Rec : Record "Sales Header") Trigger.

  • before the SalesQuoteToOrder.RUN(Rec);
  • and after the SalesQuoteToOrder.GetSalesOrderHeader(SalesHeader2);
  • and to skip the Confirmation Dialog before IF GUIALLOWED THEN
// ... ---------- Start
OnBeforeQuote2Order(Rec);
// ... ---------- End
SalesQuoteToOrder.RUN(Rec);
SalesQuoteToOrder.GetSalesOrderHeader(SalesHeader2);
// ... ---------- Start
OnAfterQuote2Order(Rec, SalesHeader2);
// ... ---------- End
COMMIT;
// ... ---------- Start
IF NOT SalesProcessMdtr.BeforeQuestionOnRunQuote2Order(Rec, SalesHeader2, OpenNewInvoiceQst) THEN
// ... ---------- End

We whant to implement some additional user interaction some checks before and some modifications after.

Thanks in advanced! Benjamin

ghost avatar Sep 21 '18 16:09 ghost

I agree with this as it is a common requirement to perform checks before converting quote. If would be good to have an event at the end of the function as well.

GaryFrostick avatar Sep 28 '18 10:09 GaryFrostick