php-edifact/edifact-generator

Add Free Text Instructions to Orders

Opened this issue · 1 comments

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

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