tablePurchasing & Payablesofficial - Microsoftderived - from the source, no model text

Table 124 "Purch. Cr. Memo Hdr."

Base Application · Microsoft.Purchases.History

Across versions

  1. BC23present
  2. BC241 fields changed
  3. BC251 fields added
  4. BC262 fields changed
  5. BC272 fields changed
  6. BC2858 fields changed
  7. BC292 fields added
  8. BC30unchanged

Neighbourhood 67 connected objects and pages

Table 225 "Post Code" (relates to, 6 links)Post CodeTable 308 "No. Series" (relates to, 4 links)No. SeriesTable 9 "Country/Region" (relates to, 4 links)Table 125 "Purch. Cr. Memo Line" (relates to, 3 links)Table 1900 "Cancelled Document" (relates to, 2 links)Cancelled DocumentTable 23 "Vendor" (relates to, 2 links)VendorTable 25 "Vendor Ledger Entry" (relates to, 2 links)Vendor Ledger EntryTable 349 "Dimension Value" (relates to, 2 links)Dimension ValueTable 5050 "Contact" (relates to, 2 links)Table 10 "Shipment Method" (relates to)Shipment MethodTable 13 "Salesperson/Purchaser" (relates to)Table 14 "Location" (relates to)LocationTable 15 "G/L Account" (relates to)Table 18 "Customer" (relates to)Table 222 "Ship-to Address" (relates to)Table 224 "Order Address" (relates to)Page 147 "Posted Purchase Credit Memos" (pages and codeunits on it, 3 links)Posted Purchase Credit MemosCodeunit 1401 "Cancel PstdPurchCrM (Yes/No)" (pages and codeunits on it)Codeunit 1402 "Cancel Posted Purch. Cr. Memo" (pages and codeunits on it)Codeunit 1404 "Purch. Cr. Memo. Hdr. - Edit" (pages and codeunits on it)Codeunit 320 "PurchCrMemo-Printed" (pages and codeunits on it)Page 1357 "Pstd. Purch. Cr.Memo - Update" (pages and codeunits on it)Page 140 "Posted Purchase Credit Memo" (pages and codeunits on it)Page 401 "Purch. Credit Memo Statistics" (pages and codeunits on it)Table extension 4882 "EU3 Purch. Cr. Memo Hdr." (extended by)Table extension 5030 "SD Purch. Cr.Memo Header" (extended by)Codeunit 5511 "Graph Mgt - Purch. Cr. Memo" (event subscribers, 4 links)Graph Mgt - Purch. Cr. MemoCodeunit 1173 "Document Attachment Mgmt" (event subscribers)Codeunit 364 "PostPurch-Delete" (calls, 2 links)PostPurch-DeletePage 138 "Posted Purchase Invoice" (calls, 2 links)Posted Purchase InvoiceCodeunit 1535 "Approvals Mgmt." (calls)Codeunit 408 "DimensionManagement" (calls)Codeunit 5700 "User Setup Management" (calls)Table 1900 "Cancelled Document" (referenced by, 2 links)Cancelled DocumentTable 23 "Vendor" (referenced by, 2 links)VendorTable 125 "Purch. Cr. Memo Line" (referenced by)Amend or cancel unpaid purchase invoices (Learn pages)Process returns or cancellations (Learn pages)Record purchases with purchase invoices (Learn pages)Record sustainability entries (Learn pages)

Open in the neighbourhood explorer

One hop out, from the extracted relations and call graph. Up to 40 shown; the sections below list them all.

Base Application · Microsoft.Purchases.History · BC23-30 · source at ea08af5e · facts from BC29

Learn documents this table through its pages: Page 140 “Posted Purchase Credit Memo” (2 Learn pages), Page 147 “Posted Purchase Credit Memos” (2).

Properties

Property Value
Caption Purch. Cr. Memo Hdr.
DataClassification CustomerContent

Fields

Explanation: the field’s ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

No. Name Type Explanation Notes
2 Buy-from Vendor No. Δ BC26 Code[20] Specifies the number of the vendor that you shipped the items on the credit memo to. TableRelation Table 23 “Vendor”; NotBlank
3 No. Δ BC28 Code[20] Specifies the posted credit memo number.
4 Pay-to Vendor No. Δ BC26 Code[20] Specifies the number of the vendor that you received the credit memo from. TableRelation Table 23 “Vendor”; NotBlank
5 Pay-to Name Δ BC28 Text[100] Specifies the name of the vendor that you received the credit memo from.
6 Pay-to Name 2 Δ BC27 Text[50] Specifies an additional part of the name of the vendor who you received the credit memo from.
7 Pay-to Address Δ BC28 Text[100] Specifies the address of the vendor that you received the credit memo from.
8 Pay-to Address 2 Δ BC28 Text[50] Specifies additional address information.
9 Pay-to City Δ BC28 Text[30] Specifies the city of the vendor on the purchase document. TableRelation Table 225 “Post Code” (“Post Code”.City)
10 Pay-to Contact Δ BC28 Text[100] Specifies the name of the person you should contact at the vendor who you received the credit memo from.
11 Your Reference Text[35] —
12 Ship-to Code Δ BC28 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. TableRelation Table 222 “Ship-to Address” (“Ship-to Address”.Code where(“Customer No.” = field(“Sell-to Customer No.”)))
13 Ship-to Name Δ BC28 Text[100] Specifies the name of the customer at the address that the items are shipped to.
14 Ship-to Name 2 Text[50] —
15 Ship-to Address Δ BC28 Text[100] Specifies the address that the items in the purchase order were shipped to.
16 Ship-to Address 2 Δ BC28 Text[50] Specifies additional address information.
17 Ship-to City Δ BC28 Text[30] Specifies the city of the vendor on the purchase document. TableRelation Table 225 “Post Code” (“Post Code”.City)
18 Ship-to Contact Δ BC28 Text[100] Specifies the name of a contact person at the address that the items were shipped to.
20 Posting Date Δ BC28 Date Specifies the date the credit memo was posted.
21 Expected Receipt Date Date —
22 Posting Description Δ BC28 Text[100] Specifies any text that is entered to accompany the posting, for example for information to auditors.
23 Payment Terms Code Code[10] — TableRelation Table 3 “Payment Terms” (Payment Terms)
24 Due Date Δ BC28 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.
25 Payment Discount % Δ BC28 Decimal —
26 Pmt. Discount Date Date —
27 Shipment Method Code Code[10] — TableRelation Table 10 “Shipment Method” (Shipment Method)
28 Location Code Δ BC28 Code[10] Specifies the code for the location used when you posted the credit memo. TableRelation Table 14 “Location” (Location where(“Use As In-Transit” = const(false)))
29 Shortcut Dimension 1 Code Δ BC28 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. TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code where(“Global Dimension No.” = const(1)))
30 Shortcut Dimension 2 Code Δ BC28 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. TableRelation Table 349 “Dimension Value” (“Dimension Value”.Code where(“Global Dimension No.” = const(2)))
31 Vendor Posting Group Δ BC28 Code[20] Specifies the vendor’s market type to link business transactions made for the vendor with the appropriate account in the general ledger. TableRelation Table 93 “Vendor Posting Group” (Vendor Posting Group); not editable
32 Currency Code Δ BC28 Code[10] Specifies the currency code used to calculate the amounts on the credit memo. TableRelation Table 4 “Currency”; not editable
33 Currency Factor Δ BC28 Decimal —
35 Prices Including VAT Boolean —
37 Invoice Disc. Code Code[20] —
41 Language Code Code[10] — TableRelation Table 8 “Language”
42 Format Region Text[80] — TableRelation “Language Selection”.“Language Tag”
43 Purchaser Code Δ BC28 Code[20] Specifies which purchaser is assigned to the vendor. TableRelation Table 13 “Salesperson/Purchaser” (Salesperson/Purchaser)
46 Comment Boolean — FlowField: exist(“Purch. Comment Line” where(“Document Type” = const(“Posted Credit Memo”), “No.” = field(“No.”), “Document Line No.” = const(0))); not editable
47 No. Printed Δ BC28 Integer Specifies how many times the document has been printed. not editable
51 On Hold Code[3] —
52 Applies-to Doc. Type Δ BC28 Enum “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. enum Enum 6 “Gen. Journal Document Type”
53 Applies-to Doc. No. Δ BC28 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.
55 Bal. Account No. Code[20] — TableRelation Table 15 “G/L Account”, Table 270 “Bank Account” (if (“Bal. Account Type” = const(“G/L Account”)) “G/L Account” else if (“Bal. Account Type” = const(“Bank Account”)) “Bank Account”)
60 Amount Δ BC28 Decimal Specifies the total, in the currency of the credit memo, of the amounts on all the credit memo lines. FlowField: sum(“Purch. Cr. Memo Line”.Amount where(“Document No.” = field(“No.”))); not editable
61 Amount Including VAT Δ BC28 Decimal Specifies the total of the amounts, including VAT, on all the lines on the document. FlowField: sum(“Purch. Cr. Memo Line”.“Amount Including VAT” where(“Document No.” = field(“No.”))); not editable
69 Vendor Cr. Memo No. Δ BC28 Code[35] Specifies the vendor’s number for this credit memo.
70 VAT Registration No. Text[20] —
72 Sell-to Customer No. Code[20] — TableRelation Table 18 “Customer”
73 Reason Code Code[10] — TableRelation Table 231 “Reason Code” (Reason Code)
74 Gen. Bus. Posting Group Code[20] — TableRelation Table 250 “Gen. Business Posting Group” (Gen. Business Posting Group)
76 Transaction Type Code[10] — TableRelation Table 258 “Transaction Type” (Transaction Type)
77 Transport Method Code[10] — TableRelation Table 259 “Transport Method” (Transport Method)
78 VAT Country/Region Code Code[10] — TableRelation Table 9 “Country/Region” (Country/Region)
79 Buy-from Vendor Name Δ BC28 Text[100] Specifies the name of the vendor who shipped the items.
80 Buy-from Vendor Name 2 Δ BC27 Text[50] Specifies an additional part of the name of the vendor that you’re buying from.
81 Buy-from Address Δ BC28 Text[100] Specifies the address of the vendor who shipped the items.
82 Buy-from Address 2 Δ BC28 Text[50] Specifies additional address information.
83 Buy-from City Δ BC28 Text[30] Specifies the city of the vendor on the purchase document. TableRelation Table 225 “Post Code” (“Post Code”.City)
84 Buy-from Contact Δ BC28 Text[100] Specifies the name of the contact person at the vendor who delivered the items.
85 Pay-to Post Code Δ BC28 Code[20] Specifies the post code of the vendor that you received the invoice from. TableRelation Table 225 “Post Code” (Post Code)
86 Pay-to County Δ BC28 Text[30] Specifies the state, province or county as a part of the address.
87 Pay-to Country/Region Code Δ BC28 Code[10] Specifies the country or region of the ship-to address. TableRelation Table 9 “Country/Region” (Country/Region)
88 Buy-from Post Code Δ BC28 Code[20] Specifies the post code of the vendor who delivered the items. TableRelation Table 225 “Post Code” (Post Code)
89 Buy-from County Δ BC28 Text[30] Specifies the state, province or county as a part of the address.
90 Buy-from Country/Region Code Δ BC28 Code[10] Specifies the country or region of the ship-to address. TableRelation Table 9 “Country/Region” (Country/Region)
91 Ship-to Post Code Δ BC28 Code[20] Specifies the postal code of the address that the items are shipped to. TableRelation Table 225 “Post Code” (Post Code)
92 Ship-to County Δ BC28 Text[30] Specifies the state, province or county as a part of the address.
93 Ship-to Country/Region Code Δ BC28 Code[10] Specifies the country or region of the ship-to address. TableRelation Table 9 “Country/Region” (Country/Region)
94 Bal. Account Type enum “Payment Balance Account Type” — enum Enum 96 “Payment Balance Account Type”
95 Order Address Code Δ BC28 Code[10] Specifies the order address of the related vendor. TableRelation Table 224 “Order Address” (“Order Address”.Code where(“Vendor No.” = field(“Buy-from Vendor No.”)))
97 Entry Point Code[10] — TableRelation Table 282 “Entry/Exit Point” (Entry/Exit Point)
98 Correction Δ BC28 Boolean Specifies the entry was posted as a corrective entry.
99 Document Date Δ BC28 Date Specifies the date on which the purchase document was created.
101 Area Code[10] — TableRelation Table 284 “Area”
102 Transaction Specification Code[10] — TableRelation Table 285 “Transaction Specification” (Transaction Specification)
104 Payment Method Code Code[10] — TableRelation Table 289 “Payment Method” (Payment Method)
107 Pre-Assigned No. Series Code[20] — TableRelation Table 308 “No. Series” (No. Series)
108 No. Series Code[20] — TableRelation Table 308 “No. Series” (No. Series); not editable
111 Pre-Assigned No. Δ BC28 Code[20] Specifies the number of the credit memo that the posted credit memo was created from.
112 User ID Code[50] — TableRelation User.“User Name”; DataClassification EndUserIdentifiableInformation
113 Source Code Code[10] — TableRelation Table 230 “Source Code” (Source Code)
114 Tax Area Code Code[20] — TableRelation Table 318 “Tax Area” (Tax Area)
115 Tax Liable Boolean —
116 VAT Bus. Posting Group Code[20] — TableRelation Table 323 “VAT Business Posting Group” (VAT Business Posting Group)
119 VAT Base Discount % Δ BC28 Decimal —
138 Prepmt. Cr. Memo No. Series Code[20] — TableRelation Table 308 “No. Series” (No. Series)
140 Prepayment Credit Memo Boolean —
141 Prepayment Order No. Code[20] —
146 Spend Request No. + BC29 Code[20] Specifies the spend request that this purchase document relates to. TableRelation Table 6840 “Spend Request” (Spend Request)
147 Spend Request Close + BC29 Boolean Specifies that the spend request will be closed when the purchase document is posted.
179 VAT Reporting Date Δ BC28 Date Specifies the VAT date on the invoice. not editable
210 Ship-to Phone No. + BC25 Δ BC28 Text[30] Specifies the telephone number of the company’s shipping address.
480 Dimension Set ID Integer — TableRelation Table 480 “Dimension Set Entry” (Dimension Set Entry); not editable
1302 Paid Δ BC24 Δ BC28 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. FlowField: - exist(“Vendor Ledger Entry” where(“Entry No.” = field(“Vendor Ledger Entry No.”), Open = filter(true))); not editable
1303 Remaining Amount Δ BC28 Decimal Specifies the amount that remains to be paid for the posted purchase invoice that relates to this purchase credit memo. FlowField: - sum(“Detailed Vendor Ledg. Entry”.Amount where(“Vendor Ledger Entry No.” = field(“Vendor Ledger Entry No.”))); not editable
1304 Vendor Ledger Entry No. Integer — TableRelation Table 25 “Vendor Ledger Entry” (“Vendor Ledger Entry”.“Entry No.”); not editable
1305 Invoice Discount Amount Δ BC28 Decimal — FlowField: sum(“Purch. Cr. Memo Line”.“Inv. Discount Amount” where(“Document No.” = field(“No.”))); not editable
1310 Cancelled Δ BC28 Boolean Specifies if the posted purchase invoice that relates to this purchase credit memo has been either corrected or canceled. FlowField: exist(“Cancelled Document” where(“Source ID” = const(124), “Cancelled Doc. No.” = field(“No.”))); not editable
1311 Corrective Δ BC28 Boolean Specifies if the posted purchase invoice has been either corrected or canceled by this purchase credit memo . FlowField: exist(“Cancelled Document” where(“Source ID” = const(122), “Cancelled By Doc. No.” = field(“No.”))); not editable
5050 Campaign No. Code[20] — TableRelation Table 5071 “Campaign”
5052 Buy-from Contact No. Δ BC28 Code[20] Specifies the number of the contact who you sent the purchase credit memo to. TableRelation Table 5050 “Contact”
5053 Pay-to Contact No. Δ BC28 Code[20] Specifies the number of the contact at the vendor who handles the credit memo. TableRelation Table 5050 “Contact”
5700 Responsibility Center Δ BC28 Code[10] Specifies the code for the responsibility center that serves the vendor on this purchase document. TableRelation Table 5714 “Responsibility Center” (Responsibility Center)
6601 Return Order No. Code[20] —
6602 Return Order No. Series Code[20] — TableRelation Table 308 “No. Series” (No. Series)
7000 Price Calculation Method Enum “Price Calculation Method” — enum Enum 7000 “Price Calculation Method”
8001 Draft Cr. Memo SystemId Guid Draft Cr. Memo System Id caption DataClassification SystemMetadata

Keys

  • Key1: No. (clustered)
  • Key2: Pre-Assigned No.
  • Key3: Vendor Cr. Memo No., Posting Date
  • Key4: Return Order No.
  • Key5: Buy-from Vendor No.
  • Key6: Prepayment Order No.
  • Key7: Pay-to Vendor No.
  • Key8: Posting Date

Events published

  • OnBeforePrintRecords(var PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr."; ShowRequestPage: Boolean; var IsHandled: Boolean) (integration)
  • OnBeforeSetSecurityFilterOnRespCenter(var PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr."; var IsHandled: Boolean) (integration)
  • OnLookupAppliesToDocNoOnAfterSetFilters(var VendLedgEntry: Record "Vendor Ledger Entry"; PurchCrMemoHeader: Record "Purch. Cr. Memo Hdr.") (integration)
  • OnBeforeDoPrintToDocumentAttachment(var PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr."; var IsHandled: Boolean) (integration)
  • OnShowCorrectiveInvoiceOnBeforeOpenPage(var PurchInvHeader: Record "Purch. Inv. Header"; var IsHandled: Boolean) (integration)
  • OnShowCancelledInvoiceOnBeforeOpenPage(var PurchInvHeader: Record "Purch. Inv. Header"; var IsHandled: Boolean) (integration)

Trigger event subscribers

Procedures

  • PrintRecords(ShowRequestPage: Boolean)
  • PrintToDocumentAttachment(var PurchCrMemoHdr: Record "Purch. Cr. Memo Hdr.")
  • Navigate()
  • ShowDimensions()
  • SetSecurityFilterOnRespCenter()
  • ShowCanceledOrCorrInvoice()
  • ShowCorrectiveInvoice()
  • ShowCancelledInvoice()

Plus 1 local procedures.

Triggers

OnDelete

Relations

Referenced by

7 fields in 5 objects relate to this table (TableRelation or CalcFormula).

Pages and codeunits on this table

Extended by

Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.

Recent changes

Countries that replace it

AT, AU, BE, CA, CH, DE, ES, IT, MX, NL, NZ, RU, SE, US

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "table", object_name: "Purch. Cr. Memo Hdr."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

Evidence 1 sources