Hi guys, question about how to programmatically Confirm several In Transit bill-payments at ones with Suitescript 2.0? Instead of manually confirming each one. Does anyone have an idea how to do this?
k
Kyriakos Zisopoulos
08/24/2020, 12:14 PM
Check N/action module, its the only way
h
Henrik Ulvenäs
08/24/2020, 8:01 PM
Thank you Kyriakos!
I found the action I was looking for _(confirm)_:
var result = action.execute({
id: 'confirm',
recordType: 'vendorpayment',
params: {
recordId: id,
},
});
k
Kyriakos Zisopoulos
03/19/2021, 11:40 AM
Hi Henrik,
Did you implemented this correctly because I get bugs now and sometimes payment is confirmed and sometimes payment is not confirmed or is confirmed with no gl impact