Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info
From version Since Godfather 8.0 you can find the contract Contract documents in the user interface with under the name Agreements & Promotions, found under located in the Agreements & Promotions menu.

Entity The Contract (CT) entity represents the header information of the promotion contract document, e.g. who’s the customer or customer group, when the document is valid validity and optional summary results about for the whole promotion contract.

Note: Entity The Contract entity does not contain line items. Those are stored in a Contract Line Item (CTLI) entity.

Fields

uniqueName

autogenerated Autogenerated unique name of the contract document. In the form of It has this pattern: "C-####".

label

description Description of the contract provided by the user.

customerGroup : CustomerGroup

copy Copy of the information provided by the user in the CustomerGroup input field on the header. This copy is done automatically.

productGroup : ProductGroup

copy Copy of the information provided by the user in the ProductGroup input field on the header. This copy is done automatically.

startDate : Date

first First date of validity of the negotiated conditions.

endDate : Date

last Last date of validity of the negotiated conditions.

targetDate : Date

Calculation Date of the contract, used as targetDate for the calculation process.

inputs

list List of input field definitions and values entered by the user.

Info
input Input fields CustomerGroup and ProductGroup is are usually added automatically thanks to configuration setting on the partition.
outputs

results Results of calculation performed by the contract header logic and stored on in the "ROOT" virtual folder.

externalRef

external External reference number. ID of a related document (e.g. order) , which is sitting located in another system.

attributeExtension___<fieldName>

arbitrary Arbitrary number of customizable attributeExtension fields , which can be used to store any information you need. The fields with the String type do not have a limited size.

contractStatus

status Status of the contract document. All valid values are listed in the document status article.

creationWorkflowStatus

see See CreationWorkflowStatus.

creationWorkflowCurrentStep

integer - order Order of the current active creation step (integer). First The first step has the number 0.

creationWorkflowStepCount

integer - total Total number of all creation steps (integer).

creationWorkflowStepLabel

String - the label Label of the current creation workflow step (string).

workflowStatus

see See WorkflowStatus.

viewState

Contains some (limited) information about the state of the front-end application. See View State.