Every CLIC document stores the header type it was created with, such as the Quote Type of a Quote. For most header types, the document stores the type's uniqueName. The default header type is the exception: the document stores the type's label, or null when the type has no label.
Overview
You need this value when a logic reads the header type of a document. You also need it to filter documents by header type. A logic that looks for the value __DEFAULT__ finds no documents.
Stored Value
|
Header type of the document |
Stored value |
|---|---|
|
Default type ( |
|
|
Default type ( |
The label of the default type |
|
Any other header type |
The |
The uniqueName of the default header type is always __DEFAULT__, and you cannot change it. You can change its label at any time.
In the user interface, documents of the default type show the label, or (Default) when the type has no label.
Field Names
|
CLIC document |
Header type |
Field in the document |
Field for filters in |
|---|---|---|---|
|
Quote |
|
|
|
|
Agreement & Promotion |
|
|
|
|
Rebate Agreement |
|
|
|
|
Compensation Plan |
|
|
Rebate Records and Rebate Record Groups store the Rebate Agreement Type in headerRebateType. Compensation Records store the Compensation Header Type in compensationHeaderType. The same rule applies to these objects.
When the Label Changes
When you change the label of the default header type, Pricefx updates the stored value on all existing documents of that type. This applies to Quotes, Agreements & Promotions, Rebate Agreements and Compensation Plans.
|
Change to the default type |
Stored value on existing documents |
|---|---|
|
You add a label |
Changes from |
|
You change the label |
Changes from the old label to the new label |
|
You remove the label |
Changes from the old label to |