Add a custom field in the Sales order and fill the field with value from website.

Requirement is to show a custom field in the SO and the value from the website should be show in that field.

step 1:

Create a transaction body field. Customization -> List,Records&Fields -> Transaction body fields -> new

step 2:

Add the created custom transaction body field in the configuration record. Otherwise we cannot get that field in the consoles

step 3:

Using SetTrasactionBodyField property we can add the value to this field.

For more information of SetTrasactionBodyField refer the link: SuiteCommerce/Extensibility/Frontend/Cart.html#setTransactionBodyField

Leave a comment

Your email address will not be published. Required fields are marked *