RogerH1889
MIS
Hello Everyone -
I'm new to the world of EDI and inherited a multi-platform setup where one unit is utilizing GENTRAN Server for Windows (4.0.1)and the other is using GIS for Windows (4.1) both linked to Oracle. I'm having difficulties with an outbound 810 on the GIS side where I am trying to edit a datafield during the export translation through the map and my changes are apparently being over-written by the ProcessData value originally extracted from the Oracle tables. Anyone know how I can use an Extended Rule to edit the output from the 0067 element before sending out the EDI file? (I need to remove the first 3 characters from the output prior to transmitting it to the trade partner).
I tried using a conditional statement
If $INPUT.#Trading_Partner_Code = "XYZ" Then
Ship_To = mid(#0067,3,4);
else
Ship_To = left(#0067,4);
but there was no result. Placing the code as an ER in the #0067 element directly (along with another statement that empties the #0066 field if #0067 is empty) and attempting to update the ProcessData afterwards, I get an error message that 'WHEN' is expected by the compiler. Can anyone familiar with GIS walk me through coding this to update the ProcessData with the new 4 digit value?
Thanks for the assist!
I'm new to the world of EDI and inherited a multi-platform setup where one unit is utilizing GENTRAN Server for Windows (4.0.1)and the other is using GIS for Windows (4.1) both linked to Oracle. I'm having difficulties with an outbound 810 on the GIS side where I am trying to edit a datafield during the export translation through the map and my changes are apparently being over-written by the ProcessData value originally extracted from the Oracle tables. Anyone know how I can use an Extended Rule to edit the output from the 0067 element before sending out the EDI file? (I need to remove the first 3 characters from the output prior to transmitting it to the trade partner).
I tried using a conditional statement
If $INPUT.#Trading_Partner_Code = "XYZ" Then
Ship_To = mid(#0067,3,4);
else
Ship_To = left(#0067,4);
but there was no result. Placing the code as an ER in the #0067 element directly (along with another statement that empties the #0066 field if #0067 is empty) and attempting to update the ProcessData afterwards, I get an error message that 'WHEN' is expected by the compiler. Can anyone familiar with GIS walk me through coding this to update the ProcessData with the new 4 digit value?
Thanks for the assist!