Source AL, 86 lines
src/Layers/W1/BaseApp/Sales/History/CancelPstdSalesInvYesNo.Codeunit.allines 12 to 27 of 86, Copyright (c) Microsoft Corporation. MIT
codeunit 1323 "Cancel PstdSalesInv (Yes/No)"{ Permissions = TableData "Sales Invoice Header" = rm, TableData "Sales Cr.Memo Header" = rm; TableNo = "Sales Invoice Header"; trigger OnRun() begin CancelInvoice(Rec); end; var CancelPostedInvoiceFromOrderQst: Label 'This invoice was posted from a sales order. To cancel it, a sales credit memo will be created and posted. The quantities from the original sales order will be restored, provided the sales order still exists.\ \Do you want to continue?'; CancelPostedInvoiceQst: Label 'The posted sales invoice will be canceled, and a sales credit memo will be created and posted.\ \Do you want to continue?'; OpenPostedCreditMemoQst: Label 'A credit memo was successfully created. Do you want to open the posted credit memo?';
All 86 lines
Events 3 in 29
Public procedures 1 in 29
| CancelInvoice(var SalesInvoiceHeader: Record "Sales Invoice Header"): Boolean | 17-29 |
Changes 1 in 29
All 3 changes in 17-29