476: hr_utility.raise_error;
477: end if;
478: --
479: L_TP_HEADER_ID :=
480: PER_IN_DATA_PUMP.get_tp_header_id;
481: --
482: if c.p69 is null then
483: L_COUNTRY:=vn;
484: else
487: (P_COUNTRY => c.p69);
488: end if;
489: --
490: L_DESIGNATED_RECEIVER_ID :=
491: PER_IN_DATA_PUMP.get_designated_receiver_id;
492: --
493: L_OPERATING_UNIT_ID :=
494: PER_IN_DATA_PUMP.get_operating_unit_id;
495: --
490: L_DESIGNATED_RECEIVER_ID :=
491: PER_IN_DATA_PUMP.get_designated_receiver_id;
492: --
493: L_OPERATING_UNIT_ID :=
494: PER_IN_DATA_PUMP.get_operating_unit_id;
495: --
496: L_INVENTORY_ORGANIZATION_ID :=
497: PER_IN_DATA_PUMP.get_inventory_organization_id;
498: --
493: L_OPERATING_UNIT_ID :=
494: PER_IN_DATA_PUMP.get_operating_unit_id;
495: --
496: L_INVENTORY_ORGANIZATION_ID :=
497: PER_IN_DATA_PUMP.get_inventory_organization_id;
498: --
499: if c.p70 is null then
500: L_SHIP_TO_LOCATION_ID:=nn;
501: else
499: if c.p70 is null then
500: L_SHIP_TO_LOCATION_ID:=nn;
501: else
502: L_SHIP_TO_LOCATION_ID :=
503: PER_IN_DATA_PUMP.get_ship_to_location_id
504: (P_SHIP_TO_LOCATION_ID => c.p70);
505: end if;
506: --
507: hr_data_pump.api_trc_on;