NetSuite Purchase Contracts
Has anyone successfully imported Purchase Contracts into NetSuite using the "Item : Additional Pricing" subrecord? I can't get my mapping to work and don't know what I'm doing wrong.
0
Has anyone successfully imported Purchase Contracts into NetSuite using the "Item : Additional Pricing" subrecord? I can't get my mapping to work and don't know what I'm doing wrong.
Comments
Josh Teal are you getting an error?
Tyler Lamparter I'm not receiving any errors. It's just not reading/attempting to import the subsequent lines of the subrecord. For example, I'm attempting to import a purchase contract with one item and three quantity price breaks for that line item (Additional Pricing subrecord). In this example my csv file has three lines. Every column contains the same value except for the subrecord sublist columns. When I run the flow, it's importing the purchase contract, but only bringing in the first quantity price break (first line in csv).
Josh Teal I was able to import a purchase contract with additional pricing. Can you take a look at this flow zip and see if it has something you're maybe missing?
Sample data I used:
Subrecord setup:
Tyler Lamparter Are you using a CSV file as the source? I'm using a CSV file and importing via Data Loader so the Path to node "lines[*].tiers" doesn't exist and throws an error when I try to use it. Below is an example of my CSV file. This represents one Purchase Contract with one line Item with three discount tiers.
Josh Teal I was just using that export as an example. It's best to format this data so it's easier to work with when you get to NetSuite which is why I made an items array with a nested tiers array. For you to do this, you'd need to add grouping to your CSV export and group on External ID. Then I made a transform to get the data in an almost good format (except I had duplicated items now per tier. So then I made a preSavePage script to make each item object a unique item and push each tier into a tier array. For the script, I just used Celigo AI.
Please sign in to leave a comment.