DBA Data[Home] [Help]

APPS.WSMPLBMI dependencies on WSMPOPRN

Line 603: wsmpoprn.get_current_op(p_wip_entity_id => l_wip_entity_id,

599: --bugfix 1667427
600: --if calling the following procedure returns l_current_intraop_step as 5,
601: --then it is a completed scrap,
602:
603: wsmpoprn.get_current_op(p_wip_entity_id => l_wip_entity_id,
604: p_current_op_seq => l_current_op_seq,
605: p_current_op_step => l_current_intraop_step,
606: p_next_mand_step => l_next_mand_step,
607: x_error_code => x_return_code,

Line 2873: WSMPOPRN.get_current_op(l_wip_entity_id,

2869: -- we call this routine only if we are currently in a std op,
2870: -- since mandatory steps do not make sense for nso.
2871: l_stmt_num := 290;
2872: if l_wo_std_op_id is not null then
2873: WSMPOPRN.get_current_op(l_wip_entity_id,
2874: l_current_op_seq,
2875: l_current_intraop_step,
2876: l_next_mand_step,
2877: x_return_code,

Line 2887: ||'): Returned success from WSMPOPRN.get_current_op');

2883: return(x_return_code);
2884: ELSE
2885: if (l_debug = 'Y') then
2886: fnd_file.put_line(fnd_file.log, 'WSMPLBMI.custom_validation(stmt_num='||l_stmt_num
2887: ||'): Returned success from WSMPOPRN.get_current_op');
2888: end if;
2889: END IF;
2890: else
2891: l_next_mand_step := null;

Line 2951: l_intra_op_flag_value := WSMPOPRN.get_intra_operation_value

2947: l_std_operation_id := l_std_op_id;
2948:
2949: l_stmt_num := 300;
2950:
2951: l_intra_op_flag_value := WSMPOPRN.get_intra_operation_value
2952: (l_std_operation_id,
2953: x_return_code,
2954: x_err_buf);
2955: --move enh end

Line 2965: ||'): Returned success from WSMPOPRN.get_intra_operation_value');

2961: return(x_return_code);
2962: ELSE
2963: if (l_debug = 'Y') then
2964: fnd_file.put_line(fnd_file.log, 'WSMPLBMI.custom_validation(stmt_num='||l_stmt_num
2965: ||'): Returned success from WSMPOPRN.get_intra_operation_value');
2966: end if;
2967: END IF;
2968:
2969: l_stmt_num := 305;

Line 2971: l_next_mand_step := WSMPOPRN.get_next_mandatory_step(0, l_intra_op_flag_value);

2967: END IF;
2968:
2969: l_stmt_num := 305;
2970:
2971: l_next_mand_step := WSMPOPRN.get_next_mandatory_step(0, l_intra_op_flag_value);
2972: -- l_next_mand_step is now the mandatory intra-op in p_to_op_seq_num
2973:
2974: IF (l_next_mand_step > 0) THEN -- there is a mandatory intraop
2975: IF ((l_scrap_qty>0) AND (l_scrap_at_operation_flag=2) AND (l_next_mand_step IN (WIP_CONSTANTS.QUEUE,

Line 5217: -- WSMPOPRN.disable_operations (l_wip_entity_id,

5213: --** VJ: Start Deletions for removal of 9999 **--
5214: -- BA: CZH.BUG2168828
5215: -- IF ( l_temp <> 0 ) THEN
5216: --l_stmt_num := 512;
5217: -- WSMPOPRN.disable_operations (l_wip_entity_id,
5218: -- p_org_id,
5219: -- p_fm_op_seq_num,
5220: -- x_return_code,
5221: -- x_err_buf);

Line 5232: -- ||'): Returned success from WSMPOPRN.disable_operations');

5228: -- return(x_return_code);
5229: -- ELSE
5230: -- if (l_debug = 'Y') then
5231: -- fnd_file.put_line(fnd_file.log, 'WSMPLBMI.custom_validation(stmt_num='||l_stmt_num
5232: -- ||'): Returned success from WSMPOPRN.disable_operations');
5233: -- end if;
5234: -- END IF;
5235: -- EA: CZH.BUG2168828
5236: --** VJ: End Deletions for removal of 9999 **--

Line 5280: WSMPOPRN.add_operation(l_txn_type,

5276: ELSE
5277: l_new_op_txn_qty := l_converted_txn_qty;
5278: END IF;
5279:
5280: WSMPOPRN.add_operation(l_txn_type,
5281: 1,
5282: l_wip_entity_id,
5283: p_org_id,
5284: l_wo_op_seq_num,

Line 5318: ||'): Returned success from WSMPOPRN.add_operation');

5314: return(x_return_code);
5315: ELSE
5316: if (l_debug = 'Y') then
5317: fnd_file.put_line(fnd_file.log, 'WSMPLBMI.custom_validation(stmt_num='||l_stmt_num
5318: ||'): Returned success from WSMPOPRN.add_operation');
5319: end if;
5320:
5321: END IF;
5322:

Line 7937: l_new_name := WSMPOPRN.update_job_name(l_wip_entity_id,

7933: );
7934: END IF;
7935:
7936: l_stmt_num := 130.3;
7937: l_new_name := WSMPOPRN.update_job_name(l_wip_entity_id,
7938: l_subinventory,
7939: l_organization_id,
7940: l_transaction_type,
7941: l_update_flag,

Line 8079: l_new_name := WSMPOPRN.update_job_name(l_wip_entity_id,

8075: ELSIF (l_transaction_type = 4) THEN
8076: l_temp_txn_type := 3;
8077: END IF;
8078:
8079: l_new_name := WSMPOPRN.update_job_name(l_wip_entity_id,
8080: l_subinventory,
8081: l_organization_id,
8082: l_temp_txn_type,
8083: l_update_flag,

Line 8860: WSMPOPRN.call_infinite_scheduler(

8856: ELSE
8857: l_new_op_txn_qty := l_primary_quantity;
8858: END IF;
8859: l_stmt_num := 250.1;
8860: WSMPOPRN.call_infinite_scheduler(
8861: x_error_code => x_return_code,
8862: x_error_msg => l_error_msg,
8863: p_jump_flag => l_jump_flag,
8864: p_wip_entity_id => l_wip_entity_id,

Line 8872: FND_FILE.PUT_LINE(FND_FILE.LOG, 'WSMPOPRN.call_infinite_scheduler returned success');

8868: p_to_job_op_seq_num => l_max_op_seq,
8869: p_scheQuantity => l_new_op_txn_qty);
8870: IF (x_return_code = 0) THEN
8871: IF (g_mrp_debug='Y') THEN
8872: FND_FILE.PUT_LINE(FND_FILE.LOG, 'WSMPOPRN.call_infinite_scheduler returned success');
8873: END IF;
8874: ELSE
8875: l_error_msg := x_error_msg;
8876: FND_FILE.PUT_LINE(FND_FILE.LOG,'WSMPLBMI.custom_validation' ||'(stmt_num='||l_stmt_num||') : '||substrb(l_error_msg, 1,4000));