Currently trying to insert a AR invoice detail line by line transaction and the optional field is set as auto insert under the AR/Setup optional field. .
Problem: Detail lines are inserted under the AR invoice without the optional field.
Source code…