edifact-generator icon indicating copy to clipboard operation
edifact-generator copied to clipboard

FTX segment implémentation with C107 segment (TEXT REFERENCE)

Open SalaunC opened this issue 3 years ago • 1 comments

In the FTX implementation, i think there is a missing parameter (segment 1131) when you provide C107 segment.

image

image

If you add a Free text identification (4441 segment) ($reference here) you have to provide 2 additionals field

  • Code list qualifier (segment 1131)
  • Code list responsible agency (segment 3055)

image

So, for exemple the assertion of the testFreeText will be :

FTX+OSI++HAE::89+reduction of fees text

image

SalaunC avatar May 12 '22 09:05 SalaunC

I don't actually remember what was the reason for using 89 there, I just rapidly checked the code lists as well... Seems you are right, would you please provide a pull request? :-)

sabas avatar May 13 '22 09:05 sabas