Source AL, 60 lines
src/Layers/W1/BaseApp/Purchases/History/CancelPstdPurchCrMYesNo.Codeunit.allines 9 to 24 of 60, Copyright (c) Microsoft Corporation. MIT
codeunit 1401 "Cancel PstdPurchCrM (Yes/No)"{ Permissions = TableData "Purch. Inv. Header" = rm, TableData "Purch. Cr. Memo Hdr." = rm; TableNo = "Purch. Cr. Memo Hdr."; trigger OnRun() begin CancelCrMemo(Rec); end; var CancelPostedCrMemoQst: Label 'The posted purchase credit memo will be canceled, and a purchase invoice will be created and posted, which reverses the posted purchase credit memo. Do you want to continue?'; OpenPostedInvQst: Label 'The invoice was successfully created. Do you want to open the posted invoice?'; local procedure CancelCrMemo(var PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr."): Boolean
All 60 lines
Events 2 in 29
Changes 1 in 28
| List | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 |
|---|
| Events | | | | | 1 | | | | | | | 1 | |
|---|
All 2 changes in 17-29