216: and rownum = 1;
217:
218: select operating_unit
219: INTO l_operating_unit_id
220: FROM org_organization_definitions
221: WHERE organization_id=p_org ; --3983540
222: fnd_global.apps_initialize(l_user_id, l_resp_id, l_application_id);
223:
224: if nvl(FND_PROFILE.value('MRP_DISABLE_PROJECT_VALIDATION'),'N') = 'Y' then
321: and rownum = 1;
322:
323: select operating_unit
324: INTO l_operating_unit_id
325: FROM org_organization_definitions
326: WHERE organization_id=p_org ; --3983540
327:
328: fnd_global.apps_initialize(l_user_id, l_resp_id, l_application_id);
329: