<#CFG7DNCM9|> <#C298P0BCK|> <#C29HQS63G|> Has anyo...
# integrations
n
#CFG7DNCM9 #C298P0BCK #C29HQS63G Has anyone successfully used Celigo to create Item Fulfillments from Sales orders that contain duplicate lines. (the same item is used on multiple line items of the sales order). It is very complicated as the entire order is not always fulfilled at the same time. So the Line ID of the IF changes. For example if you first fulfill LInes 1, 2, 3 of the sales order I belive that is lines 1, 2, 3 of the Item Fulfillment when posting. But then when you go back to fulfill Lines 4, 5, 6 of the sales order later, that is lines 1, 2, 3 of the next item fulfillment. So the line ID's change depending on what is already fulfilled on the order. And you can't use the itemkey because it gives you an error of "multiple items with the Key xxx are found". Has anyone run into this before?
b
ideally you export out the sales order line id and then re import them back into the item fulfillment
orderline
field as the key
t
@battk is correct. Here is an example of the mappings. "Items: Line ID" is mapped to the sales order line id
b
you want to use orderline, not line
👍 1
the line id of the fulfillment has no guarantee to match the line of of the sales order
g
I see what you are saying @nsAI on the complexities with existing line ID fields. I've found that when using kit items or when you cancel SO lines, the Line ID on the fulfillment doesn't match. What I do that works for me is to create a very simple workflow (triggered on order create/update) that populates a custom field "3PL Line Id" for example with the value from the Sales Order Line Id, the value is inherited as it is into the Item Fulfillment, so you are sure that the Line Id on the SO is always the same as the Line Id on the IF.
t
Sure you can use orderline as well. You won't see it in the drop down menu, but you can manually enter in like this
item[*].orderline
n
Thanks everyone...so @battk and @Tyler Lamparter are you saying I need to add a lookup step in the fulfillment flow that looks up the order line of the sale order, then use that in the next step that posts the Item Fulfillment? If so, I don't think the order line of the sales order translates to the line of the item fulfillment. Isn't the IF line in 3's? So Line 1, 2, 3 of the SO is line 0, 3, 6 of the IF?
Or can I somehow use the lineuniquekey to transform into the IF?
also I was thinking of doing a lookup on the etail order line id and tyring to match to that, since that transfers from the SO onto the IF, but I don't know how to perform that lookup during the creation of the IF
g
you dont need to do a lookup, mark the etail order line id as a "key field to find existing lines" refer to @Tyler Lamparter screenshots. and it should work.
t
@Greg Lopez is correct. Just change my mapping from orderline to etail order line id and set as key
n
So in the netsuite side of the mapping just manually type in item[*].orderline?
@Tyler Lamparter in your screenshot there is no lookup on that mapping....wouldn't there be a little "L" symbol if you are doing a lookup?
oh wait
there is no lookup...ok
I'm still confused...wouldn't I want to use the custcol_etail_orderlineid as the field?
n
like this?
t
yeah
n
(FYI custom_field3 is holding the etail order id from the saels order
oh ok aweseom...ill try this
t
and make sure you set as key under the settings for that field
n
yes like this?
t
yes
n
ok thank you
This was so much stress this week...LOL thanks for help me!