Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save W3BGUY/740d816aef7284c9e87370cb5c0244fb to your computer and use it in GitHub Desktop.

Select an option

Save W3BGUY/740d816aef7284c9e87370cb5c0244fb to your computer and use it in GitHub Desktop.
JSON - NetSuite Transaction Status Names and Codes
{
"Bill":{
"Open":{"label":"Open","code":"VendBill:A"},
"Paid In Full":{"label":"Paid In Full","code":"VendBill:B"},
"Pending Approval":{"label":"Pending Approval","code":"VendBill:D"}
},
"Bill Payment":{
"Voided":{"label":"Voided","code":"VendPymt:V"},
"Online Bill Pay Pending Accounting Approval":{
"label":"Online Bill Pay Pending Accounting Approval",
"code":"VendPymt:Z"
}
},
"Cash Sale":{
"Unapproved Payment":{"label":"Unapproved Payment","code":"CashSale:A"},
"Not Deposited":{"label":"Not Deposited","code":"CashSale:B"},
"Deposited":{"label":"Deposited","code":"CashSale:C"}
},
"Check":{
"Voided":{"label":"Voided","code":"Check:V"},
"Online Bill Pay Pending Accounting Approval":{
"label":"Online Bill Pay Pending Accounting Approval",
"code":"Check:Z"
}
},
"Commission":{
"Pending Payment":{"label":"Pending Payment","code":"Commissn:A"},
"Overpaid":{"label":"Overpaid","code":"Commissn:O"},
"Pending Accounting Approval":{"label":"Pending Accounting Approval","code":"Commissn:P"},
"Rejected by Accounting":{"label":"Rejected by Accounting","code":"Commissn:R"},
"Paid In Full":{"label":"Paid In Full","code":"Commissn:X"}
},
"Credit Memo":{
"Open":{"label":"Open","code":"CustCred:A"},
"Fully Applied":{"label":"Fully Applied","code":"CustCred:B"}
},
"Customer Deposit":{
"Not Deposited":{"label":"Not Deposited","code":"CustDep:A"},
"Deposited":{"label":"Deposited","code":"CustDep:B"},
"Fully Applied":{"label":"Fully Applied","code":"CustDep:C"}
},
"Customer Refund":{
"Voided":{"label":"Voided","code":"CustRfnd:V"}
},
"Expense Report":{
"In Progress":{"label":"In Progress","code":"ExpRept:A"},
"Pending Supervisor Approval":{"label":"Pending Supervisor Approval","code":"ExpRept:B"},
"Pending Accounting Approval":{"label":"Pending Accounting Approval","code":"ExpRept:C"},
"Rejected by Supervisor":{"label":"Rejected by Supervisor","code":"ExpRept:D"},
"Rejected by Accounting":{"label":"Rejected by Accounting","code":"ExpRept:E"},
"Approved by Accounting":{"label":"Approved by Accounting","code":"ExpRept:F"},
"Approved (Overridden) by Accounting":{"label":"Approved (Overridden) by Accounting","code":"ExpRept:G"},
"Rejected (Overridden) by Accounting":{"label":"Rejected (Overridden) by Accounting","code":"ExpRept:H"},
"Paid In Full":{"label":"Paid In Full","code":"ExpRept:I"}
},
"Invoice":{
"Open":{"label":"Open","code":"CustInvc:A"},
"Paid In Full":{"label":"Paid In Full","code":"CustInvc:B"}
},
"Item Fulfillment":{
"Picked":{"label":"Picked","code":"ItemShip:A"},
"Packed":{"label":"Packed","code":"ItemShip:B"},
"Shipped":{"label":"Shipped","code":"ItemShip:C"}
},
"Journal":{
"Pending Approval":{"label":"Pending Approval","code":"Journal:A"},
"Approved for Posting":{"label":"Approved for Posting","code":"Journal:B"}
},
"Opportunity":{
"In Progress":{"label":"In Progress","code":"Opprtnty:A"},
"Issued Estimate":{"label":"Issued Estimate","code":"Opprtnty:B"},
"Closed – Won":{"label":"Closed – Won","code":"Opprtnty:C"},
"Closed – Lost":{"label":"Closed – Lost","code":"Opprtnty:D"}
},
"Purchase Order":{
"Pending Supervisor Approval":{"label":"Pending Supervisor Approval","code":"PurchOrd:A"},
"Pending Receipt":{"label":"Pending Receipt","code":"PurchOrd:B"},
"Rejected by Supervisor":{"label":"Rejected by Supervisor","code":"PurchOrd:C"},
"Partially Received":{"label":"Partially Received","code":"PurchOrd:D"},
"Pending Billing/Partially Received":{"label":"Pending Billing/Partially Received","code":"PurchOrd:E"},
"Pending Bill":{"label":"Pending Bill","code":"PurchOrd:F"},
"Fully Billed":{"label":"Fully Billed","code":"PurchOrd:G"},
"Closed":{"label":"Closed","code":"PurchOrd:H"}
},
"Sales Order":{
"Pending Approval":{"label":"Pending Approval","code":"SalesOrd:A"},
"Pending Fulfillment":{"label":"Pending Fulfillment","code":"SalesOrd:B"},
"Cancelled":{"label":"Cancelled","code":"SalesOrd:C"},
"Partially Fulfilled":{"label":"Partially Fulfilled","code":"SalesOrd:D"},
"Pending Billing/Partially Fulfilled":{
"label":"Pending Billing/Partially Fulfilled",
"code":"SalesOrd:E"
},
"Pending Billing":{"label":"Pending Billing","code":"SalesOrd:F"},
"Billed":{"label":"Billed","code":"SalesOrd:G"},
"Closed":{"label":"Closed","code":"SalesOrd:H"}
},
"Work Order":{
"Planning":{"label":"Planning","code":"WorkOrd:A"},
"Pending Build":{"label":"Pending Build","code":"WorkOrd:B"},
"Cancelled":{"label":"Cancelled","code":"WorkOrd:C"},
"Partially Built":{"label":"Partially Built","code":"WorkOrd:D"},
"Built":{"label":"Built","code":"WorkOrd:G"},
"Closed":{"label":"Closed","code":"WorkOrd:H"}
}
}
@W3BGUY
Copy link
Author

W3BGUY commented Jan 29, 2026

A text version is availbale here, as well.
https://gist.github.com/W3BGUY/af08ddd92b87641e28df9c26d545d387

SuiteScript-Friendly Enum-Style - NetSuite Transaction Status Names and Codes
https://gist.github.com/W3BGUY/fedbfacef9b8dbf9bab54f345845806f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment