https://netsuiteprofessionals.com logo
#suitescript
Title
# suitescript
s

Saad

04/27/2022, 6:02 AM
Hi All. Using SuiteScript, I am trying to create a new Vendor Bill record using items data from single Item Receipt in some cases and from multiple Item Receipts in some cases. But I am unable to find a way to add parent Purchase Order(s) of those Item Receipts in Related Records sublist of new Bill record. How can I add those Purchase Orders in Related Records of Vendor Bill record? I found that POs in related records depend on the Items on Bill but cannot figure out which line fields we need to populate.
b

battk

04/27/2022, 7:06 AM
there is supposed to be a poids default value for vendor bills that is supposed to do this for you
ive never actually gotten it to work
if you want to bill multiple purchase orders, then you will need to setup the item lines to match yourself
that means manually setting the lines on the bill to match the lines on the purchase orders
including the link between them, which are the
orderdoc
and
orderline
columns
s

Saad

04/27/2022, 7:12 AM
@battk Thanks alot. I will try that solution.
3 Views