165: RAISE;
166:
167: END insert_header;
168:
169: /* Private Procedure - Inserts lines (not tax) into ZX_TRANSACTION_LINES_GT.
170: NOTE: In order for tax to work properly for copied invoices, we
171: must populate the source columns for the copied lines with the
172: data from the original (AR) lines.
173:
199: /* 4666566 - added support for ship_to and product_org_id to
200: line-level insert. Invoice copy automatically copies ship to
201: to line-level to make it more like autoinvoice. */
202:
203: INSERT INTO ZX_TRANSACTION_LINES_GT
204: (
205: application_id,
206: entity_code,
207: event_class_code,