107: end if;
108:
109: -- Check whether the item is under lot or serial control or not
110: -- If it is, insert the data to coresponding tables
111: if(item.lotControlCode = WIP_CONSTANTS.LOT) then
112:
113: -- the item is under lot control
114:
115: -- call inventory API to insert data to mtl_transaction_lots_temp
132: null;
133: end if; -- end lot control check
134:
135: -- Check if the item is under serial control or not
136: if(item.serialNumberControlCode in (WIP_CONSTANTS.FULL_SN,
137: WIP_CONSTANTS.DYN_RCV_SN)) then
138: -- item is under serial control
139:
140: -- Check if the item is under lot control or not
133: end if; -- end lot control check
134:
135: -- Check if the item is under serial control or not
136: if(item.serialNumberControlCode in (WIP_CONSTANTS.FULL_SN,
137: WIP_CONSTANTS.DYN_RCV_SN)) then
138: -- item is under serial control
139:
140: -- Check if the item is under lot control or not
141: if(item.lotControlCode = WIP_CONSTANTS.LOT) then
137: WIP_CONSTANTS.DYN_RCV_SN)) then
138: -- item is under serial control
139:
140: -- Check if the item is under lot control or not
141: if(item.lotControlCode = WIP_CONSTANTS.LOT) then
142:
143: -- under lot control
144: l_transaction_temp_id_s := l_serial_transaction_temp_id;
145: else