nsmockup
Version:
Test your Suitescripts before deploying to NetSuite
297 lines • 5.73 kB
JSON
{
"code": "timesheet",
"id": 0,
"translations": {
"en": "Timesheet"
},
"inactive": false,
"fields": [
{
"code": "approvalstatus",
"type": "SELECT",
"translations": {
"en": {
"label": "approvalstatus"
}
},
"mandatory": false,
"recordType": null
},
{
"code": "customform",
"type": "SELECT",
"translations": {
"en": {
"label": "Custom Form"
}
},
"mandatory": true,
"recordType": null
},
{
"code": "employee",
"type": "SELECT",
"translations": {
"en": {
"label": "Employee",
"help": "References an existing employee record. Required on Add."
}
},
"mandatory": false,
"recordType": "employee"
},
{
"code": "enddate",
"type": "DATE",
"translations": {
"en": {
"label": "End Date"
}
},
"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": "id",
"type": "INTEGER",
"translations": {
"en": {
"label": "ID"
}
},
"mandatory": false
},
{
"code": "iscomplete",
"type": "CHECKBOX",
"translations": {
"en": {
"label": "iscomplete"
}
},
"mandatory": false
},
{
"code": "name",
"type": "TEXT",
"translations": {
"en": {
"label": "Name"
}
},
"mandatory": true
},
{
"code": "startdate",
"type": "DATE",
"translations": {
"en": {
"label": "Start Date"
}
},
"mandatory": false
},
{
"code": "subsidiary",
"type": "SELECT",
"translations": {
"en": {
"label": "Subsidiary",
"help": "The subsidiary associated with the employee is displayed here."
}
},
"mandatory": false,
"recordType": "subsidiary"
},
{
"code": "timeentry",
"type": "SELECT",
"translations": {
"en": {
"label": "Time Entry"
}
},
"mandatory": false,
"recordType": "timeentry"
},
{
"code": "timesheetdate",
"type": "DATE",
"translations": {
"en": {
"label": "Timesheet Date"
}
},
"mandatory": false
},
{
"code": "totalhours",
"type": "TEXT",
"translations": {
"en": {
"label": "Total Hours"
}
},
"mandatory": false
}
],
"subLists": [
{
"code": "timegrid",
"translations": {
"en": "Time"
},
"fields": [
{
"code": "friday",
"type": "SUMMARY",
"translations": {
"en": {
"label": " "
}
},
"mandatory": false
},
{
"code": "monday",
"type": "SUMMARY",
"translations": {
"en": {
"label": " "
}
},
"mandatory": false
},
{
"code": "saturday",
"type": "SUMMARY",
"translations": {
"en": {
"label": " "
}
},
"mandatory": false
},
{
"code": "sunday",
"type": "SUMMARY",
"translations": {
"en": {
"label": " "
}
},
"mandatory": false
},
{
"code": "thursday",
"type": "SUMMARY",
"translations": {
"en": {
"label": " "
}
},
"mandatory": false
},
{
"code": "tuesday",
"type": "SUMMARY",
"translations": {
"en": {
"label": " "
}
},
"mandatory": false
},
{
"code": "wednesday",
"type": "SUMMARY",
"translations": {
"en": {
"label": " "
}
},
"mandatory": false
}
]
}
]
}