Source AL, 122 lines
src/Layers/W1/BaseApp/Purchases/History/CorrectPstdPurchInvYesNo.Codeunit.allines 10 to 25 of 122, Copyright (c) Microsoft Corporation. MIT
codeunit 1324 "Correct PstdPurchInv (Yes/No)"{ Permissions = TableData "Purch. Inv. Header" = rm, TableData "Purch. Cr. Memo Hdr." = rm; TableNo = "Purch. Inv. Header"; trigger OnRun() begin CorrectInvoice(Rec); end; var CorrectPostedInvoiceQst: Label 'The posted purchase invoice will be canceled, and a new version of the purchase invoice will be created 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 122 lines
Events 1 in 29
All 2 events in 17-29
Public procedures 1 in 29
| CorrectInvoice(var PurchInvHeader: Record "Purch. Inv. Header"): Boolean | 17-29 |
Changes 2 in 24
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Events | | | | | 1 | | | 2 | | | | | |
|---|
All 3 changes in 17-29