Develop > Controller layer > Application developer > Trading subsystem > Extensions to terms and conditions
Add a term to a contract or account
Add a new term to a contract in draft state is straightforward. The terms types are now defined in the TCConfigurationExt.xml file and TCSUBTYPE table, and they are loaded to TCMappingRegistry, so you can open the contract and enter the values for the term's properties. After the values have been validated according to the data type of the TERMCOND table column to which they are mapped, they are saved to the TERMCOND table. The number of properties for a term is limited by the columns of the TERMCOND table. If additional properties are required, then either change the table schema to add the additional columns (not advised), or create an additional term to contain the additional properties.
Procedure
- Open the WebSphere Commerce Accelerator.
- Create or import the contract. See Creating a contract using WebSphere Commerce Accelerator.
- Select the Extended TC button.
- For each displayable term, the Property Name, Value, Data Type and Description are displayed. Complete the appropriate values for each property.
- Click OK to save the property values for this contract.
- After contract is saved or submitted, you can view the summary of the contract by clicking the Summary button.
- A page is displayed showing the summary information for the contracts. Note that this page also shows the summary of the extended terms.
Related concepts
What's new in terms and conditions
Import and exporting contracts with extended terms defined
Extensions to terms and conditions
Related reference