Merrick
10/03/2024, 8:44 AMCeligo AI
10/03/2024, 8:45 AMAI generated answer (using internal Slack threads):Based on the conversations, it is possible to move an approved vendor bill back to pending approval in NetSuite, but it requires the use of a script. Here is an example of how it can be done using SuiteScript 1.0:
javascript
nlapiSubmitField('vendorbill',_INTERNALID_,'approvalstatus',1)
In this script, replace _INTERNALID_
with the internal ID of the vendor bill you want to change the status of. The approvalstatus
field is set to 1
, which corresponds to the 'Pending Approval' status.
However, it's important to note that approved vendor bills are posting transactions, so changing their status could have significant implications. It's recommended to thoroughly test and validate this action in a sandbox environment before implementing it in a live environment.
As for the SuiteApprovals, it seems that it can be used for approving or rejecting vendor bills via email without logging into NetSuite. However, for vendor bills created with a Purchase Order (PO), if the PO amount and Bill amount are the same, it auto approves as it satisfies all exceptions. If you want to set the bill to pending approval if the amount is greater than a certain figure, you might need to use a regular SuiteFlow with a script that does the same as SuiteApproval emails.
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
10/03/2024, 8:46 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.857518613
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.850722969
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.847032726
Celigo AI
10/03/2024, 8:46 AM