153:
154: l_progress := '110';
155:
156: -- delete ebtax determining factors
157: delete from ZX_LINES_DET_FACTORS
158: where trx_id = p_header_id
159: and ENTITY_CODE = 'REQUISITION'
160: and event_class_code = 'REQUISITION'
161: and application_id =201;
1357:
1358: l_progress := '160';
1359:
1360: -- flip ebtax determining factors first header id
1361: UPDATE ZX_LINES_DET_FACTORS
1362: SET trx_id = p_origHeaderId
1363: WHERE trx_id = p_tempHeaderId
1364: and ENTITY_CODE = 'REQUISITION'
1365: and event_class_code = 'REQUISITION'
1369:
1370:
1371: -- flip ebtax determining factors now line id
1372: FORALL idx IN 1..p_tempLineIds.COUNT
1373: UPDATE ZX_LINES_DET_FACTORS
1374: SET trx_line_id = p_origLineIds(idx)
1375: WHERE trx_line_id = p_tempLineIds(idx)
1376: and ENTITY_CODE = 'REQUISITION'
1377: and event_class_code = 'REQUISITION'