Table of Contents

Table "Purch. Rcpt. Header"

ID 120
Namespace: Microsoft.Purchases.History

Properties

Name Value
Caption Purch. Rcpt. Header
DataCaptionFields 3,79
DrillDownPageID Page Microsoft.Purchases.History."Posted Purchase Receipts"
LookupPageID Page Microsoft.Purchases.History."Posted Purchase Receipts"
DataClassification CustomerContent

Fields

Name Type Description
"Buy-from Vendor No." Code[20]

Specifies the name of the vendor who delivered the items.

"No." Code[20]

Specifies the number of a general ledger account, item, additional cost, or fixed asset, depending on what you selected in the Type field.

"Pay-to Vendor No." Code[20]

Specifies the number of the vendor that you receiv or received the invoice from.

"Pay-to Name" Text[100]

Specifies the name of the vendor who you received the invoice from.

"Pay-to Name 2" Text[50]

Specifies an additional part of the name of the vendor who you receive or received the invoice from.

"Pay-to Address" Text[100]

Specifies the address of the vendor that you received the invoice from.

"Pay-to Address 2" Text[50]

Specifies an additional part of the address of the vendor that the invoice was received from.

"Pay-to City" Text[30]

Specifies the city of the vendor that you received the invoice from.

"Pay-to Contact" Text[100]

Specifies the name of the person to contact about an invoice from this vendor.

"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 that items on the purchase order were shipped to, as a drop shipment.

"Ship-to Name 2" Text[50]

Specifies an additional part of the name of the customer that items on the purchase order were shipped to, as a drop shipment.

"Ship-to Address" Text[100]

Specifies the address that items on the purchase order were shipped to, as a drop shipment..

"Ship-to Address 2" Text[50]

Specifies an additional part of the ship-to address, in case it is a long address.

"Ship-to City" Text[30]

Specifies the city of the address that the items are shipped to.

"Ship-to Contact" Text[100]

Specifies the contact person at the customer that items on the purchase order were shipped to, as a drop shipment.

"Order Date" Date
"Posting Date" Date

Specifies the date the purchase header was posted.

"Expected Receipt Date" Date

Specifies the date you expect the items to be available in your warehouse. If you leave the field blank, it will be calculated as follows: Planned Receipt Date + Safety Lead Time + Inbound Warehouse Handling Time = Expected Receipt Date.

"Posting Description" Text[100]
"Payment Terms Code" Code[10]
"Due Date" Date
"Payment Discount %" Decimal
"Pmt. Discount Date" Date
"Shipment Method Code" Code[10]

Specifies the delivery conditions of the related shipment, such as free on board (FOB).

"Location Code" Code[10]

Specifies a code for the location where you want the items to be placed when they are received.

"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]
"Currency Code" Code[10]
"Currency Factor" Decimal
"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.

"Order No." Code[20]

Specifies the line number of the order that created the entry.

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"
"Applies-to Doc. No." Code[20]
"Bal. Account No." Code[20]
"Vendor Order No." Code[35]

Specifies the vendor's order number.

"Vendor Shipment No." Code[35]

Specifies the vendor's shipment number. It is inserted in the corresponding field on the source document during posting.

"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 delivered 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 delivered the items.

"Buy-from Address 2" Text[50]

Specifies an additional part of the address of the vendor who delivered the items.

"Buy-from City" Text[30]

Specifies the city of the vendor who delivered the items.

"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 related to the posted purchase order.

"Pay-to Country/Region Code" Code[10]

Specifies the country or region of the vendor on the purchase document.

"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 related to the posted purchase order.

"Buy-from Country/Region Code" Code[10]

Specifies the country or region of the address.

"Ship-to Post Code" Code[20]

Specifies the post code that items on the purchase order were shipped to, as a drop shipment.

"Ship-to County" Text[30]

Specifies the state, province or county related to the posted purchase order.

"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
"Document Date" Date

Specifies the date when the related document was created.

"Area" Code[10]
"Transaction Specification" Code[10]
"Payment Method Code" Code[10]
"No. Series" Code[20]
"Order No. Series" Code[20]
"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
"Quote No." Code[20]

Specifies the quote number for the posted purchase receipt.

"Ship-to Phone No." Text[30]

Specifies the telephone number of the company's shipping address.

"Dimension Set ID" Integer
"Campaign No." Code[20]
"Buy-from Contact No." Code[20]

Specifies the number of the contact person at the vendor who delivered the items.

"Pay-to Contact no." Code[20]

Specifies the number of the person to contact about an invoice from this vendor.

"Responsibility Center" Code[10]

Specifies the responsibility center code that is linked to this posted return receipt.

"Requested Receipt Date" Date

Specifies the date that you want the vendor to deliver to the ship-to address. The value in the field is used to calculate the latest date you can order the items to have them delivered on the requested receipt date. If you do not need delivery on a specific date, you can leave the field blank.

"Promised Receipt Date" Date

Specifies the date that the vendor has promised to deliver the order.

"Lead Time Calculation" DateFormula

Specifies a date formula for the amount of time it takes to replenish the item.

"Inbound Whse. Handling Time" DateFormula

Specifies the time it takes to make items part of available inventory, after the items have been posted as received.

"Price Calculation Method" Enum Microsoft.Pricing.Calculation."Price Calculation Method"
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(ShowRequestForm: Boolean)

Parameters

Name Type Description
ShowRequestForm Boolean

Navigate

procedure Navigate()

ShowDimensions

procedure ShowDimensions()

SetSecurityFilterOnRespCenter

procedure SetSecurityFilterOnRespCenter()

Events

OnLookupAppliesToDocNoOnAfterSetFilters

[IntegrationEvent(False,False)]
local procedure OnLookupAppliesToDocNoOnAfterSetFilters(var VendLedgEntry: Record "Vendor Ledger Entry"; PurchRcptHeader: Record "Purch. Rcpt. Header")

Parameters

Name Type Description
VendLedgEntry Table Microsoft.Purchases.Payables."Vendor Ledger Entry"
PurchRcptHeader Table Microsoft.Purchases.History."Purch. Rcpt. Header"

OnBeforePrintRecords

[IntegrationEvent(False,False)]
local procedure OnBeforePrintRecords(var PurchRcptHeader: Record "Purch. Rcpt. Header"; ShowRequestPage: Boolean; var IsHandled: Boolean)

Parameters

Name Type Description
PurchRcptHeader Table Microsoft.Purchases.History."Purch. Rcpt. Header"
ShowRequestPage Boolean
IsHandled Boolean

OnBeforeSetSecurityFilterOnRespCenter

[IntegrationEvent(False,False)]
local procedure OnBeforeSetSecurityFilterOnRespCenter(var PurchRcptHeader: Record "Purch. Rcpt. Header"; var IsHandled: Boolean)

Parameters

Name Type Description
PurchRcptHeader Table Microsoft.Purchases.History."Purch. Rcpt. Header"
IsHandled Boolean

See also