Referencing a Custom Transaction in XML Definitions

Your users can use custom transactions in other SDF custom objects that reference the transaction.

In SuiteCloud Development Framework (SDF), custom transactions are referenced by the scriptid attribute value for the customtransactiontype element, for example, customtransaction_grouppurchase.

To reference a custom transaction status, append the status scriptid to the customtransaction scriptid, for example, customtransaction_grouppurchase.open_status. For more information about custom transaction statuses, see Custom Transaction Statuses in XML Definitions.

Custom transaction types can be referenced by the following SDF custom objects:

In addition to the SDF custom objects described in the previous list, all custom fields can reference custom transaction types. The following example references a custom transaction in a custom field filter:

          <customfieldfilters>
    <customfieldfilter>
...
        <fldfiltersel>[scriptid=customtransaction_operation]</fldfiltersel>
...
    </customfieldfilter>
</customfieldfilters> 

        

Related Topics

Custom Transaction Record Types as XML Definitions
Custom Transaction Statuses in XML Definitions

General Notices