646:
647: IF (l_distribution_count = 0) THEN -- there are no sibling distributions
648:
649: l_transaction_line_rec_type.internal_organization_id := l_org_id;
650: l_transaction_line_rec_type.application_id := PO_CONSTANTS_SV.APPLICATION_ID;
651: /* Bug 14004400: Applicaton id being passed to EB Tax was responsibility id rather than 201 which
652: is pased when the tax lines are created. Same should be passed when they are deleted. */
653: l_transaction_line_rec_type.entity_code := PO_CONSTANTS_SV.PO_ENTITY_CODE ;
654: l_transaction_line_rec_type.event_class_code := PO_CONSTANTS_SV.PO_EVENT_CLASS_CODE;
649: l_transaction_line_rec_type.internal_organization_id := l_org_id;
650: l_transaction_line_rec_type.application_id := PO_CONSTANTS_SV.APPLICATION_ID;
651: /* Bug 14004400: Applicaton id being passed to EB Tax was responsibility id rather than 201 which
652: is pased when the tax lines are created. Same should be passed when they are deleted. */
653: l_transaction_line_rec_type.entity_code := PO_CONSTANTS_SV.PO_ENTITY_CODE ;
654: l_transaction_line_rec_type.event_class_code := PO_CONSTANTS_SV.PO_EVENT_CLASS_CODE;
655: l_transaction_line_rec_type.event_type_code := PO_CONSTANTS_SV.PO_ADJUSTED;
656: l_transaction_line_rec_type.trx_id := NVL(l_po_release_id, l_po_header_id);
657: l_transaction_line_rec_type.trx_level_type := 'SHIPMENT';
650: l_transaction_line_rec_type.application_id := PO_CONSTANTS_SV.APPLICATION_ID;
651: /* Bug 14004400: Applicaton id being passed to EB Tax was responsibility id rather than 201 which
652: is pased when the tax lines are created. Same should be passed when they are deleted. */
653: l_transaction_line_rec_type.entity_code := PO_CONSTANTS_SV.PO_ENTITY_CODE ;
654: l_transaction_line_rec_type.event_class_code := PO_CONSTANTS_SV.PO_EVENT_CLASS_CODE;
655: l_transaction_line_rec_type.event_type_code := PO_CONSTANTS_SV.PO_ADJUSTED;
656: l_transaction_line_rec_type.trx_id := NVL(l_po_release_id, l_po_header_id);
657: l_transaction_line_rec_type.trx_level_type := 'SHIPMENT';
658: l_transaction_line_rec_type.trx_line_id := l_line_location_id;
651: /* Bug 14004400: Applicaton id being passed to EB Tax was responsibility id rather than 201 which
652: is pased when the tax lines are created. Same should be passed when they are deleted. */
653: l_transaction_line_rec_type.entity_code := PO_CONSTANTS_SV.PO_ENTITY_CODE ;
654: l_transaction_line_rec_type.event_class_code := PO_CONSTANTS_SV.PO_EVENT_CLASS_CODE;
655: l_transaction_line_rec_type.event_type_code := PO_CONSTANTS_SV.PO_ADJUSTED;
656: l_transaction_line_rec_type.trx_id := NVL(l_po_release_id, l_po_header_id);
657: l_transaction_line_rec_type.trx_level_type := 'SHIPMENT';
658: l_transaction_line_rec_type.trx_line_id := l_line_location_id;
659: