Order management extension Defaulting FOB Based on Incoterm could not assign a value to attribute FO
SummaryOrder management extension Defaulting FOB Based on Incoterm could not assign a value to attribute FOBPoint, during extension point On Save, because it found duplicate data. (DOO-2685876)
We have 3 Ship-to Sites for a Customer with DFF defined for each of the Ship-to as below:
Ship to : C01284_001 :: DFF: Incoterms : Blank
Ship to : 110003 :: DFF: Incoterms : FOB
Ship to : 109012 :: DFF: Incoterms : CIF
Now we have written On-Save Extension to Copy the DFF from Customer ship to Site level into FOB field on the SO. Attached is the Groovy Extension.
When we Select Ship to Sites which have DFF value populated(CIF/FOB) then the same value gets defaulted in the FOB field on the SO, even when we change the ship to it works fine, BUT