EDI Scripting - 850 Import - Ignoring an address section

More
2 years 9 months ago #662 by JK385
We have a customer that sends in multiple addresses on each order. Occasionally they will send in an extra address which makes the import bomb out in a weird way.

I would like to essentially ignore/remove that address when it is present.

The defining attribute of the address is in EDI.Element(1) of the N1 section, but I need to also ignore the corresponding N3 and N4 sections.

So if:

Function(N1)
If EDI.Element(1)="SN" then ... and this is where I am lost.

Any help would be greatly appreciate!

Please Log in or Create an account to join the conversation.

More
2 years 9 months ago #663 by elasner
Try EDI.SkipSegment

Please Log in or Create an account to join the conversation.

Moderators: JohnMcDonelasner
Time to create page: 0.162 seconds
Powered by Kunena Forum