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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CommitmentNumberNumber that identifies the purchase commitment.String (25)
PurchCommitmentNumber_PSN
YesPurchCommitmentLineEntity
CurrencyCodeCurrency of the commitment.String (3)
CurrencyCode
YesCurrency.CurrencyCodePurchCommitmentLineEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultAccountingDateDefault accounting date for the commitment.Date
AccountingDate
YesPurchCommitmentLineEntity
DocumentStatusStatus of the commitment document: none, draft, complete, under revision or closed.Enum
PurchCommitmentDocumentStatus_PSN (enum)
NoNone
FiscalCalendarYearFiscal year the commitment relates to.Int64
RefRecId
YesFiscalCalendarYear.RecIdPurchCommitmentLineEntity
HcmWorkerWorker who prepared the commitment.Int64
RefRecId
NoHcmWorker.RecIdPurchCommitmentLineEntity
NameShort name of the commitment.String (60)
PurchCommitmentName_PSN
YesPurchCommitmentLineEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ReasonCommentFree-text comment giving the reason for the commitment.String (255)
PurchCommitmentReasonComment_PSN
NoPurchCommitmentLineEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
RefPurchCommitmentHeader_PSNReference to another purchase commitment record.low confidenceInt64
RefRecId
NoPurchCommitmentHeader_PSN.RecIdNone
SourceDocumentHeaderReference to the related source document header.Int64
RefRecId
NoSourceDocumentHeader.RecIdNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
VendorAccountVendor account the commitment is made with.String (20)
VendAccount
NoVendTable.AccountNumPurchCommitmentLineEntity
WorkflowApprovalStateApproval state in the workflow: none, not submitted, in review, approved or rejected.Enum
PurchCommitmentWorkflowApprovalState_PSN (enum)
NoNone

Indexes (6)

Relations (6)

Each relation joins PurchCommitmentHeader_PSN to another table on the fields shown.

  • Currency → Currency

    Join on CurrencyCode = Currency.CurrencyCode

    Many PurchCommitmentHeader_PSN records → exactly one Currency record

  • FiscalCalendarYear → FiscalCalendarYear

    Join on FiscalCalendarYear = FiscalCalendarYear.RecId

    Many PurchCommitmentHeader_PSN records → exactly one FiscalCalendarYear record

  • HcmWorker → HcmWorker

    Join on HcmWorker = HcmWorker.RecId

    Many PurchCommitmentHeader_PSN records → exactly one HcmWorker record

  • RefPurchCommitmentHeader_PSN → PurchCommitmentHeader_PSN

    Join on RefPurchCommitmentHeader_PSN = PurchCommitmentHeader_PSN.RecId

    Many PurchCommitmentHeader_PSN records → zero or one PurchCommitmentHeader_PSN record

  • SourceDocumentHeader → SourceDocumentHeader

    Join on SourceDocumentHeader = SourceDocumentHeader.RecId

    Many PurchCommitmentHeader_PSN records → zero or one SourceDocumentHeader record

  • VendTable → VendTable

    Join on VendorAccount = VendTable.AccountNum

    Many 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.

Need help with PurchCommitmentHeader_PSN in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk