Codeunit "Cancel PstdPurchInv (Yes/No)"
ID 1325
Namespace: Microsoft.Purchases.History
Properties
| Name | Value |
|---|---|
| Permissions | TableData "Purch. Inv. Header" = rm, TableData "Purch. Cr. Memo Hdr." = rm |
| TableNo | Table Microsoft.Purchases.History."Purch. Inv. Header" |
Methods
CancelInvoice
procedure CancelInvoice(var PurchInvHeader: Record "Purch. Inv. Header"): Boolean
Parameters
| Name | Type | Description |
|---|---|---|
| PurchInvHeader | Table Microsoft.Purchases.History."Purch. Inv. Header" |
Returns
| Type | Description |
|---|---|
| Boolean |
Events
OnBeforeShowPostedPurchaseCreditMemo
[IntegrationEvent(False,False)]
local procedure OnBeforeShowPostedPurchaseCreditMemo(var PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr.", var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| PurchCrMemoHdr | Table Microsoft.Purchases.History."Purch. Cr. Memo Hdr." | |
| IsHandled | Boolean |