426:
427: --------------------------------------------------------------
428: l_debugInfo := 'Get and Set ORG_ID attribute ';
429: --------------------------------------------------------------
430: --FND_PROFILE.GET('ORG_ID' , l_orgId );
431: -- 8990469 : MOAC
432: l_orgId := mo_global.get_current_org_id;
433: if l_orgId is null then
434: FND_PROFILE.GET('ORG_ID' , l_orgId );
430: --FND_PROFILE.GET('ORG_ID' , l_orgId );
431: -- 8990469 : MOAC
432: l_orgId := mo_global.get_current_org_id;
433: if l_orgId is null then
434: FND_PROFILE.GET('ORG_ID' , l_orgId );
435: end if;
436:
437: WF_ENGINE.SetItemAttrNumber(l_itemType, l_itemKey, 'ORG_ID', l_orgId);
438:
1002:
1003: --------------------------------------------------------------
1004: l_debugInfo := 'Get and Set ORG_ID attribute ';
1005: --------------------------------------------------------------
1006: -- FND_PROFILE.GET('ORG_ID' , l_orgId );
1007: -- 8990469 : MOAC
1008: l_orgId := mo_global.get_current_org_id;
1009: if l_orgId is null then
1010: FND_PROFILE.GET('ORG_ID' , l_orgId );
1006: -- FND_PROFILE.GET('ORG_ID' , l_orgId );
1007: -- 8990469 : MOAC
1008: l_orgId := mo_global.get_current_org_id;
1009: if l_orgId is null then
1010: FND_PROFILE.GET('ORG_ID' , l_orgId );
1011: end if;
1012:
1013: WF_ENGINE.SetItemAttrNumber(l_itemType, l_itemKey, 'ORG_ID', l_orgId);
1014:
1381: l_days := round(l_today - p_billedStartDate);
1382: --------------------------------------------------------------
1383: l_debugInfo := 'Get and Set ORG_ID attribute ';
1384: --------------------------------------------------------------
1385: --FND_PROFILE.GET('ORG_ID' , l_orgId );
1386: -- 8990469 : MOAC
1387: l_orgId := mo_global.get_current_org_id;
1388: if l_orgId is null then
1389: FND_PROFILE.GET('ORG_ID' , l_orgId );
1385: --FND_PROFILE.GET('ORG_ID' , l_orgId );
1386: -- 8990469 : MOAC
1387: l_orgId := mo_global.get_current_org_id;
1388: if l_orgId is null then
1389: FND_PROFILE.GET('ORG_ID' , l_orgId );
1390: end if;
1391:
1392: WF_ENGINE.SetItemAttrNumber(l_itemType, l_itemKey, 'ORG_ID', l_orgId);
1393: