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

General Notices