11
Points
Questions
0
Answers
5
-
You can refer to this guide that I wrote on setting up a basic approval workflow, it can be applied to Sales Orders also.
- 3890 views
- 2 answers
- 0 votes
-
There’s a basic guide here on the authorization and how to create records in general https://nanonets.com/blog/netsuite-api/
- 832 views
- 2 answers
- 0 votes
-
Can you try adding the orderliness parameter? You have added orderDoc but orderLine seems to be missing.
Try this payload:
{
“entity”: {
“id”: 2222
},
“createdfrom”: {
“id”: 12000
},
“itemList”: {
“items”: [
{
“item”: {
“id”: 9
},
“quantity”: 2.0,
“rate”: 7.00,
“amount”: 14.00,
“orderLine”: 1, // This represents the line number from the PO (adjust based on the PO’s line item)
“orderDoc”: {
“id”: 12000
}
}
]
}
}- 682 views
- 2 answers
- 0 votes
-
While this has been solved already – for the reference of any readers who are coming here later, there’ s a guide that you can refer to for this https://nanonets.com/blog/match-purchase-orders-to-multiple-vendor-bills-in-netsuite/
- 2210 views
- 4 answers
- 0 votes
-
GL codes are stored in the account table. When you’re trying to filter transactions by GL codes using SuiteQL, you’ll generally be working with the transaction table and joining it with the account table to get the specific GL codes.
Sample SuiteQL query:
SELECT
t.tranid AS transaction_id,
t.trandate AS transaction_date,
tl.amount AS line_amount,
a.acctnumber AS gl_code,
a.acctname AS gl_name
FROM
transaction t
JOIN
transactionline tl ON t.id = tl.transaction
JOIN
account a ON tl.account = a.id
WHERE
a.acctnumber = ‘XXXX’ — Replace with your GL code- 1146 views
- 1 answers
- 0 votes