Codeunit "Correct PstdPurchInv (Yes/No)"
ID 1324
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
CorrectInvoice
procedure CorrectInvoice(var PurchInvHeader: Record "Purch. Inv. Header"): Boolean
Parameters
| Name | Type | Description |
|---|---|---|
| PurchInvHeader | Table Microsoft.Purchases.History."Purch. Inv. Header" |
Returns
| Type | Description |
|---|---|
| Boolean |
Events
OnCancelPostedInvoiceOnBeforeShowPurchaseInvoice
[IntegrationEvent(False,False)]
local procedure OnCancelPostedInvoiceOnBeforeShowPurchaseInvoice(var PurchaseHeader: Record "Purchase Header", var IsHandled: Boolean, PurchInvHeader: Record "Purch. Inv. Header")
Parameters
| Name | Type | Description |
|---|---|---|
| PurchaseHeader | Table Microsoft.Purchases.Document."Purchase Header" | |
| IsHandled | Boolean | |
| PurchInvHeader | Table Microsoft.Purchases.History."Purch. Inv. Header" |