RE: Change Approved status to Pending Approval
Answered
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!
There was a typo in my code:
function updateApprovalStstus(rec_type, rec_id) {
nlapiSubmitField(rec_type, rec_id, ‘approvalstatus’, 1);
}
should be:
function updateApprovalStatus(rec_type, rec_id) {
nlapiSubmitField(rec_type, rec_id, ‘approvalstatus’, 1);
}
Thanks,
Chris