Custom Transaction Record Types as XML Definitions

SuiteCloud Development Framework (SDF) supports custom transaction record types that are tailored to your business needs. For use cases, see Benefits of Custom Transaction Types.

Use the customtransactiontype SDF custom object to develop custom transaction types in a SuiteCloud project. You can create new custom transactions, or import existing custom transactions into your SuiteCloud project using SuiteCloud IDE plug-in.

For more information about custom transactions, see the following:

Consider the following information when working with custom transaction types as XML definitions:

The following is an example of a customtransactiontype SDF custom object that defines a group purchase custom transaction:

          <customtransactiontype scriptid="customtransaction_grouppurchase">
    <iscredit>F</iscredit>
    <isposting>F</isposting>
    <isvoidable>F</isvoidable>
    <name>Group Purchase</name>
    <showstatus>F</showstatus>
    <subliststyle>BASIC</subliststyle>
    <segments>
        <classmandatory>F</classmandatory>
        <classposition>NONE</classposition>
        <departmentmandatory>F</departmentmandatory>
        <departmentposition>HEADER</departmentposition>
        <locationmandatory>F</locationmandatory>
        <locationposition>LINE</locationposition>
    </segments>
    <statuses>
        <status scriptid="open_status">
            <id>A</id>
            <description>Open</description>
            <posting>F</posting>
        </status>
        <status scriptid="closed_status">
            <id>B</id>
            <description>Closed</description>
            <posting>T</posting>
        </status>
    </statuses>
</customtransactiontype> 

        

In the example, the following fields define the position of the segment fields in the transaction:

For additional information about custom transactions, see the following:

Related Topics

Lists, Records, and Fields
Custom Lists as XML Definitions
Custom Other Record Fields as XML Definitions
Custom Item Fields as XML Definitions
Custom CRM Fields as XML Definitions
Custom Entity Fields as XML Definitions
Custom Item Number Fields as XML Definitions
Custom Transaction Body Fields as XML Definitions
Custom Transaction Line Fields as XML Definitions
Custom Transaction Item Option Fields as XML Definitions
Custom Record Types as XML Definitions
Custom Segments as XML Definitions

General Notices