Source AL, 146 lines
src/Layers/W1/BaseApp/Sales/History/CorrectPstdSalesInvYesNo.Codeunit.allines 13 to 28 of 146, Copyright (c) Microsoft Corporation. MIT
codeunit 1322 "Correct PstdSalesInv (Yes/No)"{ Permissions = TableData "Sales Invoice Header" = rm, TableData "Sales Cr.Memo Header" = rm; TableNo = "Sales Invoice Header"; trigger OnRun() begin CorrectInvoice(Rec); end; var CorrectPostedInvoiceQst: Label 'The posted sales invoice will be canceled, and a new version of the sales invoice will automatically be created by the system so that you can make the correction.\ \Do you want to continue?'; CorrectPostedInvoiceFromSingleOrderQst: Label 'The invoice was posted from an order. The invoice will be cancelled, and the order will open so that you can make the correction.\ \Do you want to continue?'; CorrectPostedInvoiceFromDeletedOrderQst: Label 'The invoice was posted from an order. The order has been deleted, and the invoice will be cancelled. You can create a new invoice or order by using the Copy Document action.\ \Do you want to continue?'; CorrectPostedInvoiceFromMultipleOrderQst: Label 'The invoice was posted from multiple orders. It will now be cancelled, and you can make a correction manually in the original orders.\ \Do you want to continue?';
All 146 lines
Events 3 in 29
All 4 events in 17-29
Public procedures 1 in 29
| CorrectInvoice(var SalesInvoiceHeader: Record "Sales Invoice Header"): Boolean | 17-29 |
Changes 1 in 28
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Events | | | | | 2 | | | | | | | 1 | |
|---|
All 3 changes in 17-29