RE: how to add two different suffix for two different PO numbers via scripting ?

Dear All, I want to generate two different PO number, by adding suffix before it, I have local vendor and foreign vendor if I choose local vendor the PO will be like “LPO-123” when chose foreign vendor the PO will be like “FPO-123”, I want to make this via scripting.

alyesmael Rookie Asked on February 10, 2021 in SuiteScript.
Add Comment
2 Answers


Does it matter if there are gaps in each sequence?

I’m thinking that you could let NetSuite generate the number using the default auto-numbering and then update it after that?



Intermediate Answered on February 10, 2021.

yes it is matter, my customer have two types of vendor (local vendor and foreign vendor) and each vendor has his own PO to can be differentiate between them

on February 10, 2021.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.