Table
PurchCommitmentHeader_PSN
Purchase commitment
Header record for a purchase commitment, with number, name, vendor, currency, fiscal year and preparer. It also holds a document status and a workflow state. Lines are stored in the commitment line table. Used for public sector.
- Table name
PurchCommitmentHeader_PSN- Module
Budget- Table group
Miscellaneous- Table type
Regular- Data per company
Yes- Configuration key
PurchFrenchRegulatory_PSN- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation
Fields (18)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CommitmentNumberNumber that identifies the purchase commitment. | String (25)PurchCommitmentNumber_PSN | Yes | PurchCommitmentLineEntity | |
CurrencyCodeCurrency of the commitment. | String (3)CurrencyCode | Yes | Currency.CurrencyCode | PurchCommitmentLineEntity |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultAccountingDateDefault accounting date for the commitment. | DateAccountingDate | Yes | PurchCommitmentLineEntity | |
DocumentStatusStatus of the commitment document: none, draft, complete, under revision or closed. | EnumPurchCommitmentDocumentStatus_PSN (enum) | No | None | |
FiscalCalendarYearFiscal year the commitment relates to. | Int64RefRecId | Yes | FiscalCalendarYear.RecId | PurchCommitmentLineEntity |
HcmWorkerWorker who prepared the commitment. | Int64RefRecId | No | HcmWorker.RecId | PurchCommitmentLineEntity |
NameShort name of the commitment. | String (60)PurchCommitmentName_PSN | Yes | PurchCommitmentLineEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ReasonCommentFree-text comment giving the reason for the commitment. | String (255)PurchCommitmentReasonComment_PSN | No | PurchCommitmentLineEntity | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
RefPurchCommitmentHeader_PSNReference to another purchase commitment record.low confidence | Int64RefRecId | No | PurchCommitmentHeader_PSN.RecId | None |
SourceDocumentHeaderReference to the related source document header. | Int64RefRecId | No | SourceDocumentHeader.RecId | None |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
VendorAccountVendor account the commitment is made with. | String (20)VendAccount | No | VendTable.AccountNum | PurchCommitmentLineEntity |
WorkflowApprovalStateApproval state in the workflow: none, not submitted, in review, approved or rejected. | EnumPurchCommitmentWorkflowApprovalState_PSN (enum) | No | None |
Indexes (6)
VendTableIdxNot unique.
SourceDocumentHeaderIdxSourceDocumentHeader,Partition,dataAreaIdNot unique.
CurrencyIdxNot unique.
HcmWorkerIdxNot unique.
CommitmentIdxNot unique.
FiscalCalendarYearIdxNot unique.
Relations (6)
Each relation joins PurchCommitmentHeader_PSN to another table on the fields shown.
Currency→CurrencyJoin on
CurrencyCode = Currency.CurrencyCodeMany PurchCommitmentHeader_PSN records → exactly one Currency record
FiscalCalendarYear→FiscalCalendarYearJoin on
FiscalCalendarYear = FiscalCalendarYear.RecIdMany PurchCommitmentHeader_PSN records → exactly one FiscalCalendarYear record
HcmWorker→HcmWorkerJoin on
HcmWorker = HcmWorker.RecIdMany PurchCommitmentHeader_PSN records → exactly one HcmWorker record
RefPurchCommitmentHeader_PSN→PurchCommitmentHeader_PSNJoin on
RefPurchCommitmentHeader_PSN = PurchCommitmentHeader_PSN.RecIdMany PurchCommitmentHeader_PSN records → zero or one PurchCommitmentHeader_PSN record
SourceDocumentHeader→SourceDocumentHeaderJoin on
SourceDocumentHeader = SourceDocumentHeader.RecIdMany PurchCommitmentHeader_PSN records → zero or one SourceDocumentHeader record
VendTable→VendTableJoin on
VendorAccount = VendTable.AccountNumMany PurchCommitmentHeader_PSN records → zero or one VendTable record
Get this data out
Tables are not exposed directly. These public entities read from PurchCommitmentHeader_PSN; use one of them in Power BI, Power Platform or a data management project.
PurchCommitmentLineEntity· 8 fields from this table
Need help with PurchCommitmentHeader_PSN in a report, an integration or a migration? Talk to Dr Dynamics.