15: from wip_parameters
16: where organization_id = orgID;
17:
18: if ( mandatoryScrapFlag = 1 and scrapAcctID IS null ) then
19: fnd_message.set_name('WIP', 'WMA SCRAP ACCT REQUIRED');
20: errMsg := fnd_message.get;
21: return false;
22: end if;
23:
16: where organization_id = orgID;
17:
18: if ( mandatoryScrapFlag = 1 and scrapAcctID IS null ) then
19: fnd_message.set_name('WIP', 'WMA SCRAP ACCT REQUIRED');
20: errMsg := fnd_message.get;
21: return false;
22: end if;
23:
24: return true;
51: begin
52: if(wip_picking_pub.is_job_pick_released(p_wip_entity_id => p_wipEntityID,
53: p_org_id => p_orgID)) then
54: x_displayWarning := fnd_api.g_true;
55: fnd_message.set_name('WIP', 'WIP_PICK_SCRAP_WARNING');
56: x_warningMsg := fnd_message.get;
57: else
58: x_displayWarning := fnd_api.g_false;
59: end if;
52: if(wip_picking_pub.is_job_pick_released(p_wip_entity_id => p_wipEntityID,
53: p_org_id => p_orgID)) then
54: x_displayWarning := fnd_api.g_true;
55: fnd_message.set_name('WIP', 'WIP_PICK_SCRAP_WARNING');
56: x_warningMsg := fnd_message.get;
57: else
58: x_displayWarning := fnd_api.g_false;
59: end if;
60: end;