Invoice creation based on Item DFF on sales order lines
We have a requirement for creating invoices based on the item DFF, when selected in a sales order. If in an item DFF the value X is present then invoice has to be created for the sales order which has lines with items that has X in DFF. In the same way when the same sales order has lines which has items that has Y in DFF then a different invoice needs to be generated. The Item DFF can have numbers unstead of Alphabets, the requirement is generating different invoices for different values.
I understand that we can use Line Transaction Flexfield. In the segments i can type Item DFF and select Interface_Line Attribute15 but i am not sure how the system will pick the Item DFF. Should i use a value set and assign to the segment or is there any other way of achiving the objective?