php-edifact / edifact-generator

Formatter for EDI messages
GNU Lesser General Public License v3.0
36 stars 29 forks source link

Add Free Text Instructions to Orders #18

Open FloLech opened 3 years ago

FloLech commented 3 years ago

I try to figure out how to add a message of type FTX+AAI to an order. The class Iftmin offers a method called setFreeTextInstructions for adding such an entity. How would I use this method on an order?

sabas commented 3 years ago

Hi, the order is specified with which message? ORDERS?

The function setFreeTextInstructions is an helper to create the segment FTX but it wasn't added to the Orders class. You need to find the best way to add it by first generating the message with the available functions and then add it where appropriate.

cc @viezel