RE: Change Approved status to Pending Approval
Hi,
We need to change approval status on historical supplier invoices from “Approved” to “Pending Approval”.
Essentially, what we want to achieve is all historical supplier invoices to be removed from EFT Bill payments, so they can be first reviewed and only if needed go to Bill payment processing (after being approved).
Is there any way to achieve it?
Many thanks!
OK. Let’s see if we can get the Custom Mass Update to work in SB.
Based on this article, you want your script file to look something like this:
https://suiteanswers.custhelp.com/app/answers/detail/a_id/10631
function updateApprovalStstus(rec_type, rec_id) {
nlapiSubmitField(rec_type, rec_id, ‘approvalstatus’, 1);
}
Upload the file with a .js extension then go to Customization > Scripts > New.
Select the file, select Mass Update as the type and then enter updateApprovalStstus is the function field.
Save and Deploy to a Vendor Bill.
And then this is how you launch the Mass Update script:
https://suiteanswers.custhelp.com/app/answers/detail/a_id/10610