Price Record (PR) (Promotions)

Price Record is used in two contexts – in Quotes and also in Promotions. Most of the fields are used in both contexts, but some are specific to only one of these.

A price record:

  • Represents one contract line item.

  • Is automatically created from a Contract Line Item once the contract gets to the state Approved.

  • Is usually used as an export format for external systems because it has a simpler structure than a Contract Line Item (CTLI).

Fields

  • id – ID of the record.

  • sourceId – Unique name of the contract document.

  • lineId – Line number of the contract line item.

  • customerGroup – Group of customers.

  • productGroup – Group of products.

  • label – Product group description.

  • priority : Integer – Priority of the record. It can be used when more records overlap (i.e. they are valid on the same day and have the same SKU and customerId) and you need to decide which one to use. The priority must be set already on the contract line item.

  • validAfter : Date – First date of validity of the conditions stored on the record.

  • expiryDate : Date – Last date of validity.

  • externalRef – External reference number. This is a copy of External Reference from the Contract header.

  • status - (PriceRecordStatus)

  • attribute1..30 – Values of either inputs or results from the contract line item.

  • attributeExtension___<fieldName> – Arbitrary number of attributeExtension fields which can be used in the same way as attribute1..30. The fields with the String type do not have a limited size.

Found an issue in documentation? Write to us.