darkenberg
Programmer
Hello,
I am running Gentran Server for Windows 4.0, but I believe the answer to my question is relevant for all versions of Gentran Server for Windows.
I am mapping an outbound 830 transaction, and I want to only include the PRS segment if the input file includes a part release status of 3 or 7. If any other value is passed, I want to not send a PRS segment at all.
I have accomplished this through a code list on the input side that maps each possible digit to either nothing, or (in the cases of 3 and 7) to itself.
Is there a more eligant way to accomplish this? I just got lucky that it was a single digit input field, but the next time it could be a freeform text field with a handful of valid values.
Dave Arkenberg
CNH Global, NV
I am running Gentran Server for Windows 4.0, but I believe the answer to my question is relevant for all versions of Gentran Server for Windows.
I am mapping an outbound 830 transaction, and I want to only include the PRS segment if the input file includes a part release status of 3 or 7. If any other value is passed, I want to not send a PRS segment at all.
I have accomplished this through a code list on the input side that maps each possible digit to either nothing, or (in the cases of 3 and 7) to itself.
Is there a more eligant way to accomplish this? I just got lucky that it was a single digit input field, but the next time it could be a freeform text field with a handful of valid values.
Dave Arkenberg
CNH Global, NV