Codeunit 1322 Correct PstdSalesInv (Yes/No)

Base Application, Microsoft.Sales.History

src/Layers/W1/BaseApp/Sales/History/CorrectPstdSalesInvYesNo.Codeunit.al5 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnRun line 19, trigger

  1. 21callsCorrectInvoice

CorrectInvoice line 35

  1. 43callsCodeunit 1303 Correct Posted Sales Invoice TestCorrectInvoiceIsAllowed
  2. 44callsGetRelatedOrder
  3. 46callsCancelPostedInvoiceAndOpenNewSalesInvoice
  4. 51callsCancelPostedInvoice
  5. 53callsCancelPostedInvoice
  6. 55callsCancelPostedInvoiceAndOpenSalesOrder

CancelPostedInvoiceAndOpenNewSalesInvoice line 61, local

  1. 68callsCodeunit 27 Confirm Management GetResponse
  2. 69callsCodeunit 1303 Correct Posted Sales Invoice CancelPostedInvoiceCreateNewInvoice
  3. 71raisesOnCorrectInvoiceOnBeforeOpenSalesInvoicePageIsHandled
  4. 73runsPage 43 Sales Invoice

CancelPostedInvoiceAndOpenSalesOrder line 80, local

  1. 88raisesOnCancelPostedInvoiceAndOpenSalesOrderOnBeforeConfirm
  2. 89callsCodeunit 27 Confirm Management GetResponse
  3. 90callsCodeunit 1303 Correct Posted Sales Invoice CancelPostedInvoice
  4. 94raisesOnCorrectInvoiceOnBeforeOpenSalesOrderPageIsHandled
  5. 96runsPage 42 Sales Order

CancelPostedInvoice line 103, local

  1. 108callsCodeunit 27 Confirm Management GetResponse
  2. 109callsCodeunit 1303 Correct Posted Sales Invoice CancelPostedInvoice