Table "Purch. Cr. Memo Hdr."
Properties
| Name | Value |
|---|---|
| Caption | Purch. Cr. Memo Hdr. |
| DataCaptionFields | 3,79 |
| DrillDownPageID | Page Microsoft.Purchases.History."Posted Purchase Credit Memos" |
| LookupPageID | Page Microsoft.Purchases.History."Posted Purchase Credit Memos" |
| DataClassification | CustomerContent |
Fields
| Name | Type | Description |
|---|---|---|
| "Buy-from Vendor No." | Code[20] | Specifies the number of the vendor that you shipped the items on the credit memo to. |
| "No." | Code[20] | Specifies the posted credit memo number. |
| "Pay-to Vendor No." | Code[20] | Specifies the number of the vendor that you received the credit memo from. |
| "Pay-to Name" | Text[100] | Specifies the name of the vendor that you received the credit memo from. |
| "Pay-to Name 2" | Text[50] | Specifies an additional part of the name of the vendor who you received the credit memo from. |
| "Pay-to Address" | Text[100] | Specifies the address of the vendor that you received the credit memo from. |
| "Pay-to Address 2" | Text[50] | Specifies additional address information. |
| "Pay-to City" | Text[30] | Specifies the city of the vendor on the purchase document. |
| "Pay-to Contact" | Text[100] | Specifies the name of the person you should contact at the vendor who you received the credit memo from. |
| "Your Reference" | Text[35] | |
| "Ship-to Code" | Code[10] | Specifies a code for an alternate shipment address if you want to ship to another address than the one that has been entered automatically. This field is also used in case of drop shipment. |
| "Ship-to Name" | Text[100] | Specifies the name of the customer at the address that the items are shipped to. |
| "Ship-to Name 2" | Text[50] | |
| "Ship-to Address" | Text[100] | Specifies the address that the items in the purchase order were shipped to. |
| "Ship-to Address 2" | Text[50] | Specifies additional address information. |
| "Ship-to City" | Text[30] | Specifies the city of the vendor on the purchase document. |
| "Ship-to Contact" | Text[100] | Specifies the name of a contact person at the address that the items were shipped to. |
| "Posting Date" | Date | Specifies the date the credit memo was posted. |
| "Expected Receipt Date" | Date | |
| "Posting Description" | Text[100] | Specifies any text that is entered to accompany the posting, for example for information to auditors. |
| "Payment Terms Code" | Code[10] | |
| "Due Date" | Date | Specifies when the credit memo is due. The program calculates the date using the Payment Terms Code and Posting Date fields on the purchase header. |
| "Payment Discount %" | Decimal | |
| "Pmt. Discount Date" | Date | |
| "Shipment Method Code" | Code[10] | |
| "Location Code" | Code[10] | Specifies the code for the location used when you posted the credit memo. |
| "Shortcut Dimension 1 Code" | Code[20] | Specifies the code for Shortcut Dimension 1, which is one of two global dimension codes that you set up in the General Ledger Setup window. |
| "Shortcut Dimension 2 Code" | Code[20] | Specifies the code for Shortcut Dimension 2, which is one of two global dimension codes that you set up in the General Ledger Setup window. |
| "Vendor Posting Group" | Code[20] | Specifies the vendor's market type to link business transactions made for the vendor with the appropriate account in the general ledger. |
| "Currency Code" | Code[10] | Specifies the currency code used to calculate the amounts on the credit memo. |
| "Currency Factor" | Decimal | |
| "Prices Including VAT" | Boolean | |
| "Invoice Disc. Code" | Code[20] | |
| "Language Code" | Code[10] | |
| "Format Region" | Text[80] | |
| "Purchaser Code" | Code[20] | Specifies which purchaser is assigned to the vendor. |
| Comment | Boolean | |
| "No. Printed" | Integer | Specifies how many times the document has been printed. |
| "On Hold" | Code[3] | |
| "Applies-to Doc. Type" | Enum Microsoft.Finance.GeneralLedger.Journal."Gen. Journal Document Type" | Specifies the type of the posted document that this document or journal line will be applied to when you post, for example to register payment. |
| "Applies-to Doc. No." | Code[20] | Specifies the number of the posted document that this document or journal line will be applied to when you post, for example to register payment. |
| "Bal. Account No." | Code[20] | |
| Amount | Decimal | Specifies the total, in the currency of the credit memo, of the amounts on all the credit memo lines. |
| "Amount Including VAT" | Decimal | Specifies the total of the amounts, including VAT, on all the lines on the document. |
| "Vendor Cr. Memo No." | Code[35] | Specifies the vendor's number for this credit memo. |
| "VAT Registration No." | Text[20] | |
| "Sell-to Customer No." | Code[20] | |
| "Reason Code" | Code[10] | |
| "Gen. Bus. Posting Group" | Code[20] | |
| "Transaction Type" | Code[10] | |
| "Transport Method" | Code[10] | |
| "VAT Country/Region Code" | Code[10] | |
| "Buy-from Vendor Name" | Text[100] | Specifies the name of the vendor who shipped the items. |
| "Buy-from Vendor Name 2" | Text[50] | Specifies an additional part of the name of the vendor that you’re buying from. |
| "Buy-from Address" | Text[100] | Specifies the address of the vendor who shipped the items. |
| "Buy-from Address 2" | Text[50] | Specifies additional address information. |
| "Buy-from City" | Text[30] | Specifies the city of the vendor on the purchase document. |
| "Buy-from Contact" | Text[100] | Specifies the name of the contact person at the vendor who delivered the items. |
| "Pay-to Post Code" | Code[20] | Specifies the post code of the vendor that you received the invoice from. |
| "Pay-to County" | Text[30] | Specifies the state, province or county as a part of the address. |
| "Pay-to Country/Region Code" | Code[10] | Specifies the country or region of the ship-to address. |
| "Buy-from Post Code" | Code[20] | Specifies the post code of the vendor who delivered the items. |
| "Buy-from County" | Text[30] | Specifies the state, province or county as a part of the address. |
| "Buy-from Country/Region Code" | Code[10] | Specifies the country or region of the ship-to address. |
| "Ship-to Post Code" | Code[20] | Specifies the postal code of the address that the items are shipped to. |
| "Ship-to County" | Text[30] | Specifies the state, province or county as a part of the address. |
| "Ship-to Country/Region Code" | Code[10] | Specifies the country or region of the ship-to address. |
| "Bal. Account Type" | Enum Microsoft.Bank.Payment."Payment Balance Account Type" | |
| "Order Address Code" | Code[10] | Specifies the order address of the related vendor. |
| "Entry Point" | Code[10] | |
| Correction | Boolean | Specifies the entry was posted as a corrective entry. |
| "Document Date" | Date | Specifies the date on which the purchase document was created. |
| "Area" | Code[10] | |
| "Transaction Specification" | Code[10] | |
| "Payment Method Code" | Code[10] | |
| "Pre-Assigned No. Series" | Code[20] | |
| "No. Series" | Code[20] | |
| "Pre-Assigned No." | Code[20] | Specifies the number of the credit memo that the posted credit memo was created from. |
| "User ID" | Code[50] | |
| "Source Code" | Code[10] | |
| "Tax Area Code" | Code[20] | |
| "Tax Liable" | Boolean | |
| "VAT Bus. Posting Group" | Code[20] | |
| "VAT Base Discount %" | Decimal | |
| "Prepmt. Cr. Memo No. Series" | Code[20] | |
| "Prepayment Credit Memo" | Boolean | |
| "Prepayment Order No." | Code[20] | |
| "Spend Request No." | Code[20] | Specifies the spend request that this purchase document relates to. |
| "Spend Request Close" | Boolean | Specifies that the spend request will be closed when the purchase document is posted. |
| "VAT Reporting Date" | Date | Specifies the VAT date on the invoice. |
| "Ship-to Phone No." | Text[30] | Specifies the telephone number of the company's shipping address. |
| "Dimension Set ID" | Integer | |
| Paid | Boolean | Specifies if the posted purchase invoice that relates to this purchase credit memo is paid. The check box will also be selected if a credit memo for the remaining amount has been applied. |
| "Remaining Amount" | Decimal | Specifies the amount that remains to be paid for the posted purchase invoice that relates to this purchase credit memo. |
| "Vendor Ledger Entry No." | Integer | |
| "Invoice Discount Amount" | Decimal | |
| Cancelled | Boolean | Specifies if the posted purchase invoice that relates to this purchase credit memo has been either corrected or canceled. |
| Corrective | Boolean | Specifies if the posted purchase invoice has been either corrected or canceled by this purchase credit memo . |
| "Campaign No." | Code[20] | |
| "Buy-from Contact No." | Code[20] | Specifies the number of the contact who you sent the purchase credit memo to. |
| "Pay-to Contact No." | Code[20] | Specifies the number of the contact at the vendor who handles the credit memo. |
| "Responsibility Center" | Code[10] | Specifies the code for the responsibility center that serves the vendor on this purchase document. |
| "Return Order No." | Code[20] | |
| "Return Order No. Series" | Code[20] | |
| "Price Calculation Method" | Enum Microsoft.Pricing.Calculation."Price Calculation Method" | |
| "Draft Cr. Memo SystemId" | Guid | |
| SystemId | Guid | |
| SystemCreatedAt | DateTime | |
| SystemCreatedBy | Guid | |
| SystemModifiedAt | DateTime | |
| SystemModifiedBy | Guid | |
| SystemCreatedByUserName | Text[50] | |
| SystemCreatedByFullName | Text[80] | |
| SystemModifiedByUserName | Text[50] | |
| SystemModifiedByFullName | Text[80] | |
| SystemRowVersion | BigInteger |
Methods
PrintRecords
procedure PrintRecords(ShowRequestPage: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| ShowRequestPage | Boolean |
PrintToDocumentAttachment
procedure PrintToDocumentAttachment(var PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr.")
Parameters
| Name | Type | Description |
|---|---|---|
| PurchCrMemoHdr | Table Microsoft.Purchases.History."Purch. Cr. Memo Hdr." |
Navigate
procedure Navigate()
ShowDimensions
procedure ShowDimensions()
SetSecurityFilterOnRespCenter
procedure SetSecurityFilterOnRespCenter()
ShowCanceledOrCorrInvoice
procedure ShowCanceledOrCorrInvoice()
ShowCorrectiveInvoice
procedure ShowCorrectiveInvoice()
ShowCancelledInvoice
procedure ShowCancelledInvoice()
Events
OnBeforePrintRecords
[IntegrationEvent(False,False)]
local procedure OnBeforePrintRecords(var PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr."; ShowRequestPage: Boolean; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| PurchCrMemoHdr | Table Microsoft.Purchases.History."Purch. Cr. Memo Hdr." | |
| ShowRequestPage | Boolean | |
| IsHandled | Boolean |
OnBeforeSetSecurityFilterOnRespCenter
[IntegrationEvent(False,False)]
local procedure OnBeforeSetSecurityFilterOnRespCenter(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 |
OnLookupAppliesToDocNoOnAfterSetFilters
[IntegrationEvent(False,False)]
local procedure OnLookupAppliesToDocNoOnAfterSetFilters(var VendLedgEntry: Record "Vendor Ledger Entry"; PurchCrMemoHeader: Record "Purch. Cr. Memo Hdr.")
Parameters
| Name | Type | Description |
|---|---|---|
| VendLedgEntry | Table Microsoft.Purchases.Payables."Vendor Ledger Entry" | |
| PurchCrMemoHeader | Table Microsoft.Purchases.History."Purch. Cr. Memo Hdr." |
OnBeforeDoPrintToDocumentAttachment
[IntegrationEvent(False,False)]
local procedure OnBeforeDoPrintToDocumentAttachment(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 |
OnShowCorrectiveInvoiceOnBeforeOpenPage
[IntegrationEvent(False,False)]
local procedure OnShowCorrectiveInvoiceOnBeforeOpenPage(var PurchInvHeader: Record "Purch. Inv. Header"; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| PurchInvHeader | Table Microsoft.Purchases.History."Purch. Inv. Header" | |
| IsHandled | Boolean |
OnShowCancelledInvoiceOnBeforeOpenPage
[IntegrationEvent(False,False)]
local procedure OnShowCancelledInvoiceOnBeforeOpenPage(var PurchInvHeader: Record "Purch. Inv. Header"; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| PurchInvHeader | Table Microsoft.Purchases.History."Purch. Inv. Header" | |
| IsHandled | Boolean |