nsmockup
Version:
Test your Suitescripts before deploying to NetSuite
376 lines • 6.85 kB
JSON
{
"code": "promotioncode",
"id": 0,
"translations": {
"en": "Promotion"
},
"inactive": false,
"fields": [
{
"code": "applydiscountto",
"type": "SELECT",
"translations": {
"en": {
"label": "Apply Discount To"
}
},
"mandatory": false,
"recordType": null
},
{
"code": "code",
"type": "TEXT",
"translations": {
"en": {
"label": "Code"
}
},
"mandatory": false
},
{
"code": "codepattern",
"type": "TEXT",
"translations": {
"en": {
"label": "Code Pattern"
}
},
"mandatory": false
},
{
"code": "couponcodefile",
"type": "FILE",
"translations": {
"en": {
"label": "Import File"
}
},
"mandatory": false
},
{
"code": "customform",
"type": "SELECT",
"translations": {
"en": {
"label": "Custom Form"
}
},
"mandatory": true,
"recordType": null
},
{
"code": "description",
"type": "TEXT",
"translations": {
"en": {
"label": "Description"
}
},
"mandatory": false
},
{
"code": "discount",
"type": "TEXT",
"translations": {
"en": {
"label": "Discount"
}
},
"mandatory": false
},
{
"code": "discountamount",
"type": "CURRENCY",
"translations": {
"en": {
"label": "Discount Amount"
}
},
"mandatory": false
},
{
"code": "discounttype",
"type": "RADIO",
"translations": {
"en": {
"label": "%"
}
},
"mandatory": false
},
{
"code": "displaylinediscounts",
"type": "CHECKBOX",
"translations": {
"en": {
"label": "Display line discounts"
}
},
"mandatory": false
},
{
"code": "enddate",
"type": "DATE",
"translations": {
"en": {
"label": "End Date"
}
},
"mandatory": false
},
{
"code": "excludeitems",
"type": "CHECKBOX",
"translations": {
"en": {
"label": "Exclude Items"
}
},
"mandatory": false
},
{
"code": "externalid",
"type": "TEXT",
"translations": {
"en": {
"label": "ExternalId"
}
},
"mandatory": false
},
{
"code": "externalidstring",
"type": "TEXT",
"translations": {
"en": {
"label": "External ID (Text)"
}
},
"mandatory": false
},
{
"code": "formulacurrency",
"type": "CURRENCY",
"translations": {
"en": {
"label": "Formula (Currency)"
}
},
"mandatory": false
},
{
"code": "formuladate",
"type": "DATE",
"translations": {
"en": {
"label": "Formula (Date)"
}
},
"mandatory": false
},
{
"code": "formuladatetime",
"type": "DATETIME",
"translations": {
"en": {
"label": "Formula (Date/Time)"
}
},
"mandatory": false
},
{
"code": "formulanumeric",
"type": "FLOAT",
"translations": {
"en": {
"label": "Formula (Numeric)"
}
},
"mandatory": false
},
{
"code": "formulapercent",
"type": "PERCENT",
"translations": {
"en": {
"label": "Formula (Percent)"
}
},
"mandatory": false
},
{
"code": "formulatext",
"type": "TEXT",
"translations": {
"en": {
"label": "Formula (Text)"
}
},
"mandatory": false
},
{
"code": "freeshipitem",
"type": "SELECT",
"translations": {
"en": {
"label": "Free Shipping Method"
}
},
"mandatory": false,
"recordType": null
},
{
"code": "freeshipmethod",
"type": "SELECT",
"translations": {
"en": {
"label": "Free Shipping Method"
}
},
"mandatory": false,
"recordType": null
},
{
"code": "isinactive",
"type": "CHECKBOX",
"translations": {
"en": {
"label": "Inactive"
}
},
"mandatory": false
},
{
"code": "ispublic",
"type": "CHECKBOX",
"translations": {
"en": {
"label": "Available to all Customers"
}
},
"mandatory": false
},
{
"code": "item",
"type": "SELECT",
"translations": {
"en": {
"label": "Item"
}
},
"mandatory": false,
"recordType": "item"
},
{
"code": "name",
"type": "TEXT",
"translations": {
"en": {
"label": "Name"
}
},
"mandatory": true
},
{
"code": "name",
"type": "TEXT",
"translations": {
"en": {
"label": "Name"
}
},
"mandatory": false
},
{
"code": "numbertogenerate",
"type": "INTEGER",
"translations": {
"en": {
"label": "Codes to Generate"
}
},
"mandatory": false
},
{
"code": "partner",
"type": "SELECT",
"translations": {
"en": {
"label": "Partner"
}
},
"mandatory": false,
"recordType": "partner"
},
{
"code": "rate",
"type": "RATE",
"translations": {
"en": {
"label": "Rate",
"help": "Set the rate of discount for this item."
}
},
"mandatory": false
},
{
"code": "startdate",
"type": "DATE",
"translations": {
"en": {
"label": "Start Date"
}
},
"mandatory": false
},
{
"code": "usetype",
"type": "SELECT",
"translations": {
"en": {
"label": "Number of Uses"
}
},
"mandatory": false,
"recordType": null
}
],
"tabs": [
{
"code": "campaign",
"translations": {
"en": "Campaigns"
}
},
{
"code": "code",
"translations": {
"en": "Codes"
}
},
{
"code": "item",
"translations": {
"en": "Items"
}
},
{
"code": "minimumorderamount",
"translations": {
"en": "Minimum Order Amount"
}
},
{
"code": "partner",
"translations": {
"en": "Partners"
}
},
{
"code": "workflow",
"translations": {
"en": "Workflow"
}
}
]
}