Example of a mapreducescript SDF Custom Object

The following example defines a mapreducescript SDF custom object:

          <mapreducescript scriptid="customscript_mr">
    <isinactive>F</isinactive>
    <name>NAME</name>
    <notifyowner>T</notifyowner>
    <scriptfile>[/SuiteScripts/MapReduceScript.js]</scriptfile>
    <customplugintypes>
        <plugintype>
            <plugintype>[scriptid=customscript_doc_signing]</plugintype>
        </plugintype>
    </customplugintypes>
    <scriptcustomfields>
        <scriptcustomfield scriptid="custscript1">
            <accesslevel>2</accesslevel>
            <applyformatting>F</applyformatting>
            <checkspelling>F</checkspelling>
            <defaultchecked>F</defaultchecked>
            <displaytype>NORMAL</displaytype>
            <fieldtype>TEXT</fieldtype>
            <isformula>F</isformula>
            <ismandatory>F</ismandatory>
            <label>test</label>
            <onparentdelete>NO_ACTION</onparentdelete>
            <searchlevel>2</searchlevel>
            <storevalue>T</storevalue>
        </scriptcustomfield>
    </scriptcustomfields>
    <scriptdeployments>
        <scriptdeployment scriptid="customdeploy_123">
            <isdeployed>T</isdeployed>
            <loglevel>AUDIT</loglevel>
            <runasrole></runasrole>
            <status>NOTSCHEDULED</status>
            <yieldaftermins>60</yieldaftermins>
        </scriptdeployment>
    </scriptdeployments>
</mapreducescript> 

        

Related Topics

Map/Reduce Script Objects as XML Definitions
Defining a Map/Reduce Script Deployment in XML
Setting a Concurrency Limit on Your Map/Reduce Script Deployment in SDF
Referencing a Script File in a mapreducescript SDF Custom Object
Referencing a Custom Plug-in in a mapreducescript SDF Custom Object
Referencing a Custom Script Field in a mapreducescript SDF Custom Object

General Notices