Creating extended attributes

You can create header or line-level custom attributes and assign all or specific predefined values to the attribute.

You can store and fetch data from the dynamically extended attributes from the database without having to extend the database tables. However, there is a limitation on the number of dynamic extended attributes. Therefore, any logic based on these dynamic attributes is not supported. You can store data into dynamic order attributes by using APIs, such as createOrder or changeOrder and fetch the data by using the getOrderDetails API. If you want to set up some business configurations based on the extension attributes, use only the database extension columns.

For more information about custom attributes, see the corresponding API in Javadoc. Use the CustomAttributes element to pass the extended attribute ID as the attribute name and an appropriate value. For example, if you create the BUC_IsPreOrderunder line-level attribute, in the createOrder input XML of the OrderLine element, pass the BUC_IsPreOrderunder attribute as <CustomAttributes BUC_IsPreOrder="Y"/>.