Table

CatProcurementCache

Procurement cache

Keeps cached procurement details for each signed-in user. It stores the requisitioner, their department and employer, and a preview catalog. It also holds some order quantity and external site options. The key is the user ID.

Table name
CatProcurementCache
Module
Procurement and sourcing
Table group
Main
Table type
Regular
Data per company
No
Configuration key
LogisticsBasic
Primary index
None
Replacement key
LogonUserIdIdx
Key fields
LogonUserId
Model
Foundation

Fields (16)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
LogonUserIdThe ID of the user who is signed in. It is the key.String
UserId
YesNone
AskBeforeLaunchingExternalCatalogSiteYes or No option to be asked before an external catalog site is opened.Enum
NoYesId
NoYes (enum)
NoNone
DepartmentNameThe name of the department.String (160)
DirPartyName
NoNone
DepartmentRecIdThe operating unit that is the department.Int64
RefRecId
NoOMOperatingUnit.RecIdNone
EmployerDataAreaIdThe company (legal entity) of the employer.String
DataAreaId
NoNone
EmployerRecIdThe legal entity that is the employer.Int64
RefRecId
NoCompanyInfo.RecIdNone
IgnoreMaximumOrderQuantitySetupYes or No option to ignore the maximum order quantity setup.Enum
NoYes (enum)
NoNone
IgnoreMinimumOrderQuantitySetupYes or No option to ignore the minimum order quantity setup.Enum
NoYes (enum)
NoNone
IgnoreMultipleOrderQuantitySetupYes or No option to ignore the multiple order quantity setup.Enum
NoYes (enum)
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PreviewCatalogRecIdThe procurement catalog used for preview.Int64
RefRecId
NoCatProcureCatalogTable.RecIdNone
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
RequisitionerNameThe name of the requisitioner.String (160)
DirPartyName
NoNone
RequisitionerRecIdThe worker who is the requisitioner.Int64
RefRecId
NoHcmWorker.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

  • LogonUserIdIdxReplacement key

    LogonUserId

    Unique, alternate key.

Relations (6)

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

  • CatProcureCatalogTable → CatProcureCatalogTable

    Join on PreviewCatalogRecId = CatProcureCatalogTable.RecId

    One or more CatProcurementCache records → zero or one CatProcureCatalogTable record

  • CompanyInfo → CompanyInfo

    Join on EmployerRecId = CompanyInfo.RecId

    Many CatProcurementCache records → zero or one CompanyInfo record

  • DataArea → DataArea

    Join on EmployerDataAreaId = DataArea.id

    Many CatProcurementCache records → zero or one DataArea record

  • HcmWorker → HcmWorker

    Join on RequisitionerRecId = HcmWorker.RecId

    Many CatProcurementCache records → zero or one HcmWorker record

  • OMOperatingUnit → OMOperatingUnit

    Join on DepartmentRecId = OMOperatingUnit.RecId

    Many CatProcurementCache records → zero or one OMOperatingUnit record

  • UserInfo → UserInfo

    Join on LogonUserId = UserInfo.id

    Zero or one CatProcurementCache record → exactly one UserInfo record

Get this data out

No public entity reads from CatProcurementCache. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk