DBA Data[Home] [Help]

APPS.PSB_WORKSHEET dependencies on FND_API

Line 185: l_rec_found VARCHAR2(1) := FND_API.G_FALSE;

181:
182: l_count_dist NUMBER;
183: l_lud_dist DATE;
184:
185: l_rec_found VARCHAR2(1) := FND_API.G_FALSE;
186: l_restart VARCHAR2(1);
187:
188: cursor c_Reent_Status is
189: select to_number(attribute1) count_ps1,

Line 451: l_rec_found := FND_API.G_TRUE;

447: end loop;
448:
449: for c_Reent_Status_Rec in c_Reent_Status loop
450:
451: l_rec_found := FND_API.G_TRUE;
452:
453: if ((nvl(c_Reent_Status_Rec.count_ps1, FND_API.G_MISS_NUM) <> nvl(l_count_ps1, FND_API.G_MISS_NUM)) or
454: (nvl(c_Reent_Status_Rec.lud_ps1, FND_API.G_MISS_DATE) <> nvl(l_lud_ps1, FND_API.G_MISS_DATE)) or
455: (nvl(c_Reent_Status_Rec.count_ps2, FND_API.G_MISS_NUM) <> nvl(l_count_ps2, FND_API.G_MISS_NUM)) or

Line 453: if ((nvl(c_Reent_Status_Rec.count_ps1, FND_API.G_MISS_NUM) <> nvl(l_count_ps1, FND_API.G_MISS_NUM)) or

449: for c_Reent_Status_Rec in c_Reent_Status loop
450:
451: l_rec_found := FND_API.G_TRUE;
452:
453: if ((nvl(c_Reent_Status_Rec.count_ps1, FND_API.G_MISS_NUM) <> nvl(l_count_ps1, FND_API.G_MISS_NUM)) or
454: (nvl(c_Reent_Status_Rec.lud_ps1, FND_API.G_MISS_DATE) <> nvl(l_lud_ps1, FND_API.G_MISS_DATE)) or
455: (nvl(c_Reent_Status_Rec.count_ps2, FND_API.G_MISS_NUM) <> nvl(l_count_ps2, FND_API.G_MISS_NUM)) or
456: (nvl(c_Reent_Status_Rec.lud_ps2, FND_API.G_MISS_DATE) <> nvl(l_lud_ps2, FND_API.G_MISS_DATE)) or
457: (nvl(c_Reent_Status_Rec.count_glset1, FND_API.G_MISS_NUM) <> nvl(l_count_glset1, FND_API.G_MISS_NUM)) or

Line 454: (nvl(c_Reent_Status_Rec.lud_ps1, FND_API.G_MISS_DATE) <> nvl(l_lud_ps1, FND_API.G_MISS_DATE)) or

450:
451: l_rec_found := FND_API.G_TRUE;
452:
453: if ((nvl(c_Reent_Status_Rec.count_ps1, FND_API.G_MISS_NUM) <> nvl(l_count_ps1, FND_API.G_MISS_NUM)) or
454: (nvl(c_Reent_Status_Rec.lud_ps1, FND_API.G_MISS_DATE) <> nvl(l_lud_ps1, FND_API.G_MISS_DATE)) or
455: (nvl(c_Reent_Status_Rec.count_ps2, FND_API.G_MISS_NUM) <> nvl(l_count_ps2, FND_API.G_MISS_NUM)) or
456: (nvl(c_Reent_Status_Rec.lud_ps2, FND_API.G_MISS_DATE) <> nvl(l_lud_ps2, FND_API.G_MISS_DATE)) or
457: (nvl(c_Reent_Status_Rec.count_glset1, FND_API.G_MISS_NUM) <> nvl(l_count_glset1, FND_API.G_MISS_NUM)) or
458: (nvl(c_Reent_Status_Rec.lud_glset1, FND_API.G_MISS_DATE) <> nvl(l_lud_glset1, FND_API.G_MISS_DATE)) or

Line 455: (nvl(c_Reent_Status_Rec.count_ps2, FND_API.G_MISS_NUM) <> nvl(l_count_ps2, FND_API.G_MISS_NUM)) or

451: l_rec_found := FND_API.G_TRUE;
452:
453: if ((nvl(c_Reent_Status_Rec.count_ps1, FND_API.G_MISS_NUM) <> nvl(l_count_ps1, FND_API.G_MISS_NUM)) or
454: (nvl(c_Reent_Status_Rec.lud_ps1, FND_API.G_MISS_DATE) <> nvl(l_lud_ps1, FND_API.G_MISS_DATE)) or
455: (nvl(c_Reent_Status_Rec.count_ps2, FND_API.G_MISS_NUM) <> nvl(l_count_ps2, FND_API.G_MISS_NUM)) or
456: (nvl(c_Reent_Status_Rec.lud_ps2, FND_API.G_MISS_DATE) <> nvl(l_lud_ps2, FND_API.G_MISS_DATE)) or
457: (nvl(c_Reent_Status_Rec.count_glset1, FND_API.G_MISS_NUM) <> nvl(l_count_glset1, FND_API.G_MISS_NUM)) or
458: (nvl(c_Reent_Status_Rec.lud_glset1, FND_API.G_MISS_DATE) <> nvl(l_lud_glset1, FND_API.G_MISS_DATE)) or
459: (nvl(c_Reent_Status_Rec.count_glset2, FND_API.G_MISS_NUM) <> nvl(l_count_glset2, FND_API.G_MISS_NUM)) or

Line 456: (nvl(c_Reent_Status_Rec.lud_ps2, FND_API.G_MISS_DATE) <> nvl(l_lud_ps2, FND_API.G_MISS_DATE)) or

452:
453: if ((nvl(c_Reent_Status_Rec.count_ps1, FND_API.G_MISS_NUM) <> nvl(l_count_ps1, FND_API.G_MISS_NUM)) or
454: (nvl(c_Reent_Status_Rec.lud_ps1, FND_API.G_MISS_DATE) <> nvl(l_lud_ps1, FND_API.G_MISS_DATE)) or
455: (nvl(c_Reent_Status_Rec.count_ps2, FND_API.G_MISS_NUM) <> nvl(l_count_ps2, FND_API.G_MISS_NUM)) or
456: (nvl(c_Reent_Status_Rec.lud_ps2, FND_API.G_MISS_DATE) <> nvl(l_lud_ps2, FND_API.G_MISS_DATE)) or
457: (nvl(c_Reent_Status_Rec.count_glset1, FND_API.G_MISS_NUM) <> nvl(l_count_glset1, FND_API.G_MISS_NUM)) or
458: (nvl(c_Reent_Status_Rec.lud_glset1, FND_API.G_MISS_DATE) <> nvl(l_lud_glset1, FND_API.G_MISS_DATE)) or
459: (nvl(c_Reent_Status_Rec.count_glset2, FND_API.G_MISS_NUM) <> nvl(l_count_glset2, FND_API.G_MISS_NUM)) or
460: (nvl(c_Reent_Status_Rec.lud_glset2, FND_API.G_MISS_DATE) <> nvl(l_lud_glset2, FND_API.G_MISS_DATE)) or

Line 457: (nvl(c_Reent_Status_Rec.count_glset1, FND_API.G_MISS_NUM) <> nvl(l_count_glset1, FND_API.G_MISS_NUM)) or

453: if ((nvl(c_Reent_Status_Rec.count_ps1, FND_API.G_MISS_NUM) <> nvl(l_count_ps1, FND_API.G_MISS_NUM)) or
454: (nvl(c_Reent_Status_Rec.lud_ps1, FND_API.G_MISS_DATE) <> nvl(l_lud_ps1, FND_API.G_MISS_DATE)) or
455: (nvl(c_Reent_Status_Rec.count_ps2, FND_API.G_MISS_NUM) <> nvl(l_count_ps2, FND_API.G_MISS_NUM)) or
456: (nvl(c_Reent_Status_Rec.lud_ps2, FND_API.G_MISS_DATE) <> nvl(l_lud_ps2, FND_API.G_MISS_DATE)) or
457: (nvl(c_Reent_Status_Rec.count_glset1, FND_API.G_MISS_NUM) <> nvl(l_count_glset1, FND_API.G_MISS_NUM)) or
458: (nvl(c_Reent_Status_Rec.lud_glset1, FND_API.G_MISS_DATE) <> nvl(l_lud_glset1, FND_API.G_MISS_DATE)) or
459: (nvl(c_Reent_Status_Rec.count_glset2, FND_API.G_MISS_NUM) <> nvl(l_count_glset2, FND_API.G_MISS_NUM)) or
460: (nvl(c_Reent_Status_Rec.lud_glset2, FND_API.G_MISS_DATE) <> nvl(l_lud_glset2, FND_API.G_MISS_DATE)) or
461: (nvl(c_Reent_Status_Rec.count_ar1, FND_API.G_MISS_NUM) <> nvl(l_count_ar1, FND_API.G_MISS_NUM)) or

Line 458: (nvl(c_Reent_Status_Rec.lud_glset1, FND_API.G_MISS_DATE) <> nvl(l_lud_glset1, FND_API.G_MISS_DATE)) or

454: (nvl(c_Reent_Status_Rec.lud_ps1, FND_API.G_MISS_DATE) <> nvl(l_lud_ps1, FND_API.G_MISS_DATE)) or
455: (nvl(c_Reent_Status_Rec.count_ps2, FND_API.G_MISS_NUM) <> nvl(l_count_ps2, FND_API.G_MISS_NUM)) or
456: (nvl(c_Reent_Status_Rec.lud_ps2, FND_API.G_MISS_DATE) <> nvl(l_lud_ps2, FND_API.G_MISS_DATE)) or
457: (nvl(c_Reent_Status_Rec.count_glset1, FND_API.G_MISS_NUM) <> nvl(l_count_glset1, FND_API.G_MISS_NUM)) or
458: (nvl(c_Reent_Status_Rec.lud_glset1, FND_API.G_MISS_DATE) <> nvl(l_lud_glset1, FND_API.G_MISS_DATE)) or
459: (nvl(c_Reent_Status_Rec.count_glset2, FND_API.G_MISS_NUM) <> nvl(l_count_glset2, FND_API.G_MISS_NUM)) or
460: (nvl(c_Reent_Status_Rec.lud_glset2, FND_API.G_MISS_DATE) <> nvl(l_lud_glset2, FND_API.G_MISS_DATE)) or
461: (nvl(c_Reent_Status_Rec.count_ar1, FND_API.G_MISS_NUM) <> nvl(l_count_ar1, FND_API.G_MISS_NUM)) or
462: (nvl(c_Reent_Status_Rec.lud_ar1, FND_API.G_MISS_DATE) <> nvl(l_lud_ar1, FND_API.G_MISS_DATE)) or

Line 459: (nvl(c_Reent_Status_Rec.count_glset2, FND_API.G_MISS_NUM) <> nvl(l_count_glset2, FND_API.G_MISS_NUM)) or

455: (nvl(c_Reent_Status_Rec.count_ps2, FND_API.G_MISS_NUM) <> nvl(l_count_ps2, FND_API.G_MISS_NUM)) or
456: (nvl(c_Reent_Status_Rec.lud_ps2, FND_API.G_MISS_DATE) <> nvl(l_lud_ps2, FND_API.G_MISS_DATE)) or
457: (nvl(c_Reent_Status_Rec.count_glset1, FND_API.G_MISS_NUM) <> nvl(l_count_glset1, FND_API.G_MISS_NUM)) or
458: (nvl(c_Reent_Status_Rec.lud_glset1, FND_API.G_MISS_DATE) <> nvl(l_lud_glset1, FND_API.G_MISS_DATE)) or
459: (nvl(c_Reent_Status_Rec.count_glset2, FND_API.G_MISS_NUM) <> nvl(l_count_glset2, FND_API.G_MISS_NUM)) or
460: (nvl(c_Reent_Status_Rec.lud_glset2, FND_API.G_MISS_DATE) <> nvl(l_lud_glset2, FND_API.G_MISS_DATE)) or
461: (nvl(c_Reent_Status_Rec.count_ar1, FND_API.G_MISS_NUM) <> nvl(l_count_ar1, FND_API.G_MISS_NUM)) or
462: (nvl(c_Reent_Status_Rec.lud_ar1, FND_API.G_MISS_DATE) <> nvl(l_lud_ar1, FND_API.G_MISS_DATE)) or
463: (nvl(c_Reent_Status_Rec.count_ar2, FND_API.G_MISS_NUM) <> nvl(l_count_ar2, FND_API.G_MISS_NUM)) or

Line 460: (nvl(c_Reent_Status_Rec.lud_glset2, FND_API.G_MISS_DATE) <> nvl(l_lud_glset2, FND_API.G_MISS_DATE)) or

456: (nvl(c_Reent_Status_Rec.lud_ps2, FND_API.G_MISS_DATE) <> nvl(l_lud_ps2, FND_API.G_MISS_DATE)) or
457: (nvl(c_Reent_Status_Rec.count_glset1, FND_API.G_MISS_NUM) <> nvl(l_count_glset1, FND_API.G_MISS_NUM)) or
458: (nvl(c_Reent_Status_Rec.lud_glset1, FND_API.G_MISS_DATE) <> nvl(l_lud_glset1, FND_API.G_MISS_DATE)) or
459: (nvl(c_Reent_Status_Rec.count_glset2, FND_API.G_MISS_NUM) <> nvl(l_count_glset2, FND_API.G_MISS_NUM)) or
460: (nvl(c_Reent_Status_Rec.lud_glset2, FND_API.G_MISS_DATE) <> nvl(l_lud_glset2, FND_API.G_MISS_DATE)) or
461: (nvl(c_Reent_Status_Rec.count_ar1, FND_API.G_MISS_NUM) <> nvl(l_count_ar1, FND_API.G_MISS_NUM)) or
462: (nvl(c_Reent_Status_Rec.lud_ar1, FND_API.G_MISS_DATE) <> nvl(l_lud_ar1, FND_API.G_MISS_DATE)) or
463: (nvl(c_Reent_Status_Rec.count_ar2, FND_API.G_MISS_NUM) <> nvl(l_count_ar2, FND_API.G_MISS_NUM)) or
464: (nvl(c_Reent_Status_Rec.lud_ar2, FND_API.G_MISS_DATE) <> nvl(l_lud_ar2, FND_API.G_MISS_DATE)) or

Line 461: (nvl(c_Reent_Status_Rec.count_ar1, FND_API.G_MISS_NUM) <> nvl(l_count_ar1, FND_API.G_MISS_NUM)) or

457: (nvl(c_Reent_Status_Rec.count_glset1, FND_API.G_MISS_NUM) <> nvl(l_count_glset1, FND_API.G_MISS_NUM)) or
458: (nvl(c_Reent_Status_Rec.lud_glset1, FND_API.G_MISS_DATE) <> nvl(l_lud_glset1, FND_API.G_MISS_DATE)) or
459: (nvl(c_Reent_Status_Rec.count_glset2, FND_API.G_MISS_NUM) <> nvl(l_count_glset2, FND_API.G_MISS_NUM)) or
460: (nvl(c_Reent_Status_Rec.lud_glset2, FND_API.G_MISS_DATE) <> nvl(l_lud_glset2, FND_API.G_MISS_DATE)) or
461: (nvl(c_Reent_Status_Rec.count_ar1, FND_API.G_MISS_NUM) <> nvl(l_count_ar1, FND_API.G_MISS_NUM)) or
462: (nvl(c_Reent_Status_Rec.lud_ar1, FND_API.G_MISS_DATE) <> nvl(l_lud_ar1, FND_API.G_MISS_DATE)) or
463: (nvl(c_Reent_Status_Rec.count_ar2, FND_API.G_MISS_NUM) <> nvl(l_count_ar2, FND_API.G_MISS_NUM)) or
464: (nvl(c_Reent_Status_Rec.lud_ar2, FND_API.G_MISS_DATE) <> nvl(l_lud_ar2, FND_API.G_MISS_DATE)) or
465: (nvl(c_Reent_Status_Rec.count_bc, FND_API.G_MISS_NUM) <> nvl(l_count_bc, FND_API.G_MISS_NUM)) or

Line 462: (nvl(c_Reent_Status_Rec.lud_ar1, FND_API.G_MISS_DATE) <> nvl(l_lud_ar1, FND_API.G_MISS_DATE)) or

458: (nvl(c_Reent_Status_Rec.lud_glset1, FND_API.G_MISS_DATE) <> nvl(l_lud_glset1, FND_API.G_MISS_DATE)) or
459: (nvl(c_Reent_Status_Rec.count_glset2, FND_API.G_MISS_NUM) <> nvl(l_count_glset2, FND_API.G_MISS_NUM)) or
460: (nvl(c_Reent_Status_Rec.lud_glset2, FND_API.G_MISS_DATE) <> nvl(l_lud_glset2, FND_API.G_MISS_DATE)) or
461: (nvl(c_Reent_Status_Rec.count_ar1, FND_API.G_MISS_NUM) <> nvl(l_count_ar1, FND_API.G_MISS_NUM)) or
462: (nvl(c_Reent_Status_Rec.lud_ar1, FND_API.G_MISS_DATE) <> nvl(l_lud_ar1, FND_API.G_MISS_DATE)) or
463: (nvl(c_Reent_Status_Rec.count_ar2, FND_API.G_MISS_NUM) <> nvl(l_count_ar2, FND_API.G_MISS_NUM)) or
464: (nvl(c_Reent_Status_Rec.lud_ar2, FND_API.G_MISS_DATE) <> nvl(l_lud_ar2, FND_API.G_MISS_DATE)) or
465: (nvl(c_Reent_Status_Rec.count_bc, FND_API.G_MISS_NUM) <> nvl(l_count_bc, FND_API.G_MISS_NUM)) or
466: (nvl(c_Reent_Status_Rec.lud_bc, FND_API.G_MISS_DATE) <> nvl(l_lud_bc, FND_API.G_MISS_DATE)) or

Line 463: (nvl(c_Reent_Status_Rec.count_ar2, FND_API.G_MISS_NUM) <> nvl(l_count_ar2, FND_API.G_MISS_NUM)) or

459: (nvl(c_Reent_Status_Rec.count_glset2, FND_API.G_MISS_NUM) <> nvl(l_count_glset2, FND_API.G_MISS_NUM)) or
460: (nvl(c_Reent_Status_Rec.lud_glset2, FND_API.G_MISS_DATE) <> nvl(l_lud_glset2, FND_API.G_MISS_DATE)) or
461: (nvl(c_Reent_Status_Rec.count_ar1, FND_API.G_MISS_NUM) <> nvl(l_count_ar1, FND_API.G_MISS_NUM)) or
462: (nvl(c_Reent_Status_Rec.lud_ar1, FND_API.G_MISS_DATE) <> nvl(l_lud_ar1, FND_API.G_MISS_DATE)) or
463: (nvl(c_Reent_Status_Rec.count_ar2, FND_API.G_MISS_NUM) <> nvl(l_count_ar2, FND_API.G_MISS_NUM)) or
464: (nvl(c_Reent_Status_Rec.lud_ar2, FND_API.G_MISS_DATE) <> nvl(l_lud_ar2, FND_API.G_MISS_DATE)) or
465: (nvl(c_Reent_Status_Rec.count_bc, FND_API.G_MISS_NUM) <> nvl(l_count_bc, FND_API.G_MISS_NUM)) or
466: (nvl(c_Reent_Status_Rec.lud_bc, FND_API.G_MISS_DATE) <> nvl(l_lud_bc, FND_API.G_MISS_DATE)) or
467: (nvl(c_Reent_Status_Rec.count_bg1, FND_API.G_MISS_NUM) <> nvl(l_count_bg1, FND_API.G_MISS_NUM)) or

Line 464: (nvl(c_Reent_Status_Rec.lud_ar2, FND_API.G_MISS_DATE) <> nvl(l_lud_ar2, FND_API.G_MISS_DATE)) or

460: (nvl(c_Reent_Status_Rec.lud_glset2, FND_API.G_MISS_DATE) <> nvl(l_lud_glset2, FND_API.G_MISS_DATE)) or
461: (nvl(c_Reent_Status_Rec.count_ar1, FND_API.G_MISS_NUM) <> nvl(l_count_ar1, FND_API.G_MISS_NUM)) or
462: (nvl(c_Reent_Status_Rec.lud_ar1, FND_API.G_MISS_DATE) <> nvl(l_lud_ar1, FND_API.G_MISS_DATE)) or
463: (nvl(c_Reent_Status_Rec.count_ar2, FND_API.G_MISS_NUM) <> nvl(l_count_ar2, FND_API.G_MISS_NUM)) or
464: (nvl(c_Reent_Status_Rec.lud_ar2, FND_API.G_MISS_DATE) <> nvl(l_lud_ar2, FND_API.G_MISS_DATE)) or
465: (nvl(c_Reent_Status_Rec.count_bc, FND_API.G_MISS_NUM) <> nvl(l_count_bc, FND_API.G_MISS_NUM)) or
466: (nvl(c_Reent_Status_Rec.lud_bc, FND_API.G_MISS_DATE) <> nvl(l_lud_bc, FND_API.G_MISS_DATE)) or
467: (nvl(c_Reent_Status_Rec.count_bg1, FND_API.G_MISS_NUM) <> nvl(l_count_bg1, FND_API.G_MISS_NUM)) or
468: (nvl(c_Reent_Status_Rec.lud_bg1, FND_API.G_MISS_DATE) <> nvl(l_lud_bg1, FND_API.G_MISS_DATE)) or

Line 465: (nvl(c_Reent_Status_Rec.count_bc, FND_API.G_MISS_NUM) <> nvl(l_count_bc, FND_API.G_MISS_NUM)) or

461: (nvl(c_Reent_Status_Rec.count_ar1, FND_API.G_MISS_NUM) <> nvl(l_count_ar1, FND_API.G_MISS_NUM)) or
462: (nvl(c_Reent_Status_Rec.lud_ar1, FND_API.G_MISS_DATE) <> nvl(l_lud_ar1, FND_API.G_MISS_DATE)) or
463: (nvl(c_Reent_Status_Rec.count_ar2, FND_API.G_MISS_NUM) <> nvl(l_count_ar2, FND_API.G_MISS_NUM)) or
464: (nvl(c_Reent_Status_Rec.lud_ar2, FND_API.G_MISS_DATE) <> nvl(l_lud_ar2, FND_API.G_MISS_DATE)) or
465: (nvl(c_Reent_Status_Rec.count_bc, FND_API.G_MISS_NUM) <> nvl(l_count_bc, FND_API.G_MISS_NUM)) or
466: (nvl(c_Reent_Status_Rec.lud_bc, FND_API.G_MISS_DATE) <> nvl(l_lud_bc, FND_API.G_MISS_DATE)) or
467: (nvl(c_Reent_Status_Rec.count_bg1, FND_API.G_MISS_NUM) <> nvl(l_count_bg1, FND_API.G_MISS_NUM)) or
468: (nvl(c_Reent_Status_Rec.lud_bg1, FND_API.G_MISS_DATE) <> nvl(l_lud_bg1, FND_API.G_MISS_DATE)) or
469: (nvl(c_Reent_Status_Rec.count_bg2, FND_API.G_MISS_NUM) <> nvl(l_count_bg2, FND_API.G_MISS_NUM)) or

Line 466: (nvl(c_Reent_Status_Rec.lud_bc, FND_API.G_MISS_DATE) <> nvl(l_lud_bc, FND_API.G_MISS_DATE)) or

462: (nvl(c_Reent_Status_Rec.lud_ar1, FND_API.G_MISS_DATE) <> nvl(l_lud_ar1, FND_API.G_MISS_DATE)) or
463: (nvl(c_Reent_Status_Rec.count_ar2, FND_API.G_MISS_NUM) <> nvl(l_count_ar2, FND_API.G_MISS_NUM)) or
464: (nvl(c_Reent_Status_Rec.lud_ar2, FND_API.G_MISS_DATE) <> nvl(l_lud_ar2, FND_API.G_MISS_DATE)) or
465: (nvl(c_Reent_Status_Rec.count_bc, FND_API.G_MISS_NUM) <> nvl(l_count_bc, FND_API.G_MISS_NUM)) or
466: (nvl(c_Reent_Status_Rec.lud_bc, FND_API.G_MISS_DATE) <> nvl(l_lud_bc, FND_API.G_MISS_DATE)) or
467: (nvl(c_Reent_Status_Rec.count_bg1, FND_API.G_MISS_NUM) <> nvl(l_count_bg1, FND_API.G_MISS_NUM)) or
468: (nvl(c_Reent_Status_Rec.lud_bg1, FND_API.G_MISS_DATE) <> nvl(l_lud_bg1, FND_API.G_MISS_DATE)) or
469: (nvl(c_Reent_Status_Rec.count_bg2, FND_API.G_MISS_NUM) <> nvl(l_count_bg2, FND_API.G_MISS_NUM)) or
470: (nvl(c_Reent_Status_Rec.lud_bg2, FND_API.G_MISS_DATE) <> nvl(l_lud_bg2, FND_API.G_MISS_DATE)) OR

Line 467: (nvl(c_Reent_Status_Rec.count_bg1, FND_API.G_MISS_NUM) <> nvl(l_count_bg1, FND_API.G_MISS_NUM)) or

463: (nvl(c_Reent_Status_Rec.count_ar2, FND_API.G_MISS_NUM) <> nvl(l_count_ar2, FND_API.G_MISS_NUM)) or
464: (nvl(c_Reent_Status_Rec.lud_ar2, FND_API.G_MISS_DATE) <> nvl(l_lud_ar2, FND_API.G_MISS_DATE)) or
465: (nvl(c_Reent_Status_Rec.count_bc, FND_API.G_MISS_NUM) <> nvl(l_count_bc, FND_API.G_MISS_NUM)) or
466: (nvl(c_Reent_Status_Rec.lud_bc, FND_API.G_MISS_DATE) <> nvl(l_lud_bc, FND_API.G_MISS_DATE)) or
467: (nvl(c_Reent_Status_Rec.count_bg1, FND_API.G_MISS_NUM) <> nvl(l_count_bg1, FND_API.G_MISS_NUM)) or
468: (nvl(c_Reent_Status_Rec.lud_bg1, FND_API.G_MISS_DATE) <> nvl(l_lud_bg1, FND_API.G_MISS_DATE)) or
469: (nvl(c_Reent_Status_Rec.count_bg2, FND_API.G_MISS_NUM) <> nvl(l_count_bg2, FND_API.G_MISS_NUM)) or
470: (nvl(c_Reent_Status_Rec.lud_bg2, FND_API.G_MISS_DATE) <> nvl(l_lud_bg2, FND_API.G_MISS_DATE)) OR
471:

Line 468: (nvl(c_Reent_Status_Rec.lud_bg1, FND_API.G_MISS_DATE) <> nvl(l_lud_bg1, FND_API.G_MISS_DATE)) or

464: (nvl(c_Reent_Status_Rec.lud_ar2, FND_API.G_MISS_DATE) <> nvl(l_lud_ar2, FND_API.G_MISS_DATE)) or
465: (nvl(c_Reent_Status_Rec.count_bc, FND_API.G_MISS_NUM) <> nvl(l_count_bc, FND_API.G_MISS_NUM)) or
466: (nvl(c_Reent_Status_Rec.lud_bc, FND_API.G_MISS_DATE) <> nvl(l_lud_bc, FND_API.G_MISS_DATE)) or
467: (nvl(c_Reent_Status_Rec.count_bg1, FND_API.G_MISS_NUM) <> nvl(l_count_bg1, FND_API.G_MISS_NUM)) or
468: (nvl(c_Reent_Status_Rec.lud_bg1, FND_API.G_MISS_DATE) <> nvl(l_lud_bg1, FND_API.G_MISS_DATE)) or
469: (nvl(c_Reent_Status_Rec.count_bg2, FND_API.G_MISS_NUM) <> nvl(l_count_bg2, FND_API.G_MISS_NUM)) or
470: (nvl(c_Reent_Status_Rec.lud_bg2, FND_API.G_MISS_DATE) <> nvl(l_lud_bg2, FND_API.G_MISS_DATE)) OR
471:
472: /* Bug 3525832 Start */

Line 469: (nvl(c_Reent_Status_Rec.count_bg2, FND_API.G_MISS_NUM) <> nvl(l_count_bg2, FND_API.G_MISS_NUM)) or

465: (nvl(c_Reent_Status_Rec.count_bc, FND_API.G_MISS_NUM) <> nvl(l_count_bc, FND_API.G_MISS_NUM)) or
466: (nvl(c_Reent_Status_Rec.lud_bc, FND_API.G_MISS_DATE) <> nvl(l_lud_bc, FND_API.G_MISS_DATE)) or
467: (nvl(c_Reent_Status_Rec.count_bg1, FND_API.G_MISS_NUM) <> nvl(l_count_bg1, FND_API.G_MISS_NUM)) or
468: (nvl(c_Reent_Status_Rec.lud_bg1, FND_API.G_MISS_DATE) <> nvl(l_lud_bg1, FND_API.G_MISS_DATE)) or
469: (nvl(c_Reent_Status_Rec.count_bg2, FND_API.G_MISS_NUM) <> nvl(l_count_bg2, FND_API.G_MISS_NUM)) or
470: (nvl(c_Reent_Status_Rec.lud_bg2, FND_API.G_MISS_DATE) <> nvl(l_lud_bg2, FND_API.G_MISS_DATE)) OR
471:
472: /* Bug 3525832 Start */
473: (nvl(c_Reent_Status_Rec.gcd_ws, FND_API.G_MISS_DATE) <> nvl(g_gl_cutoff_period, FND_API.G_MISS_DATE))) THEN

Line 470: (nvl(c_Reent_Status_Rec.lud_bg2, FND_API.G_MISS_DATE) <> nvl(l_lud_bg2, FND_API.G_MISS_DATE)) OR

466: (nvl(c_Reent_Status_Rec.lud_bc, FND_API.G_MISS_DATE) <> nvl(l_lud_bc, FND_API.G_MISS_DATE)) or
467: (nvl(c_Reent_Status_Rec.count_bg1, FND_API.G_MISS_NUM) <> nvl(l_count_bg1, FND_API.G_MISS_NUM)) or
468: (nvl(c_Reent_Status_Rec.lud_bg1, FND_API.G_MISS_DATE) <> nvl(l_lud_bg1, FND_API.G_MISS_DATE)) or
469: (nvl(c_Reent_Status_Rec.count_bg2, FND_API.G_MISS_NUM) <> nvl(l_count_bg2, FND_API.G_MISS_NUM)) or
470: (nvl(c_Reent_Status_Rec.lud_bg2, FND_API.G_MISS_DATE) <> nvl(l_lud_bg2, FND_API.G_MISS_DATE)) OR
471:
472: /* Bug 3525832 Start */
473: (nvl(c_Reent_Status_Rec.gcd_ws, FND_API.G_MISS_DATE) <> nvl(g_gl_cutoff_period, FND_API.G_MISS_DATE))) THEN
474: /* Bug 3525832 End */

Line 473: (nvl(c_Reent_Status_Rec.gcd_ws, FND_API.G_MISS_DATE) <> nvl(g_gl_cutoff_period, FND_API.G_MISS_DATE))) THEN

469: (nvl(c_Reent_Status_Rec.count_bg2, FND_API.G_MISS_NUM) <> nvl(l_count_bg2, FND_API.G_MISS_NUM)) or
470: (nvl(c_Reent_Status_Rec.lud_bg2, FND_API.G_MISS_DATE) <> nvl(l_lud_bg2, FND_API.G_MISS_DATE)) OR
471:
472: /* Bug 3525832 Start */
473: (nvl(c_Reent_Status_Rec.gcd_ws, FND_API.G_MISS_DATE) <> nvl(g_gl_cutoff_period, FND_API.G_MISS_DATE))) THEN
474: /* Bug 3525832 End */
475:
476: begin
477: g_sp1_status := 'I';

Line 481: l_restart := FND_API.G_FALSE;

477: g_sp1_status := 'I';
478: g_sp2_status := 'I';
479: g_sp3_status := 'I';
480: g_sp4_status := 'I';
481: l_restart := FND_API.G_FALSE;
482: end;
483: else
484: begin
485:

Line 486: if ((nvl(c_Reent_Status_Rec.lud_de, FND_API.G_MISS_DATE) <> nvl(l_lud_de, FND_API.G_MISS_DATE)) or

482: end;
483: else
484: begin
485:
486: if ((nvl(c_Reent_Status_Rec.lud_de, FND_API.G_MISS_DATE) <> nvl(l_lud_de, FND_API.G_MISS_DATE)) or
487: (nvl(c_Reent_Status_Rec.count_assign, FND_API.G_MISS_NUM) <> nvl(l_count_assign, FND_API.G_MISS_NUM)) or
488: (nvl(c_Reent_Status_Rec.lud_assign, FND_API.G_MISS_DATE) <> nvl(l_lud_assign, FND_API.G_MISS_DATE)) or
489: (nvl(c_Reent_Status_Rec.count_rates, FND_API.G_MISS_NUM) <> nvl(l_count_rates, FND_API.G_MISS_NUM)) or
490: (nvl(c_Reent_Status_Rec.lud_rates, FND_API.G_MISS_DATE) <> nvl(l_lud_rates, FND_API.G_MISS_DATE)) or

Line 487: (nvl(c_Reent_Status_Rec.count_assign, FND_API.G_MISS_NUM) <> nvl(l_count_assign, FND_API.G_MISS_NUM)) or

483: else
484: begin
485:
486: if ((nvl(c_Reent_Status_Rec.lud_de, FND_API.G_MISS_DATE) <> nvl(l_lud_de, FND_API.G_MISS_DATE)) or
487: (nvl(c_Reent_Status_Rec.count_assign, FND_API.G_MISS_NUM) <> nvl(l_count_assign, FND_API.G_MISS_NUM)) or
488: (nvl(c_Reent_Status_Rec.lud_assign, FND_API.G_MISS_DATE) <> nvl(l_lud_assign, FND_API.G_MISS_DATE)) or
489: (nvl(c_Reent_Status_Rec.count_rates, FND_API.G_MISS_NUM) <> nvl(l_count_rates, FND_API.G_MISS_NUM)) or
490: (nvl(c_Reent_Status_Rec.lud_rates, FND_API.G_MISS_DATE) <> nvl(l_lud_rates, FND_API.G_MISS_DATE)) or
491: (nvl(c_Reent_Status_Rec.count_dist, FND_API.G_MISS_NUM) <> nvl(l_count_dist, FND_API.G_MISS_NUM)) or

Line 488: (nvl(c_Reent_Status_Rec.lud_assign, FND_API.G_MISS_DATE) <> nvl(l_lud_assign, FND_API.G_MISS_DATE)) or

484: begin
485:
486: if ((nvl(c_Reent_Status_Rec.lud_de, FND_API.G_MISS_DATE) <> nvl(l_lud_de, FND_API.G_MISS_DATE)) or
487: (nvl(c_Reent_Status_Rec.count_assign, FND_API.G_MISS_NUM) <> nvl(l_count_assign, FND_API.G_MISS_NUM)) or
488: (nvl(c_Reent_Status_Rec.lud_assign, FND_API.G_MISS_DATE) <> nvl(l_lud_assign, FND_API.G_MISS_DATE)) or
489: (nvl(c_Reent_Status_Rec.count_rates, FND_API.G_MISS_NUM) <> nvl(l_count_rates, FND_API.G_MISS_NUM)) or
490: (nvl(c_Reent_Status_Rec.lud_rates, FND_API.G_MISS_DATE) <> nvl(l_lud_rates, FND_API.G_MISS_DATE)) or
491: (nvl(c_Reent_Status_Rec.count_dist, FND_API.G_MISS_NUM) <> nvl(l_count_dist, FND_API.G_MISS_NUM)) or
492: (nvl(c_Reent_Status_Rec.lud_dist, FND_API.G_MISS_DATE) <> nvl(l_lud_dist, FND_API.G_MISS_DATE))) then

Line 489: (nvl(c_Reent_Status_Rec.count_rates, FND_API.G_MISS_NUM) <> nvl(l_count_rates, FND_API.G_MISS_NUM)) or

485:
486: if ((nvl(c_Reent_Status_Rec.lud_de, FND_API.G_MISS_DATE) <> nvl(l_lud_de, FND_API.G_MISS_DATE)) or
487: (nvl(c_Reent_Status_Rec.count_assign, FND_API.G_MISS_NUM) <> nvl(l_count_assign, FND_API.G_MISS_NUM)) or
488: (nvl(c_Reent_Status_Rec.lud_assign, FND_API.G_MISS_DATE) <> nvl(l_lud_assign, FND_API.G_MISS_DATE)) or
489: (nvl(c_Reent_Status_Rec.count_rates, FND_API.G_MISS_NUM) <> nvl(l_count_rates, FND_API.G_MISS_NUM)) or
490: (nvl(c_Reent_Status_Rec.lud_rates, FND_API.G_MISS_DATE) <> nvl(l_lud_rates, FND_API.G_MISS_DATE)) or
491: (nvl(c_Reent_Status_Rec.count_dist, FND_API.G_MISS_NUM) <> nvl(l_count_dist, FND_API.G_MISS_NUM)) or
492: (nvl(c_Reent_Status_Rec.lud_dist, FND_API.G_MISS_DATE) <> nvl(l_lud_dist, FND_API.G_MISS_DATE))) then
493: begin

Line 490: (nvl(c_Reent_Status_Rec.lud_rates, FND_API.G_MISS_DATE) <> nvl(l_lud_rates, FND_API.G_MISS_DATE)) or

486: if ((nvl(c_Reent_Status_Rec.lud_de, FND_API.G_MISS_DATE) <> nvl(l_lud_de, FND_API.G_MISS_DATE)) or
487: (nvl(c_Reent_Status_Rec.count_assign, FND_API.G_MISS_NUM) <> nvl(l_count_assign, FND_API.G_MISS_NUM)) or
488: (nvl(c_Reent_Status_Rec.lud_assign, FND_API.G_MISS_DATE) <> nvl(l_lud_assign, FND_API.G_MISS_DATE)) or
489: (nvl(c_Reent_Status_Rec.count_rates, FND_API.G_MISS_NUM) <> nvl(l_count_rates, FND_API.G_MISS_NUM)) or
490: (nvl(c_Reent_Status_Rec.lud_rates, FND_API.G_MISS_DATE) <> nvl(l_lud_rates, FND_API.G_MISS_DATE)) or
491: (nvl(c_Reent_Status_Rec.count_dist, FND_API.G_MISS_NUM) <> nvl(l_count_dist, FND_API.G_MISS_NUM)) or
492: (nvl(c_Reent_Status_Rec.lud_dist, FND_API.G_MISS_DATE) <> nvl(l_lud_dist, FND_API.G_MISS_DATE))) then
493: begin
494: g_sp1_status := c_Reent_Status_Rec.sp1_status;

Line 491: (nvl(c_Reent_Status_Rec.count_dist, FND_API.G_MISS_NUM) <> nvl(l_count_dist, FND_API.G_MISS_NUM)) or

487: (nvl(c_Reent_Status_Rec.count_assign, FND_API.G_MISS_NUM) <> nvl(l_count_assign, FND_API.G_MISS_NUM)) or
488: (nvl(c_Reent_Status_Rec.lud_assign, FND_API.G_MISS_DATE) <> nvl(l_lud_assign, FND_API.G_MISS_DATE)) or
489: (nvl(c_Reent_Status_Rec.count_rates, FND_API.G_MISS_NUM) <> nvl(l_count_rates, FND_API.G_MISS_NUM)) or
490: (nvl(c_Reent_Status_Rec.lud_rates, FND_API.G_MISS_DATE) <> nvl(l_lud_rates, FND_API.G_MISS_DATE)) or
491: (nvl(c_Reent_Status_Rec.count_dist, FND_API.G_MISS_NUM) <> nvl(l_count_dist, FND_API.G_MISS_NUM)) or
492: (nvl(c_Reent_Status_Rec.lud_dist, FND_API.G_MISS_DATE) <> nvl(l_lud_dist, FND_API.G_MISS_DATE))) then
493: begin
494: g_sp1_status := c_Reent_Status_Rec.sp1_status;
495: g_sp2_status := 'I';

Line 492: (nvl(c_Reent_Status_Rec.lud_dist, FND_API.G_MISS_DATE) <> nvl(l_lud_dist, FND_API.G_MISS_DATE))) then

488: (nvl(c_Reent_Status_Rec.lud_assign, FND_API.G_MISS_DATE) <> nvl(l_lud_assign, FND_API.G_MISS_DATE)) or
489: (nvl(c_Reent_Status_Rec.count_rates, FND_API.G_MISS_NUM) <> nvl(l_count_rates, FND_API.G_MISS_NUM)) or
490: (nvl(c_Reent_Status_Rec.lud_rates, FND_API.G_MISS_DATE) <> nvl(l_lud_rates, FND_API.G_MISS_DATE)) or
491: (nvl(c_Reent_Status_Rec.count_dist, FND_API.G_MISS_NUM) <> nvl(l_count_dist, FND_API.G_MISS_NUM)) or
492: (nvl(c_Reent_Status_Rec.lud_dist, FND_API.G_MISS_DATE) <> nvl(l_lud_dist, FND_API.G_MISS_DATE))) then
493: begin
494: g_sp1_status := c_Reent_Status_Rec.sp1_status;
495: g_sp2_status := 'I';
496: g_sp3_status := 'I';

Line 499: elsif ((nvl(c_Reent_Status_Rec.count_cs1, FND_API.G_MISS_NUM) <> nvl(l_count_cs1, FND_API.G_MISS_NUM)) or

495: g_sp2_status := 'I';
496: g_sp3_status := 'I';
497: g_sp4_status := 'I';
498: end;
499: elsif ((nvl(c_Reent_Status_Rec.count_cs1, FND_API.G_MISS_NUM) <> nvl(l_count_cs1, FND_API.G_MISS_NUM)) or
500: (nvl(c_Reent_Status_Rec.lud_cs1, FND_API.G_MISS_DATE) <> nvl(l_lud_cs1, FND_API.G_MISS_DATE)) or
501: (nvl(c_Reent_Status_Rec.count_cs2, FND_API.G_MISS_NUM) <> nvl(l_count_cs2, FND_API.G_MISS_NUM)) or
502: (nvl(c_Reent_Status_Rec.lud_cs2, FND_API.G_MISS_DATE) <> nvl(l_lud_cs2, FND_API.G_MISS_DATE))) then
503: begin

Line 500: (nvl(c_Reent_Status_Rec.lud_cs1, FND_API.G_MISS_DATE) <> nvl(l_lud_cs1, FND_API.G_MISS_DATE)) or

496: g_sp3_status := 'I';
497: g_sp4_status := 'I';
498: end;
499: elsif ((nvl(c_Reent_Status_Rec.count_cs1, FND_API.G_MISS_NUM) <> nvl(l_count_cs1, FND_API.G_MISS_NUM)) or
500: (nvl(c_Reent_Status_Rec.lud_cs1, FND_API.G_MISS_DATE) <> nvl(l_lud_cs1, FND_API.G_MISS_DATE)) or
501: (nvl(c_Reent_Status_Rec.count_cs2, FND_API.G_MISS_NUM) <> nvl(l_count_cs2, FND_API.G_MISS_NUM)) or
502: (nvl(c_Reent_Status_Rec.lud_cs2, FND_API.G_MISS_DATE) <> nvl(l_lud_cs2, FND_API.G_MISS_DATE))) then
503: begin
504: g_sp1_status := c_Reent_status_rec.sp1_status;

Line 501: (nvl(c_Reent_Status_Rec.count_cs2, FND_API.G_MISS_NUM) <> nvl(l_count_cs2, FND_API.G_MISS_NUM)) or

497: g_sp4_status := 'I';
498: end;
499: elsif ((nvl(c_Reent_Status_Rec.count_cs1, FND_API.G_MISS_NUM) <> nvl(l_count_cs1, FND_API.G_MISS_NUM)) or
500: (nvl(c_Reent_Status_Rec.lud_cs1, FND_API.G_MISS_DATE) <> nvl(l_lud_cs1, FND_API.G_MISS_DATE)) or
501: (nvl(c_Reent_Status_Rec.count_cs2, FND_API.G_MISS_NUM) <> nvl(l_count_cs2, FND_API.G_MISS_NUM)) or
502: (nvl(c_Reent_Status_Rec.lud_cs2, FND_API.G_MISS_DATE) <> nvl(l_lud_cs2, FND_API.G_MISS_DATE))) then
503: begin
504: g_sp1_status := c_Reent_status_rec.sp1_status;
505: g_sp2_status := c_Reent_status_rec.sp2_status;

Line 502: (nvl(c_Reent_Status_Rec.lud_cs2, FND_API.G_MISS_DATE) <> nvl(l_lud_cs2, FND_API.G_MISS_DATE))) then

498: end;
499: elsif ((nvl(c_Reent_Status_Rec.count_cs1, FND_API.G_MISS_NUM) <> nvl(l_count_cs1, FND_API.G_MISS_NUM)) or
500: (nvl(c_Reent_Status_Rec.lud_cs1, FND_API.G_MISS_DATE) <> nvl(l_lud_cs1, FND_API.G_MISS_DATE)) or
501: (nvl(c_Reent_Status_Rec.count_cs2, FND_API.G_MISS_NUM) <> nvl(l_count_cs2, FND_API.G_MISS_NUM)) or
502: (nvl(c_Reent_Status_Rec.lud_cs2, FND_API.G_MISS_DATE) <> nvl(l_lud_cs2, FND_API.G_MISS_DATE))) then
503: begin
504: g_sp1_status := c_Reent_status_rec.sp1_status;
505: g_sp2_status := c_Reent_status_rec.sp2_status;
506: g_sp3_status := c_Reent_status_rec.sp3_status;

Line 518: l_restart := FND_API.G_TRUE;

514: g_sp4_status := c_Reent_status_rec.sp4_status;
515: end;
516: end if;
517:
518: l_restart := FND_API.G_TRUE;
519:
520: end;
521: end if;
522:

Line 525: if not FND_API.to_Boolean(l_rec_found) then

521: end if;
522:
523: end loop;
524:
525: if not FND_API.to_Boolean(l_rec_found) then
526: begin
527:
528: insert into PSB_REENTRANT_PROCESS_STATUS
529: (process_type, process_uid,

Line 602: l_restart := FND_API.G_FALSE;

598: g_sp2_status := 'I';
599: g_sp3_status := 'I';
600: g_sp4_status := 'I';
601:
602: l_restart := FND_API.G_FALSE;
603:
604: end;
605: end if;
606:

Line 607: if FND_API.to_Boolean(l_restart) then

603:
604: end;
605: end if;
606:
607: if FND_API.to_Boolean(l_restart) then
608: begin
609:
610: update PSB_REENTRANT_PROCESS_STATUS
611: set sp1_status = g_sp1_status,

Line 670: p_return_status := FND_API.G_RET_STS_SUCCESS;

666:
667:
668: -- Initialize API return status to success
669:
670: p_return_status := FND_API.G_RET_STS_SUCCESS;
671:
672: EXCEPTION
673:
674: when FND_API.G_EXC_ERROR then

Line 674: when FND_API.G_EXC_ERROR then

670: p_return_status := FND_API.G_RET_STS_SUCCESS;
671:
672: EXCEPTION
673:
674: when FND_API.G_EXC_ERROR then
675: p_return_status := FND_API.G_RET_STS_ERROR;
676:
677: when FND_API.G_EXC_UNEXPECTED_ERROR then
678: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 675: p_return_status := FND_API.G_RET_STS_ERROR;

671:
672: EXCEPTION
673:
674: when FND_API.G_EXC_ERROR then
675: p_return_status := FND_API.G_RET_STS_ERROR;
676:
677: when FND_API.G_EXC_UNEXPECTED_ERROR then
678: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
679:

Line 677: when FND_API.G_EXC_UNEXPECTED_ERROR then

673:
674: when FND_API.G_EXC_ERROR then
675: p_return_status := FND_API.G_RET_STS_ERROR;
676:
677: when FND_API.G_EXC_UNEXPECTED_ERROR then
678: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
679:
680: when OTHERS then
681: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 678: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

674: when FND_API.G_EXC_ERROR then
675: p_return_status := FND_API.G_RET_STS_ERROR;
676:
677: when FND_API.G_EXC_UNEXPECTED_ERROR then
678: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
679:
680: when OTHERS then
681: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
682:

Line 681: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

677: when FND_API.G_EXC_UNEXPECTED_ERROR then
678: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
679:
680: when OTHERS then
681: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
682:
683: END Check_Reentrant_Status;
684:
685: /* ----------------------------------------------------------------------- */

Line 689: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,

685: /* ----------------------------------------------------------------------- */
686:
687: PROCEDURE Create_WS_Line_Items
688: ( p_api_version IN NUMBER,
689: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,
690: p_return_status OUT NOCOPY VARCHAR2,
691: p_worksheet_id IN NUMBER
692: ) IS
693:

Line 704: if not FND_API.Compatible_API_Call (l_api_version,

700: BEGIN
701:
702: -- Standard call to check for call compatibility.
703:
704: if not FND_API.Compatible_API_Call (l_api_version,
705: p_api_version,
706: l_api_name,
707: G_PKG_NAME)
708: then

Line 709: raise FND_API.G_EXC_UNEXPECTED_ERROR;

705: p_api_version,
706: l_api_name,
707: G_PKG_NAME)
708: then
709: raise FND_API.G_EXC_UNEXPECTED_ERROR;
710: end if;
711:
712: PSB_WORKSHEET.Update_Worksheet
713: (p_api_version => 1.0,

Line 718: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

714: p_return_status => l_return_status,
715: p_worksheet_id => p_worksheet_id,
716: p_ws_creation_complete => 'N');
717:
718: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
719: raise FND_API.G_EXC_ERROR;
720: end if;
721:
722: Initialize (p_worksheet_id => p_worksheet_id,

Line 719: raise FND_API.G_EXC_ERROR;

715: p_worksheet_id => p_worksheet_id,
716: p_ws_creation_complete => 'N');
717:
718: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
719: raise FND_API.G_EXC_ERROR;
720: end if;
721:
722: Initialize (p_worksheet_id => p_worksheet_id,
723: p_return_status => l_return_status);

Line 725: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

721:
722: Initialize (p_worksheet_id => p_worksheet_id,
723: p_return_status => l_return_status);
724:
725: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
726: raise FND_API.G_EXC_ERROR;
727: end if;
728:
729: /*For Bug No : 2260391 Start*/

Line 726: raise FND_API.G_EXC_ERROR;

722: Initialize (p_worksheet_id => p_worksheet_id,
723: p_return_status => l_return_status);
724:
725: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
726: raise FND_API.G_EXC_ERROR;
727: end if;
728:
729: /*For Bug No : 2260391 Start*/
730: /*if g_current_stage_seq <> g_start_stage_seq then

Line 732: raise FND_API.G_EXC_ERROR;

728:
729: /*For Bug No : 2260391 Start*/
730: /*if g_current_stage_seq <> g_start_stage_seq then
731: add_message('PSB', 'PSB_CANNOT_RECREATE_WORKSHEET');
732: raise FND_API.G_EXC_ERROR;
733: end if;*/
734: /*For Bug No : 2260391 End*/
735:
736: if g_budget_calendar_id <> nvl(PSB_WS_ACCT1.g_budget_calendar_id, FND_API.G_MISS_NUM) then

Line 736: if g_budget_calendar_id <> nvl(PSB_WS_ACCT1.g_budget_calendar_id, FND_API.G_MISS_NUM) then

732: raise FND_API.G_EXC_ERROR;
733: end if;*/
734: /*For Bug No : 2260391 End*/
735:
736: if g_budget_calendar_id <> nvl(PSB_WS_ACCT1.g_budget_calendar_id, FND_API.G_MISS_NUM) then
737: begin
738:
739: PSB_WS_ACCT1.Cache_Budget_Calendar
740: (p_return_status => l_return_status,

Line 743: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

739: PSB_WS_ACCT1.Cache_Budget_Calendar
740: (p_return_status => l_return_status,
741: p_budget_calendar_id => g_budget_calendar_id);
742:
743: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
744: raise FND_API.G_EXC_ERROR;
745: end if;
746:
747: end;

Line 744: raise FND_API.G_EXC_ERROR;

740: (p_return_status => l_return_status,
741: p_budget_calendar_id => g_budget_calendar_id);
742:
743: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
744: raise FND_API.G_EXC_ERROR;
745: end if;
746:
747: end;
748: end if;

Line 766: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

762: p_budget_group_id => g_budget_group_id,
763: p_data_extract_id => g_data_extract_id,
764: p_gl_budget_set_id => g_gl_budget_set_id);
765:
766: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
767: raise FND_API.G_EXC_ERROR;
768: end if;
769:
770: PSB_CONCURRENCY_CONTROL_PVT.Enforce_Concurrency_Control

Line 767: raise FND_API.G_EXC_ERROR;

763: p_data_extract_id => g_data_extract_id,
764: p_gl_budget_set_id => g_gl_budget_set_id);
765:
766: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
767: raise FND_API.G_EXC_ERROR;
768: end if;
769:
770: PSB_CONCURRENCY_CONTROL_PVT.Enforce_Concurrency_Control
771: (p_api_version => 1.0 ,

Line 777: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

773: p_concurrency_class => 'WORKSHEET_CREATION',
774: p_concurrency_entity_name => 'WORKSHEET',
775: p_concurrency_entity_id => p_worksheet_id);
776:
777: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
778: raise FND_API.G_EXC_ERROR;
779: end if;
780:
781: if g_sp1_status = 'I' then

Line 778: raise FND_API.G_EXC_ERROR;

774: p_concurrency_entity_name => 'WORKSHEET',
775: p_concurrency_entity_id => p_worksheet_id);
776:
777: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
778: raise FND_API.G_EXC_ERROR;
779: end if;
780:
781: if g_sp1_status = 'I' then
782: begin

Line 816: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

812: p_budget_by_position => g_budget_by_position,
813: /* Bug No 4725091 */
814: P_incl_gl_fwd_balance => g_include_gl_forward_balance);
815:
816: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
817: raise FND_API.G_EXC_ERROR;
818: end if;
819:
820: update PSB_REENTRANT_PROCESS_STATUS

Line 817: raise FND_API.G_EXC_ERROR;

813: /* Bug No 4725091 */
814: P_incl_gl_fwd_balance => g_include_gl_forward_balance);
815:
816: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
817: raise FND_API.G_EXC_ERROR;
818: end if;
819:
820: update PSB_REENTRANT_PROCESS_STATUS
821: set sp1_status = 'C'

Line 833: if FND_API.to_Boolean(g_budget_by_position) then

829:
830: g_dbug := g_dbug || g_chr10 ||
831: 'Create_WS_Line_Items: After Phase 1';
832:
833: if FND_API.to_Boolean(g_budget_by_position) then
834: begin
835:
836: if g_sp2_status = 'I' then
837: begin

Line 862: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

858: p_flex_code => g_flex_code,
859: p_apply_element_parameters => g_apply_element_parameters,
860: p_apply_position_parameters => g_apply_position_parameters);
861:
862: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
863: raise FND_API.G_EXC_ERROR;
864: end if;
865:
866: update PSB_REENTRANT_PROCESS_STATUS

Line 863: raise FND_API.G_EXC_ERROR;

859: p_apply_element_parameters => g_apply_element_parameters,
860: p_apply_position_parameters => g_apply_position_parameters);
861:
862: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
863: raise FND_API.G_EXC_ERROR;
864: end if;
865:
866: update PSB_REENTRANT_PROCESS_STATUS
867: set sp2_status = 'C'

Line 897: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

893: p_budget_group_id => g_budget_group_id,
894: p_budget_calendar_id => g_budget_calendar_id,
895: p_return_status => l_return_status);
896:
897: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
898: raise FND_API.G_EXC_ERROR;
899: end if;
900:
901: update PSB_REENTRANT_PROCESS_STATUS

Line 898: raise FND_API.G_EXC_ERROR;

894: p_budget_calendar_id => g_budget_calendar_id,
895: p_return_status => l_return_status);
896:
897: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
898: raise FND_API.G_EXC_ERROR;
899: end if;
900:
901: update PSB_REENTRANT_PROCESS_STATUS
902: set sp3_status = 'C'

Line 914: if nvl(g_constraint_set_id, FND_API.G_MISS_NUM) <> FND_API.G_MISS_NUM then

910:
911: g_dbug := g_dbug || g_chr10 ||
912: 'Create_WS_Line_Items: After Phase 3';
913:
914: if nvl(g_constraint_set_id, FND_API.G_MISS_NUM) <> FND_API.G_MISS_NUM then
915: begin
916:
917: if g_sp4_status = 'I' then
918: begin

Line 937: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

933: p_data_extract_id => g_data_extract_id,
934: p_business_group_id => g_business_group_id,
935: p_budget_by_position => g_budget_by_position);
936:
937: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
938: raise FND_API.G_EXC_ERROR;
939: end if;
940:
941: update PSB_REENTRANT_PROCESS_STATUS

Line 938: raise FND_API.G_EXC_ERROR;

934: p_business_group_id => g_business_group_id,
935: p_budget_by_position => g_budget_by_position);
936:
937: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
938: raise FND_API.G_EXC_ERROR;
939: end if;
940:
941: update PSB_REENTRANT_PROCESS_STATUS
942: set sp4_status = 'C'

Line 958: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

954: p_return_status => l_return_status,
955: p_worksheet_id => p_worksheet_id,
956: p_ws_creation_complete => 'Y');
957:
958: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
959: raise FND_API.G_EXC_ERROR;
960: end if;
961:
962: commit work;

Line 959: raise FND_API.G_EXC_ERROR;

955: p_worksheet_id => p_worksheet_id,
956: p_ws_creation_complete => 'Y');
957:
958: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
959: raise FND_API.G_EXC_ERROR;
960: end if;
961:
962: commit work;
963:

Line 971: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

967: p_concurrency_class => 'WORKSHEET_CREATION',
968: p_concurrency_entity_name => 'WORKSHEET',
969: p_concurrency_entity_id => p_worksheet_id);
970:
971: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
972: raise FND_API.G_EXC_ERROR;
973: end if;
974:
975: g_dbug := g_dbug || g_chr10 ||

Line 972: raise FND_API.G_EXC_ERROR;

968: p_concurrency_entity_name => 'WORKSHEET',
969: p_concurrency_entity_id => p_worksheet_id);
970:
971: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
972: raise FND_API.G_EXC_ERROR;
973: end if;
974:
975: g_dbug := g_dbug || g_chr10 ||
976: 'Create_WS_Line_Items: After Phase 4';

Line 978: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

974:
975: g_dbug := g_dbug || g_chr10 ||
976: 'Create_WS_Line_Items: After Phase 4';
977:
978: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
979: raise FND_API.G_EXC_ERROR;
980: end if;
981:
982:

Line 979: raise FND_API.G_EXC_ERROR;

975: g_dbug := g_dbug || g_chr10 ||
976: 'Create_WS_Line_Items: After Phase 4';
977:
978: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
979: raise FND_API.G_EXC_ERROR;
980: end if;
981:
982:
983: -- Initialize API return status to success

Line 985: p_return_status := FND_API.G_RET_STS_SUCCESS;

981:
982:
983: -- Initialize API return status to success
984:
985: p_return_status := FND_API.G_RET_STS_SUCCESS;
986:
987:
988: EXCEPTION
989:

Line 990: when FND_API.G_EXC_ERROR then

986:
987:
988: EXCEPTION
989:
990: when FND_API.G_EXC_ERROR then
991: p_return_status := FND_API.G_RET_STS_ERROR;
992:
993: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
994: (p_api_version => 1.0 ,

Line 991: p_return_status := FND_API.G_RET_STS_ERROR;

987:
988: EXCEPTION
989:
990: when FND_API.G_EXC_ERROR then
991: p_return_status := FND_API.G_RET_STS_ERROR;
992:
993: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
994: (p_api_version => 1.0 ,
995: p_return_status => l_return_status,

Line 1000: when FND_API.G_EXC_UNEXPECTED_ERROR then

996: p_concurrency_class => 'WORKSHEET_CREATION',
997: p_concurrency_entity_name => 'WORKSHEET',
998: p_concurrency_entity_id => p_worksheet_id);
999:
1000: when FND_API.G_EXC_UNEXPECTED_ERROR then
1001: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1002:
1003: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
1004: (p_api_version => 1.0 ,

Line 1001: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

997: p_concurrency_entity_name => 'WORKSHEET',
998: p_concurrency_entity_id => p_worksheet_id);
999:
1000: when FND_API.G_EXC_UNEXPECTED_ERROR then
1001: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1002:
1003: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
1004: (p_api_version => 1.0 ,
1005: p_return_status => l_return_status,

Line 1011: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

1007: p_concurrency_entity_name => 'WORKSHEET',
1008: p_concurrency_entity_id => p_worksheet_id);
1009:
1010: when OTHERS then
1011: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1012:
1013: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
1014: (p_api_version => 1.0 ,
1015: p_return_status => l_return_status,

Line 1035: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,

1031: /* ----------------------------------------------------------------------- */
1032:
1033: PROCEDURE Apply_Constraints
1034: ( p_api_version IN NUMBER,
1035: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,
1036: p_return_status OUT NOCOPY VARCHAR2,
1037: p_validation_status OUT NOCOPY VARCHAR2,
1038: p_worksheet_id IN NUMBER,
1039: p_budget_group_id IN NUMBER := FND_API.G_MISS_NUM,

Line 1039: p_budget_group_id IN NUMBER := FND_API.G_MISS_NUM,

1035: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,
1036: p_return_status OUT NOCOPY VARCHAR2,
1037: p_validation_status OUT NOCOPY VARCHAR2,
1038: p_worksheet_id IN NUMBER,
1039: p_budget_group_id IN NUMBER := FND_API.G_MISS_NUM,
1040: p_flex_code IN NUMBER := FND_API.G_MISS_NUM,
1041: p_func_currency IN VARCHAR2 := FND_API.G_MISS_CHAR,
1042: p_global_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,
1043: p_constraint_set_id IN NUMBER := FND_API.G_MISS_NUM,

Line 1040: p_flex_code IN NUMBER := FND_API.G_MISS_NUM,

1036: p_return_status OUT NOCOPY VARCHAR2,
1037: p_validation_status OUT NOCOPY VARCHAR2,
1038: p_worksheet_id IN NUMBER,
1039: p_budget_group_id IN NUMBER := FND_API.G_MISS_NUM,
1040: p_flex_code IN NUMBER := FND_API.G_MISS_NUM,
1041: p_func_currency IN VARCHAR2 := FND_API.G_MISS_CHAR,
1042: p_global_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,
1043: p_constraint_set_id IN NUMBER := FND_API.G_MISS_NUM,
1044: p_constraint_set_name IN VARCHAR2 := FND_API.G_MISS_CHAR,

Line 1041: p_func_currency IN VARCHAR2 := FND_API.G_MISS_CHAR,

1037: p_validation_status OUT NOCOPY VARCHAR2,
1038: p_worksheet_id IN NUMBER,
1039: p_budget_group_id IN NUMBER := FND_API.G_MISS_NUM,
1040: p_flex_code IN NUMBER := FND_API.G_MISS_NUM,
1041: p_func_currency IN VARCHAR2 := FND_API.G_MISS_CHAR,
1042: p_global_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,
1043: p_constraint_set_id IN NUMBER := FND_API.G_MISS_NUM,
1044: p_constraint_set_name IN VARCHAR2 := FND_API.G_MISS_CHAR,
1045: p_constraint_set_threshold IN NUMBER := FND_API.G_MISS_NUM,

Line 1042: p_global_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,

1038: p_worksheet_id IN NUMBER,
1039: p_budget_group_id IN NUMBER := FND_API.G_MISS_NUM,
1040: p_flex_code IN NUMBER := FND_API.G_MISS_NUM,
1041: p_func_currency IN VARCHAR2 := FND_API.G_MISS_CHAR,
1042: p_global_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,
1043: p_constraint_set_id IN NUMBER := FND_API.G_MISS_NUM,
1044: p_constraint_set_name IN VARCHAR2 := FND_API.G_MISS_CHAR,
1045: p_constraint_set_threshold IN NUMBER := FND_API.G_MISS_NUM,
1046: p_budget_calendar_id IN NUMBER := FND_API.G_MISS_NUM,

Line 1043: p_constraint_set_id IN NUMBER := FND_API.G_MISS_NUM,

1039: p_budget_group_id IN NUMBER := FND_API.G_MISS_NUM,
1040: p_flex_code IN NUMBER := FND_API.G_MISS_NUM,
1041: p_func_currency IN VARCHAR2 := FND_API.G_MISS_CHAR,
1042: p_global_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,
1043: p_constraint_set_id IN NUMBER := FND_API.G_MISS_NUM,
1044: p_constraint_set_name IN VARCHAR2 := FND_API.G_MISS_CHAR,
1045: p_constraint_set_threshold IN NUMBER := FND_API.G_MISS_NUM,
1046: p_budget_calendar_id IN NUMBER := FND_API.G_MISS_NUM,
1047: p_data_extract_id IN NUMBER := FND_API.G_MISS_NUM,

Line 1044: p_constraint_set_name IN VARCHAR2 := FND_API.G_MISS_CHAR,

1040: p_flex_code IN NUMBER := FND_API.G_MISS_NUM,
1041: p_func_currency IN VARCHAR2 := FND_API.G_MISS_CHAR,
1042: p_global_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,
1043: p_constraint_set_id IN NUMBER := FND_API.G_MISS_NUM,
1044: p_constraint_set_name IN VARCHAR2 := FND_API.G_MISS_CHAR,
1045: p_constraint_set_threshold IN NUMBER := FND_API.G_MISS_NUM,
1046: p_budget_calendar_id IN NUMBER := FND_API.G_MISS_NUM,
1047: p_data_extract_id IN NUMBER := FND_API.G_MISS_NUM,
1048: p_business_group_id IN NUMBER := FND_API.G_MISS_NUM,

Line 1045: p_constraint_set_threshold IN NUMBER := FND_API.G_MISS_NUM,

1041: p_func_currency IN VARCHAR2 := FND_API.G_MISS_CHAR,
1042: p_global_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,
1043: p_constraint_set_id IN NUMBER := FND_API.G_MISS_NUM,
1044: p_constraint_set_name IN VARCHAR2 := FND_API.G_MISS_CHAR,
1045: p_constraint_set_threshold IN NUMBER := FND_API.G_MISS_NUM,
1046: p_budget_calendar_id IN NUMBER := FND_API.G_MISS_NUM,
1047: p_data_extract_id IN NUMBER := FND_API.G_MISS_NUM,
1048: p_business_group_id IN NUMBER := FND_API.G_MISS_NUM,
1049: p_budget_by_position IN VARCHAR2 := FND_API.G_MISS_CHAR

Line 1046: p_budget_calendar_id IN NUMBER := FND_API.G_MISS_NUM,

1042: p_global_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,
1043: p_constraint_set_id IN NUMBER := FND_API.G_MISS_NUM,
1044: p_constraint_set_name IN VARCHAR2 := FND_API.G_MISS_CHAR,
1045: p_constraint_set_threshold IN NUMBER := FND_API.G_MISS_NUM,
1046: p_budget_calendar_id IN NUMBER := FND_API.G_MISS_NUM,
1047: p_data_extract_id IN NUMBER := FND_API.G_MISS_NUM,
1048: p_business_group_id IN NUMBER := FND_API.G_MISS_NUM,
1049: p_budget_by_position IN VARCHAR2 := FND_API.G_MISS_CHAR
1050: ) IS

Line 1047: p_data_extract_id IN NUMBER := FND_API.G_MISS_NUM,

1043: p_constraint_set_id IN NUMBER := FND_API.G_MISS_NUM,
1044: p_constraint_set_name IN VARCHAR2 := FND_API.G_MISS_CHAR,
1045: p_constraint_set_threshold IN NUMBER := FND_API.G_MISS_NUM,
1046: p_budget_calendar_id IN NUMBER := FND_API.G_MISS_NUM,
1047: p_data_extract_id IN NUMBER := FND_API.G_MISS_NUM,
1048: p_business_group_id IN NUMBER := FND_API.G_MISS_NUM,
1049: p_budget_by_position IN VARCHAR2 := FND_API.G_MISS_CHAR
1050: ) IS
1051:

Line 1048: p_business_group_id IN NUMBER := FND_API.G_MISS_NUM,

1044: p_constraint_set_name IN VARCHAR2 := FND_API.G_MISS_CHAR,
1045: p_constraint_set_threshold IN NUMBER := FND_API.G_MISS_NUM,
1046: p_budget_calendar_id IN NUMBER := FND_API.G_MISS_NUM,
1047: p_data_extract_id IN NUMBER := FND_API.G_MISS_NUM,
1048: p_business_group_id IN NUMBER := FND_API.G_MISS_NUM,
1049: p_budget_by_position IN VARCHAR2 := FND_API.G_MISS_CHAR
1050: ) IS
1051:
1052: l_api_name CONSTANT VARCHAR2(30) := 'Apply_Constraints';

Line 1049: p_budget_by_position IN VARCHAR2 := FND_API.G_MISS_CHAR

1045: p_constraint_set_threshold IN NUMBER := FND_API.G_MISS_NUM,
1046: p_budget_calendar_id IN NUMBER := FND_API.G_MISS_NUM,
1047: p_data_extract_id IN NUMBER := FND_API.G_MISS_NUM,
1048: p_business_group_id IN NUMBER := FND_API.G_MISS_NUM,
1049: p_budget_by_position IN VARCHAR2 := FND_API.G_MISS_CHAR
1050: ) IS
1051:
1052: l_api_name CONSTANT VARCHAR2(30) := 'Apply_Constraints';
1053: l_api_version CONSTANT NUMBER := 1.0;

Line 1103: if not FND_API.Compatible_API_Call (l_api_version,

1099: BEGIN
1100:
1101: -- Standard call to check for call compatibility.
1102:
1103: if not FND_API.Compatible_API_Call (l_api_version,
1104: p_api_version,
1105: l_api_name,
1106: G_PKG_NAME)
1107: then

Line 1108: raise FND_API.G_EXC_UNEXPECTED_ERROR;

1104: p_api_version,
1105: l_api_name,
1106: G_PKG_NAME)
1107: then
1108: raise FND_API.G_EXC_UNEXPECTED_ERROR;
1109: end if;
1110:
1111: if ((p_budget_group_id = FND_API.G_MISS_NUM) or
1112: (p_global_worksheet_id = FND_API.G_MISS_NUM) or

Line 1111: if ((p_budget_group_id = FND_API.G_MISS_NUM) or

1107: then
1108: raise FND_API.G_EXC_UNEXPECTED_ERROR;
1109: end if;
1110:
1111: if ((p_budget_group_id = FND_API.G_MISS_NUM) or
1112: (p_global_worksheet_id = FND_API.G_MISS_NUM) or
1113: (p_constraint_set_id = FND_API.G_MISS_NUM) or
1114: (p_budget_calendar_id = FND_API.G_MISS_NUM) or
1115: (p_data_extract_id = FND_API.G_MISS_NUM) or

Line 1112: (p_global_worksheet_id = FND_API.G_MISS_NUM) or

1108: raise FND_API.G_EXC_UNEXPECTED_ERROR;
1109: end if;
1110:
1111: if ((p_budget_group_id = FND_API.G_MISS_NUM) or
1112: (p_global_worksheet_id = FND_API.G_MISS_NUM) or
1113: (p_constraint_set_id = FND_API.G_MISS_NUM) or
1114: (p_budget_calendar_id = FND_API.G_MISS_NUM) or
1115: (p_data_extract_id = FND_API.G_MISS_NUM) or
1116: (p_budget_by_position = FND_API.G_MISS_CHAR)) then

Line 1113: (p_constraint_set_id = FND_API.G_MISS_NUM) or

1109: end if;
1110:
1111: if ((p_budget_group_id = FND_API.G_MISS_NUM) or
1112: (p_global_worksheet_id = FND_API.G_MISS_NUM) or
1113: (p_constraint_set_id = FND_API.G_MISS_NUM) or
1114: (p_budget_calendar_id = FND_API.G_MISS_NUM) or
1115: (p_data_extract_id = FND_API.G_MISS_NUM) or
1116: (p_budget_by_position = FND_API.G_MISS_CHAR)) then
1117: begin

Line 1114: (p_budget_calendar_id = FND_API.G_MISS_NUM) or

1110:
1111: if ((p_budget_group_id = FND_API.G_MISS_NUM) or
1112: (p_global_worksheet_id = FND_API.G_MISS_NUM) or
1113: (p_constraint_set_id = FND_API.G_MISS_NUM) or
1114: (p_budget_calendar_id = FND_API.G_MISS_NUM) or
1115: (p_data_extract_id = FND_API.G_MISS_NUM) or
1116: (p_budget_by_position = FND_API.G_MISS_CHAR)) then
1117: begin
1118:

Line 1115: (p_data_extract_id = FND_API.G_MISS_NUM) or

1111: if ((p_budget_group_id = FND_API.G_MISS_NUM) or
1112: (p_global_worksheet_id = FND_API.G_MISS_NUM) or
1113: (p_constraint_set_id = FND_API.G_MISS_NUM) or
1114: (p_budget_calendar_id = FND_API.G_MISS_NUM) or
1115: (p_data_extract_id = FND_API.G_MISS_NUM) or
1116: (p_budget_by_position = FND_API.G_MISS_CHAR)) then
1117: begin
1118:
1119: for c_WS_Rec in c_WS loop

Line 1116: (p_budget_by_position = FND_API.G_MISS_CHAR)) then

1112: (p_global_worksheet_id = FND_API.G_MISS_NUM) or
1113: (p_constraint_set_id = FND_API.G_MISS_NUM) or
1114: (p_budget_calendar_id = FND_API.G_MISS_NUM) or
1115: (p_data_extract_id = FND_API.G_MISS_NUM) or
1116: (p_budget_by_position = FND_API.G_MISS_CHAR)) then
1117: begin
1118:
1119: for c_WS_Rec in c_WS loop
1120: l_budget_group_id := c_WS_Rec.budget_group_id;

Line 1131: if p_budget_group_id <> FND_API.G_MISS_NUM then

1127:
1128: end;
1129: end if;
1130:
1131: if p_budget_group_id <> FND_API.G_MISS_NUM then
1132: l_budget_group_id := p_budget_group_id;
1133: end if;
1134:
1135: if p_global_worksheet_id <> FND_API.G_MISS_NUM then

Line 1135: if p_global_worksheet_id <> FND_API.G_MISS_NUM then

1131: if p_budget_group_id <> FND_API.G_MISS_NUM then
1132: l_budget_group_id := p_budget_group_id;
1133: end if;
1134:
1135: if p_global_worksheet_id <> FND_API.G_MISS_NUM then
1136: l_global_worksheet_id := p_global_worksheet_id;
1137: end if;
1138:
1139: if p_constraint_set_id <> FND_API.G_MISS_NUM then

Line 1139: if p_constraint_set_id <> FND_API.G_MISS_NUM then

1135: if p_global_worksheet_id <> FND_API.G_MISS_NUM then
1136: l_global_worksheet_id := p_global_worksheet_id;
1137: end if;
1138:
1139: if p_constraint_set_id <> FND_API.G_MISS_NUM then
1140: l_constraint_set_id := p_constraint_set_id;
1141: end if;
1142:
1143: if p_budget_calendar_id <> FND_API.G_MISS_NUM then

Line 1143: if p_budget_calendar_id <> FND_API.G_MISS_NUM then

1139: if p_constraint_set_id <> FND_API.G_MISS_NUM then
1140: l_constraint_set_id := p_constraint_set_id;
1141: end if;
1142:
1143: if p_budget_calendar_id <> FND_API.G_MISS_NUM then
1144: l_budget_calendar_id := p_budget_calendar_id;
1145: end if;
1146:
1147: if p_data_extract_id <> FND_API.G_MISS_NUM then

Line 1147: if p_data_extract_id <> FND_API.G_MISS_NUM then

1143: if p_budget_calendar_id <> FND_API.G_MISS_NUM then
1144: l_budget_calendar_id := p_budget_calendar_id;
1145: end if;
1146:
1147: if p_data_extract_id <> FND_API.G_MISS_NUM then
1148: l_data_extract_id := p_data_extract_id;
1149: end if;
1150:
1151: if ((p_flex_code = FND_API.G_MISS_NUM) or

Line 1151: if ((p_flex_code = FND_API.G_MISS_NUM) or

1147: if p_data_extract_id <> FND_API.G_MISS_NUM then
1148: l_data_extract_id := p_data_extract_id;
1149: end if;
1150:
1151: if ((p_flex_code = FND_API.G_MISS_NUM) or
1152: (p_func_currency = FND_API.G_MISS_CHAR) or
1153: (p_business_group_id = FND_API.G_MISS_NUM)) then
1154: begin
1155:

Line 1152: (p_func_currency = FND_API.G_MISS_CHAR) or

1148: l_data_extract_id := p_data_extract_id;
1149: end if;
1150:
1151: if ((p_flex_code = FND_API.G_MISS_NUM) or
1152: (p_func_currency = FND_API.G_MISS_CHAR) or
1153: (p_business_group_id = FND_API.G_MISS_NUM)) then
1154: begin
1155:
1156: for c_BG_Rec in c_BG loop

Line 1153: (p_business_group_id = FND_API.G_MISS_NUM)) then

1149: end if;
1150:
1151: if ((p_flex_code = FND_API.G_MISS_NUM) or
1152: (p_func_currency = FND_API.G_MISS_CHAR) or
1153: (p_business_group_id = FND_API.G_MISS_NUM)) then
1154: begin
1155:
1156: for c_BG_Rec in c_BG loop
1157: l_flex_code := c_BG_Rec.chart_of_accounts_id;

Line 1165: if p_flex_code <> FND_API.G_MISS_NUM then

1161:
1162: end;
1163: end if;
1164:
1165: if p_flex_code <> FND_API.G_MISS_NUM then
1166: l_flex_code := p_flex_code;
1167: end if;
1168:
1169: if p_func_currency <> FND_API.G_MISS_CHAR then

Line 1169: if p_func_currency <> FND_API.G_MISS_CHAR then

1165: if p_flex_code <> FND_API.G_MISS_NUM then
1166: l_flex_code := p_flex_code;
1167: end if;
1168:
1169: if p_func_currency <> FND_API.G_MISS_CHAR then
1170: l_func_currency := p_func_currency;
1171: end if;
1172:
1173: if p_business_group_id <> FND_API.G_MISS_NUM then

Line 1173: if p_business_group_id <> FND_API.G_MISS_NUM then

1169: if p_func_currency <> FND_API.G_MISS_CHAR then
1170: l_func_currency := p_func_currency;
1171: end if;
1172:
1173: if p_business_group_id <> FND_API.G_MISS_NUM then
1174: l_business_group_id := p_business_group_id;
1175: end if;
1176:
1177: if ((l_budget_by_position is null) or (l_budget_by_position = 'N')) then

Line 1178: l_budget_by_position := FND_API.G_FALSE;

1174: l_business_group_id := p_business_group_id;
1175: end if;
1176:
1177: if ((l_budget_by_position is null) or (l_budget_by_position = 'N')) then
1178: l_budget_by_position := FND_API.G_FALSE;
1179: else
1180: l_budget_by_position := FND_API.G_TRUE;
1181: end if;
1182:

Line 1180: l_budget_by_position := FND_API.G_TRUE;

1176:
1177: if ((l_budget_by_position is null) or (l_budget_by_position = 'N')) then
1178: l_budget_by_position := FND_API.G_FALSE;
1179: else
1180: l_budget_by_position := FND_API.G_TRUE;
1181: end if;
1182:
1183: if p_budget_by_position <> FND_API.G_MISS_CHAR then
1184: l_budget_by_position := p_budget_by_position;

Line 1183: if p_budget_by_position <> FND_API.G_MISS_CHAR then

1179: else
1180: l_budget_by_position := FND_API.G_TRUE;
1181: end if;
1182:
1183: if p_budget_by_position <> FND_API.G_MISS_CHAR then
1184: l_budget_by_position := p_budget_by_position;
1185: end if;
1186:
1187: if ((p_constraint_set_name = FND_API.G_MISS_CHAR) or

Line 1187: if ((p_constraint_set_name = FND_API.G_MISS_CHAR) or

1183: if p_budget_by_position <> FND_API.G_MISS_CHAR then
1184: l_budget_by_position := p_budget_by_position;
1185: end if;
1186:
1187: if ((p_constraint_set_name = FND_API.G_MISS_CHAR) or
1188: (p_constraint_set_threshold = FND_API.G_MISS_NUM)) then
1189: begin
1190:
1191: for c_ConstSet_Rec in c_ConstSet loop

Line 1188: (p_constraint_set_threshold = FND_API.G_MISS_NUM)) then

1184: l_budget_by_position := p_budget_by_position;
1185: end if;
1186:
1187: if ((p_constraint_set_name = FND_API.G_MISS_CHAR) or
1188: (p_constraint_set_threshold = FND_API.G_MISS_NUM)) then
1189: begin
1190:
1191: for c_ConstSet_Rec in c_ConstSet loop
1192: l_cs_name := c_ConstSet_Rec.name;

Line 1199: if p_constraint_set_name <> FND_API.G_MISS_CHAR then

1195:
1196: end;
1197: end if;
1198:
1199: if p_constraint_set_name <> FND_API.G_MISS_CHAR then
1200: l_cs_name := p_constraint_set_name;
1201: end if;
1202:
1203: if p_constraint_set_threshold <> FND_API.G_MISS_NUM then

Line 1203: if p_constraint_set_threshold <> FND_API.G_MISS_NUM then

1199: if p_constraint_set_name <> FND_API.G_MISS_CHAR then
1200: l_cs_name := p_constraint_set_name;
1201: end if;
1202:
1203: if p_constraint_set_threshold <> FND_API.G_MISS_NUM then
1204: l_cs_threshold := p_constraint_set_threshold;
1205: end if;
1206:
1207: if nvl(l_constraint_set_id, FND_API.G_MISS_NUM) <> FND_API.G_MISS_NUM then

Line 1207: if nvl(l_constraint_set_id, FND_API.G_MISS_NUM) <> FND_API.G_MISS_NUM then

1203: if p_constraint_set_threshold <> FND_API.G_MISS_NUM then
1204: l_cs_threshold := p_constraint_set_threshold;
1205: end if;
1206:
1207: if nvl(l_constraint_set_id, FND_API.G_MISS_NUM) <> FND_API.G_MISS_NUM then
1208: begin
1209:
1210: delete from PSB_ERROR_MESSAGES
1211: where source_process = 'WORKSHEET_CREATION'

Line 1214: if l_budget_calendar_id <> nvl(PSB_WS_ACCT1.g_budget_calendar_id, FND_API.G_MISS_NUM) then

1210: delete from PSB_ERROR_MESSAGES
1211: where source_process = 'WORKSHEET_CREATION'
1212: and process_id = p_worksheet_id;
1213:
1214: if l_budget_calendar_id <> nvl(PSB_WS_ACCT1.g_budget_calendar_id, FND_API.G_MISS_NUM) then
1215: begin
1216:
1217: PSB_WS_ACCT1.Cache_Budget_Calendar
1218: (p_return_status => l_return_status,

Line 1221: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

1217: PSB_WS_ACCT1.Cache_Budget_Calendar
1218: (p_return_status => l_return_status,
1219: p_budget_calendar_id => l_budget_calendar_id);
1220:
1221: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1222: raise FND_API.G_EXC_ERROR;
1223: end if;
1224:
1225: end;

Line 1222: raise FND_API.G_EXC_ERROR;

1218: (p_return_status => l_return_status,
1219: p_budget_calendar_id => l_budget_calendar_id);
1220:
1221: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1222: raise FND_API.G_EXC_ERROR;
1223: end if;
1224:
1225: end;
1226: end if;

Line 1241: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

1237: p_constraint_set_name => l_cs_name,
1238: p_constraint_threshold => l_cs_threshold,
1239: p_budget_calendar_id => l_budget_calendar_id);
1240:
1241: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1242: raise FND_API.G_EXC_ERROR;
1243: end if;
1244:
1245: l_constraint_set_status := l_validation_status;

Line 1242: raise FND_API.G_EXC_ERROR;

1238: p_constraint_threshold => l_cs_threshold,
1239: p_budget_calendar_id => l_budget_calendar_id);
1240:
1241: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1242: raise FND_API.G_EXC_ERROR;
1243: end if;
1244:
1245: l_constraint_set_status := l_validation_status;
1246:

Line 1247: if FND_API.to_Boolean(l_budget_by_position) then

1243: end if;
1244:
1245: l_constraint_set_status := l_validation_status;
1246:
1247: if FND_API.to_Boolean(l_budget_by_position) then
1248: begin
1249:
1250: PSB_WS_POS3.Apply_Position_Constraints
1251: (p_return_status => l_return_status,

Line 1262: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

1258: p_constraint_set_id => l_constraint_set_id,
1259: p_constraint_set_name => l_cs_name,
1260: p_constraint_threshold => l_cs_threshold);
1261:
1262: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1263: raise FND_API.G_EXC_ERROR;
1264: end if;
1265:
1266: if ((l_constraint_set_status = 'S') and

Line 1263: raise FND_API.G_EXC_ERROR;

1259: p_constraint_set_name => l_cs_name,
1260: p_constraint_threshold => l_cs_threshold);
1261:
1262: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1263: raise FND_API.G_EXC_ERROR;
1264: end if;
1265:
1266: if ((l_constraint_set_status = 'S') and
1267: (l_validation_status <> 'S')) then

Line 1286: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

1282: p_constraint_set_id => l_constraint_set_id,
1283: p_constraint_set_name => l_cs_name,
1284: p_constraint_threshold => l_cs_threshold);
1285:
1286: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1287: raise FND_API.G_EXC_ERROR;
1288: end if;
1289:
1290: end;

Line 1287: raise FND_API.G_EXC_ERROR;

1283: p_constraint_set_name => l_cs_name,
1284: p_constraint_threshold => l_cs_threshold);
1285:
1286: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1287: raise FND_API.G_EXC_ERROR;
1288: end if;
1289:
1290: end;
1291: end if;

Line 1300: p_return_status := FND_API.G_RET_STS_SUCCESS;

1296:
1297: -- Initialize API return status to success
1298:
1299: p_validation_status := l_constraint_set_status;
1300: p_return_status := FND_API.G_RET_STS_SUCCESS;
1301:
1302:
1303: EXCEPTION
1304:

Line 1305: when FND_API.G_EXC_ERROR then

1301:
1302:
1303: EXCEPTION
1304:
1305: when FND_API.G_EXC_ERROR then
1306: p_return_status := FND_API.G_RET_STS_ERROR;
1307: FND_MSG_PUB.Count_And_Get (p_count => l_msg_count,
1308: p_data => l_msg_data);
1309:

Line 1306: p_return_status := FND_API.G_RET_STS_ERROR;

1302:
1303: EXCEPTION
1304:
1305: when FND_API.G_EXC_ERROR then
1306: p_return_status := FND_API.G_RET_STS_ERROR;
1307: FND_MSG_PUB.Count_And_Get (p_count => l_msg_count,
1308: p_data => l_msg_data);
1309:
1310:

Line 1311: when FND_API.G_EXC_UNEXPECTED_ERROR then

1307: FND_MSG_PUB.Count_And_Get (p_count => l_msg_count,
1308: p_data => l_msg_data);
1309:
1310:
1311: when FND_API.G_EXC_UNEXPECTED_ERROR then
1312: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1313: FND_MSG_PUB.Count_And_Get (p_count => l_msg_count,
1314: p_data => l_msg_data);
1315:

Line 1312: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

1308: p_data => l_msg_data);
1309:
1310:
1311: when FND_API.G_EXC_UNEXPECTED_ERROR then
1312: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1313: FND_MSG_PUB.Count_And_Get (p_count => l_msg_count,
1314: p_data => l_msg_data);
1315:
1316:

Line 1318: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

1314: p_data => l_msg_data);
1315:
1316:
1317: when OTHERS then
1318: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1319:
1320: if FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) then
1321: FND_MSG_PUB.Add_Exc_Msg (G_PKG_NAME,
1322: l_api_name);

Line 1334: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,

1330: /* ----------------------------------------------------------------------- */
1331:
1332: PROCEDURE Validate_Entity_Set
1333: ( p_api_version IN NUMBER,
1334: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,
1335: p_return_status OUT NOCOPY VARCHAR2,
1336: p_data_extract_id IN NUMBER,
1337: p_parameter_set_id IN NUMBER,
1338: p_constraint_set_id IN NUMBER

Line 1362: if not FND_API.Compatible_API_Call (l_api_version,

1358: BEGIN
1359:
1360: -- Standard call to check for call compatibility.
1361:
1362: if not FND_API.Compatible_API_Call (l_api_version,
1363: p_api_version,
1364: l_api_name,
1365: G_PKG_NAME)
1366: then

Line 1367: raise FND_API.G_EXC_UNEXPECTED_ERROR;

1363: p_api_version,
1364: l_api_name,
1365: G_PKG_NAME)
1366: then
1367: raise FND_API.G_EXC_UNEXPECTED_ERROR;
1368: end if;
1369:
1370: l_exists := FND_API.G_FALSE;
1371:

Line 1370: l_exists := FND_API.G_FALSE;

1366: then
1367: raise FND_API.G_EXC_UNEXPECTED_ERROR;
1368: end if;
1369:
1370: l_exists := FND_API.G_FALSE;
1371:
1372: if p_parameter_set_id is not null then
1373: begin
1374:

Line 1376: l_exists := FND_API.G_TRUE;

1372: if p_parameter_set_id is not null then
1373: begin
1374:
1375: for c_ParamSet_Rec in c_ParamSet loop
1376: l_exists := FND_API.G_TRUE;
1377: end loop;
1378:
1379: if not FND_API.to_Boolean(l_exists) then
1380: add_message('PSB', 'PSB_INVALID_PARAMETER_SET');

Line 1379: if not FND_API.to_Boolean(l_exists) then

1375: for c_ParamSet_Rec in c_ParamSet loop
1376: l_exists := FND_API.G_TRUE;
1377: end loop;
1378:
1379: if not FND_API.to_Boolean(l_exists) then
1380: add_message('PSB', 'PSB_INVALID_PARAMETER_SET');
1381: raise FND_API.G_EXC_ERROR;
1382: end if;
1383:

Line 1381: raise FND_API.G_EXC_ERROR;

1377: end loop;
1378:
1379: if not FND_API.to_Boolean(l_exists) then
1380: add_message('PSB', 'PSB_INVALID_PARAMETER_SET');
1381: raise FND_API.G_EXC_ERROR;
1382: end if;
1383:
1384: end;
1385: end if;

Line 1387: l_exists := FND_API.G_FALSE;

1383:
1384: end;
1385: end if;
1386:
1387: l_exists := FND_API.G_FALSE;
1388:
1389: if p_constraint_set_id is not null then
1390: begin
1391:

Line 1393: l_exists := FND_API.G_TRUE;

1389: if p_constraint_set_id is not null then
1390: begin
1391:
1392: for c_ConsSet_Rec in c_ConsSet loop
1393: l_exists := FND_API.G_TRUE;
1394: end loop;
1395:
1396: if not FND_API.to_Boolean(l_exists) then
1397: add_message('PSB', 'PSB_INVALID_CONSTRAINT_SET');

Line 1396: if not FND_API.to_Boolean(l_exists) then

1392: for c_ConsSet_Rec in c_ConsSet loop
1393: l_exists := FND_API.G_TRUE;
1394: end loop;
1395:
1396: if not FND_API.to_Boolean(l_exists) then
1397: add_message('PSB', 'PSB_INVALID_CONSTRAINT_SET');
1398: raise FND_API.G_EXC_ERROR;
1399: end if;
1400:

Line 1398: raise FND_API.G_EXC_ERROR;

1394: end loop;
1395:
1396: if not FND_API.to_Boolean(l_exists) then
1397: add_message('PSB', 'PSB_INVALID_CONSTRAINT_SET');
1398: raise FND_API.G_EXC_ERROR;
1399: end if;
1400:
1401: end;
1402: end if;

Line 1407: p_return_status := FND_API.G_RET_STS_SUCCESS;

1403:
1404:
1405: -- Initialize API return status to success
1406:
1407: p_return_status := FND_API.G_RET_STS_SUCCESS;
1408:
1409:
1410: EXCEPTION
1411:

Line 1412: when FND_API.G_EXC_ERROR then

1408:
1409:
1410: EXCEPTION
1411:
1412: when FND_API.G_EXC_ERROR then
1413: p_return_status := FND_API.G_RET_STS_ERROR;
1414:
1415: when FND_API.G_EXC_UNEXPECTED_ERROR then
1416: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 1413: p_return_status := FND_API.G_RET_STS_ERROR;

1409:
1410: EXCEPTION
1411:
1412: when FND_API.G_EXC_ERROR then
1413: p_return_status := FND_API.G_RET_STS_ERROR;
1414:
1415: when FND_API.G_EXC_UNEXPECTED_ERROR then
1416: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1417:

Line 1415: when FND_API.G_EXC_UNEXPECTED_ERROR then

1411:
1412: when FND_API.G_EXC_ERROR then
1413: p_return_status := FND_API.G_RET_STS_ERROR;
1414:
1415: when FND_API.G_EXC_UNEXPECTED_ERROR then
1416: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1417:
1418: when OTHERS then
1419: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 1416: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

1412: when FND_API.G_EXC_ERROR then
1413: p_return_status := FND_API.G_RET_STS_ERROR;
1414:
1415: when FND_API.G_EXC_UNEXPECTED_ERROR then
1416: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1417:
1418: when OTHERS then
1419: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1420:

Line 1419: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

1415: when FND_API.G_EXC_UNEXPECTED_ERROR then
1416: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1417:
1418: when OTHERS then
1419: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1420:
1421: if FND_MSG_PUB.Check_Msg_Level
1422: (p_message_level => FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) then
1423:

Line 1436: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,

1432: /* ----------------------------------------------------------------------- */
1433:
1434: PROCEDURE Pre_Create_Line_Items
1435: ( p_api_version IN NUMBER,
1436: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,
1437: p_return_status OUT NOCOPY VARCHAR2,
1438: p_worksheet_id IN NUMBER
1439: ) IS
1440:

Line 1450: if not FND_API.Compatible_API_Call (l_api_version,

1446: BEGIN
1447:
1448: -- Standard call to check for call compatibility.
1449:
1450: if not FND_API.Compatible_API_Call (l_api_version,
1451: p_api_version,
1452: l_api_name,
1453: G_PKG_NAME)
1454: then

Line 1455: raise FND_API.G_EXC_UNEXPECTED_ERROR;

1451: p_api_version,
1452: l_api_name,
1453: G_PKG_NAME)
1454: then
1455: raise FND_API.G_EXC_UNEXPECTED_ERROR;
1456: end if;
1457:
1458: Initialize (p_worksheet_id => p_worksheet_id,
1459: p_return_status => l_return_status);

Line 1461: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

1457:
1458: Initialize (p_worksheet_id => p_worksheet_id,
1459: p_return_status => l_return_status);
1460:
1461: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1462: raise FND_API.G_EXC_ERROR;
1463: end if;
1464:
1465: /*For Bug No : 2260391 Start*/

Line 1462: raise FND_API.G_EXC_ERROR;

1458: Initialize (p_worksheet_id => p_worksheet_id,
1459: p_return_status => l_return_status);
1460:
1461: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1462: raise FND_API.G_EXC_ERROR;
1463: end if;
1464:
1465: /*For Bug No : 2260391 Start*/
1466: /*if g_current_stage_seq <> g_start_stage_seq then

Line 1468: raise FND_API.G_EXC_ERROR;

1464:
1465: /*For Bug No : 2260391 Start*/
1466: /*if g_current_stage_seq <> g_start_stage_seq then
1467: add_message('PSB', 'PSB_CANNOT_RECREATE_WORKSHEET');
1468: raise FND_API.G_EXC_ERROR;
1469: end if;*/
1470: /*For Bug No : 2260391 Start*/
1471:
1472: delete from PSB_ERROR_MESSAGES

Line 1482: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

1478: p_return_status => l_return_status,
1479: p_worksheet_id => p_worksheet_id,
1480: p_ws_creation_complete => 'N');
1481:
1482: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1483: raise FND_API.G_EXC_ERROR;
1484: end if;
1485:
1486: -- Initialize API return status to success

Line 1483: raise FND_API.G_EXC_ERROR;

1479: p_worksheet_id => p_worksheet_id,
1480: p_ws_creation_complete => 'N');
1481:
1482: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1483: raise FND_API.G_EXC_ERROR;
1484: end if;
1485:
1486: -- Initialize API return status to success
1487:

Line 1488: p_return_status := FND_API.G_RET_STS_SUCCESS;

1484: end if;
1485:
1486: -- Initialize API return status to success
1487:
1488: p_return_status := FND_API.G_RET_STS_SUCCESS;
1489:
1490:
1491: EXCEPTION
1492:

Line 1493: when FND_API.G_EXC_ERROR then

1489:
1490:
1491: EXCEPTION
1492:
1493: when FND_API.G_EXC_ERROR then
1494: p_return_status := FND_API.G_RET_STS_ERROR;
1495:
1496: when FND_API.G_EXC_UNEXPECTED_ERROR then
1497: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 1494: p_return_status := FND_API.G_RET_STS_ERROR;

1490:
1491: EXCEPTION
1492:
1493: when FND_API.G_EXC_ERROR then
1494: p_return_status := FND_API.G_RET_STS_ERROR;
1495:
1496: when FND_API.G_EXC_UNEXPECTED_ERROR then
1497: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1498:

Line 1496: when FND_API.G_EXC_UNEXPECTED_ERROR then

1492:
1493: when FND_API.G_EXC_ERROR then
1494: p_return_status := FND_API.G_RET_STS_ERROR;
1495:
1496: when FND_API.G_EXC_UNEXPECTED_ERROR then
1497: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1498:
1499: when OTHERS then
1500: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 1497: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

1493: when FND_API.G_EXC_ERROR then
1494: p_return_status := FND_API.G_RET_STS_ERROR;
1495:
1496: when FND_API.G_EXC_UNEXPECTED_ERROR then
1497: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1498:
1499: when OTHERS then
1500: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1501:

Line 1500: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

1496: when FND_API.G_EXC_UNEXPECTED_ERROR then
1497: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1498:
1499: when OTHERS then
1500: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1501:
1502: if FND_MSG_PUB.Check_Msg_Level
1503: (p_message_level => FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) then
1504:

Line 1517: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,

1513: /* ----------------------------------------------------------------------- */
1514:
1515: PROCEDURE Create_Acct_Line_Items
1516: ( p_api_version IN NUMBER,
1517: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,
1518: p_return_status OUT NOCOPY VARCHAR2,
1519: p_worksheet_id IN NUMBER
1520: ) IS
1521:

Line 1533: if not FND_API.Compatible_API_Call (l_api_version,

1529: BEGIN
1530:
1531: -- Standard call to check for call compatibility.
1532:
1533: if not FND_API.Compatible_API_Call (l_api_version,
1534: p_api_version,
1535: l_api_name,
1536: G_PKG_NAME)
1537: then

Line 1538: raise FND_API.G_EXC_UNEXPECTED_ERROR;

1534: p_api_version,
1535: l_api_name,
1536: G_PKG_NAME)
1537: then
1538: raise FND_API.G_EXC_UNEXPECTED_ERROR;
1539: end if;
1540:
1541: Initialize (p_worksheet_id => p_worksheet_id,
1542: p_return_status => l_return_status);

Line 1544: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

1540:
1541: Initialize (p_worksheet_id => p_worksheet_id,
1542: p_return_status => l_return_status);
1543:
1544: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1545: raise FND_API.G_EXC_ERROR;
1546: end if;
1547:
1548: if g_budget_calendar_id <> nvl(PSB_WS_ACCT1.g_budget_calendar_id, FND_API.G_MISS_NUM) then

Line 1545: raise FND_API.G_EXC_ERROR;

1541: Initialize (p_worksheet_id => p_worksheet_id,
1542: p_return_status => l_return_status);
1543:
1544: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1545: raise FND_API.G_EXC_ERROR;
1546: end if;
1547:
1548: if g_budget_calendar_id <> nvl(PSB_WS_ACCT1.g_budget_calendar_id, FND_API.G_MISS_NUM) then
1549: begin

Line 1548: if g_budget_calendar_id <> nvl(PSB_WS_ACCT1.g_budget_calendar_id, FND_API.G_MISS_NUM) then

1544: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1545: raise FND_API.G_EXC_ERROR;
1546: end if;
1547:
1548: if g_budget_calendar_id <> nvl(PSB_WS_ACCT1.g_budget_calendar_id, FND_API.G_MISS_NUM) then
1549: begin
1550:
1551: PSB_WS_ACCT1.Cache_Budget_Calendar
1552: (p_return_status => l_return_status,

Line 1555: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

1551: PSB_WS_ACCT1.Cache_Budget_Calendar
1552: (p_return_status => l_return_status,
1553: p_budget_calendar_id => g_budget_calendar_id);
1554:
1555: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1556: raise FND_API.G_EXC_ERROR;
1557: end if;
1558:
1559: end;

Line 1556: raise FND_API.G_EXC_ERROR;

1552: (p_return_status => l_return_status,
1553: p_budget_calendar_id => g_budget_calendar_id);
1554:
1555: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1556: raise FND_API.G_EXC_ERROR;
1557: end if;
1558:
1559: end;
1560: end if;

Line 1594: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

1590: p_budget_group_id => g_budget_group_id,
1591: p_data_extract_id => g_data_extract_id,
1592: p_gl_budget_set_id => g_gl_budget_set_id);
1593:
1594: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1595: raise FND_API.G_EXC_ERROR;
1596: end if;
1597:
1598: PSB_CONCURRENCY_CONTROL_PVT.Enforce_Concurrency_Control

Line 1595: raise FND_API.G_EXC_ERROR;

1591: p_data_extract_id => g_data_extract_id,
1592: p_gl_budget_set_id => g_gl_budget_set_id);
1593:
1594: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1595: raise FND_API.G_EXC_ERROR;
1596: end if;
1597:
1598: PSB_CONCURRENCY_CONTROL_PVT.Enforce_Concurrency_Control
1599: (p_api_version => 1.0 ,

Line 1605: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

1601: p_concurrency_class => 'WORKSHEET_CREATION',
1602: p_concurrency_entity_name => 'WORKSHEET',
1603: p_concurrency_entity_id => p_worksheet_id);
1604:
1605: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1606: raise FND_API.G_EXC_ERROR;
1607: end if;
1608:
1609: if g_sp1_status = 'I' then

Line 1606: raise FND_API.G_EXC_ERROR;

1602: p_concurrency_entity_name => 'WORKSHEET',
1603: p_concurrency_entity_id => p_worksheet_id);
1604:
1605: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1606: raise FND_API.G_EXC_ERROR;
1607: end if;
1608:
1609: if g_sp1_status = 'I' then
1610: begin

Line 1612: if ((FND_API.to_Boolean(g_include_cbc_commit_balance)) or

1608:
1609: if g_sp1_status = 'I' then
1610: begin
1611:
1612: if ((FND_API.to_Boolean(g_include_cbc_commit_balance)) or
1613: (FND_API.to_Boolean(g_include_cbc_oblig_balance)) or
1614: (FND_API.to_Boolean(g_include_cbc_budget_balance))) then
1615: begin
1616:

Line 1613: (FND_API.to_Boolean(g_include_cbc_oblig_balance)) or

1609: if g_sp1_status = 'I' then
1610: begin
1611:
1612: if ((FND_API.to_Boolean(g_include_cbc_commit_balance)) or
1613: (FND_API.to_Boolean(g_include_cbc_oblig_balance)) or
1614: (FND_API.to_Boolean(g_include_cbc_budget_balance))) then
1615: begin
1616:
1617: PSB_COMMITMENTS_PVT.Create_Commitment_Line_Items

Line 1614: (FND_API.to_Boolean(g_include_cbc_budget_balance))) then

1610: begin
1611:
1612: if ((FND_API.to_Boolean(g_include_cbc_commit_balance)) or
1613: (FND_API.to_Boolean(g_include_cbc_oblig_balance)) or
1614: (FND_API.to_Boolean(g_include_cbc_budget_balance))) then
1615: begin
1616:
1617: PSB_COMMITMENTS_PVT.Create_Commitment_Line_Items
1618: (p_api_version => 1.0,

Line 1624: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

1620: p_msg_count => l_msg_count,
1621: p_msg_data => l_msg_data,
1622: p_worksheet_id => p_worksheet_id);
1623:
1624: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1625: message_token('WORKSHEET', p_worksheet_id);
1626: add_message('PSB', 'PSB_CANNOT_CREATE_COMMITMENT_W');
1627: raise FND_API.G_EXC_ERROR;
1628: end if;

Line 1627: raise FND_API.G_EXC_ERROR;

1623:
1624: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1625: message_token('WORKSHEET', p_worksheet_id);
1626: add_message('PSB', 'PSB_CANNOT_CREATE_COMMITMENT_W');
1627: raise FND_API.G_EXC_ERROR;
1628: end if;
1629:
1630: end;
1631: else

Line 1667: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

1663: /* bug no 4725091 */
1664: P_incl_gl_fwd_balance => g_include_gl_forward_balance);
1665:
1666:
1667: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1668: raise FND_API.G_EXC_ERROR;
1669: end if;
1670:
1671: end;

Line 1668: raise FND_API.G_EXC_ERROR;

1664: P_incl_gl_fwd_balance => g_include_gl_forward_balance);
1665:
1666:
1667: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1668: raise FND_API.G_EXC_ERROR;
1669: end if;
1670:
1671: end;
1672: end if;

Line 1691: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

1687: p_concurrency_class => 'WORKSHEET_CREATION',
1688: p_concurrency_entity_name => 'WORKSHEET',
1689: p_concurrency_entity_id => p_worksheet_id);
1690:
1691: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1692: raise FND_API.G_EXC_ERROR;
1693: end if;
1694:
1695:

Line 1692: raise FND_API.G_EXC_ERROR;

1688: p_concurrency_entity_name => 'WORKSHEET',
1689: p_concurrency_entity_id => p_worksheet_id);
1690:
1691: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1692: raise FND_API.G_EXC_ERROR;
1693: end if;
1694:
1695:
1696: -- Initialize API return status to success

Line 1698: p_return_status := FND_API.G_RET_STS_SUCCESS;

1694:
1695:
1696: -- Initialize API return status to success
1697:
1698: p_return_status := FND_API.G_RET_STS_SUCCESS;
1699:
1700:
1701: EXCEPTION
1702:

Line 1703: when FND_API.G_EXC_ERROR then

1699:
1700:
1701: EXCEPTION
1702:
1703: when FND_API.G_EXC_ERROR then
1704: p_return_status := FND_API.G_RET_STS_ERROR;
1705:
1706: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
1707: (p_api_version => 1.0 ,

Line 1704: p_return_status := FND_API.G_RET_STS_ERROR;

1700:
1701: EXCEPTION
1702:
1703: when FND_API.G_EXC_ERROR then
1704: p_return_status := FND_API.G_RET_STS_ERROR;
1705:
1706: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
1707: (p_api_version => 1.0 ,
1708: p_return_status => l_return_status,

Line 1713: when FND_API.G_EXC_UNEXPECTED_ERROR then

1709: p_concurrency_class => 'WORKSHEET_CREATION',
1710: p_concurrency_entity_name => 'WORKSHEET',
1711: p_concurrency_entity_id => p_worksheet_id);
1712:
1713: when FND_API.G_EXC_UNEXPECTED_ERROR then
1714: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1715:
1716: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
1717: (p_api_version => 1.0 ,

Line 1714: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

1710: p_concurrency_entity_name => 'WORKSHEET',
1711: p_concurrency_entity_id => p_worksheet_id);
1712:
1713: when FND_API.G_EXC_UNEXPECTED_ERROR then
1714: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1715:
1716: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
1717: (p_api_version => 1.0 ,
1718: p_return_status => l_return_status,

Line 1724: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

1720: p_concurrency_entity_name => 'WORKSHEET',
1721: p_concurrency_entity_id => p_worksheet_id);
1722:
1723: when OTHERS then
1724: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1725:
1726: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
1727: (p_api_version => 1.0 ,
1728: p_return_status => l_return_status,

Line 1748: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,

1744: /* ----------------------------------------------------------------------- */
1745:
1746: PROCEDURE Create_Pos_Line_Items
1747: ( p_api_version IN NUMBER,
1748: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,
1749: p_return_status OUT NOCOPY VARCHAR2,
1750: p_worksheet_id IN NUMBER
1751: ) IS
1752:

Line 1764: if not FND_API.Compatible_API_Call (l_api_version,

1760: BEGIN
1761:
1762: -- Standard call to check for call compatibility.
1763:
1764: if not FND_API.Compatible_API_Call (l_api_version,
1765: p_api_version,
1766: l_api_name,
1767: G_PKG_NAME)
1768: then

Line 1769: raise FND_API.G_EXC_UNEXPECTED_ERROR;

1765: p_api_version,
1766: l_api_name,
1767: G_PKG_NAME)
1768: then
1769: raise FND_API.G_EXC_UNEXPECTED_ERROR;
1770: end if;
1771:
1772: Initialize (p_worksheet_id => p_worksheet_id,
1773: p_return_status => l_return_status);

Line 1775: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

1771:
1772: Initialize (p_worksheet_id => p_worksheet_id,
1773: p_return_status => l_return_status);
1774:
1775: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1776: raise FND_API.G_EXC_ERROR;
1777: end if;
1778:
1779: if FND_API.to_Boolean(g_budget_by_position) then

Line 1776: raise FND_API.G_EXC_ERROR;

1772: Initialize (p_worksheet_id => p_worksheet_id,
1773: p_return_status => l_return_status);
1774:
1775: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1776: raise FND_API.G_EXC_ERROR;
1777: end if;
1778:
1779: if FND_API.to_Boolean(g_budget_by_position) then
1780: begin

Line 1779: if FND_API.to_Boolean(g_budget_by_position) then

1775: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1776: raise FND_API.G_EXC_ERROR;
1777: end if;
1778:
1779: if FND_API.to_Boolean(g_budget_by_position) then
1780: begin
1781:
1782: if g_budget_calendar_id <> nvl(PSB_WS_ACCT1.g_budget_calendar_id, FND_API.G_MISS_NUM) then
1783: begin

Line 1782: if g_budget_calendar_id <> nvl(PSB_WS_ACCT1.g_budget_calendar_id, FND_API.G_MISS_NUM) then

1778:
1779: if FND_API.to_Boolean(g_budget_by_position) then
1780: begin
1781:
1782: if g_budget_calendar_id <> nvl(PSB_WS_ACCT1.g_budget_calendar_id, FND_API.G_MISS_NUM) then
1783: begin
1784:
1785: PSB_WS_ACCT1.Cache_Budget_Calendar
1786: (p_return_status => l_return_status,

Line 1789: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

1785: PSB_WS_ACCT1.Cache_Budget_Calendar
1786: (p_return_status => l_return_status,
1787: p_budget_calendar_id => g_budget_calendar_id);
1788:
1789: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1790: raise FND_API.G_EXC_ERROR;
1791: end if;
1792:
1793: end;

Line 1790: raise FND_API.G_EXC_ERROR;

1786: (p_return_status => l_return_status,
1787: p_budget_calendar_id => g_budget_calendar_id);
1788:
1789: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1790: raise FND_API.G_EXC_ERROR;
1791: end if;
1792:
1793: end;
1794: end if;

Line 1811: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

1807: p_budget_group_id => g_budget_group_id,
1808: p_data_extract_id => g_data_extract_id,
1809: p_gl_budget_set_id => g_gl_budget_set_id);
1810:
1811: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1812: raise FND_API.G_EXC_ERROR;
1813: end if;
1814:
1815: if g_sp2_status = 'I' then

Line 1812: raise FND_API.G_EXC_ERROR;

1808: p_data_extract_id => g_data_extract_id,
1809: p_gl_budget_set_id => g_gl_budget_set_id);
1810:
1811: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1812: raise FND_API.G_EXC_ERROR;
1813: end if;
1814:
1815: if g_sp2_status = 'I' then
1816: begin

Line 1825: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

1821: p_concurrency_class => 'WORKSHEET_CREATION',
1822: p_concurrency_entity_name => 'WORKSHEET',
1823: p_concurrency_entity_id => p_worksheet_id);
1824:
1825: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1826: raise FND_API.G_EXC_ERROR;
1827: end if;
1828:
1829: PSB_WS_POS2.Create_Worksheet_Positions

Line 1826: raise FND_API.G_EXC_ERROR;

1822: p_concurrency_entity_name => 'WORKSHEET',
1823: p_concurrency_entity_id => p_worksheet_id);
1824:
1825: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1826: raise FND_API.G_EXC_ERROR;
1827: end if;
1828:
1829: PSB_WS_POS2.Create_Worksheet_Positions
1830: (p_return_status => l_return_status,

Line 1852: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

1848: p_flex_code => g_flex_code,
1849: p_apply_element_parameters => g_apply_element_parameters,
1850: p_apply_position_parameters => g_apply_position_parameters);
1851:
1852: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1853: raise FND_API.G_EXC_ERROR;
1854: end if;
1855:
1856: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control

Line 1853: raise FND_API.G_EXC_ERROR;

1849: p_apply_element_parameters => g_apply_element_parameters,
1850: p_apply_position_parameters => g_apply_position_parameters);
1851:
1852: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1853: raise FND_API.G_EXC_ERROR;
1854: end if;
1855:
1856: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
1857: (p_api_version => 1.0 ,

Line 1863: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

1859: p_concurrency_class => 'WORKSHEET_CREATION',
1860: p_concurrency_entity_name => 'WORKSHEET',
1861: p_concurrency_entity_id => p_worksheet_id);
1862:
1863: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1864: raise FND_API.G_EXC_ERROR;
1865: end if;
1866:
1867: update PSB_REENTRANT_PROCESS_STATUS

Line 1864: raise FND_API.G_EXC_ERROR;

1860: p_concurrency_entity_name => 'WORKSHEET',
1861: p_concurrency_entity_id => p_worksheet_id);
1862:
1863: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
1864: raise FND_API.G_EXC_ERROR;
1865: end if;
1866:
1867: update PSB_REENTRANT_PROCESS_STATUS
1868: set sp2_status = 'C'

Line 1883: p_return_status := FND_API.G_RET_STS_SUCCESS;

1879:
1880:
1881: -- Initialize API return status to success
1882:
1883: p_return_status := FND_API.G_RET_STS_SUCCESS;
1884:
1885:
1886: EXCEPTION
1887:

Line 1888: when FND_API.G_EXC_ERROR then

1884:
1885:
1886: EXCEPTION
1887:
1888: when FND_API.G_EXC_ERROR then
1889: p_return_status := FND_API.G_RET_STS_ERROR;
1890:
1891: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
1892: (p_api_version => 1.0 ,

Line 1889: p_return_status := FND_API.G_RET_STS_ERROR;

1885:
1886: EXCEPTION
1887:
1888: when FND_API.G_EXC_ERROR then
1889: p_return_status := FND_API.G_RET_STS_ERROR;
1890:
1891: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
1892: (p_api_version => 1.0 ,
1893: p_return_status => l_return_status,

Line 1898: when FND_API.G_EXC_UNEXPECTED_ERROR then

1894: p_concurrency_class => 'WORKSHEET_CREATION',
1895: p_concurrency_entity_name => 'WORKSHEET',
1896: p_concurrency_entity_id => p_worksheet_id);
1897:
1898: when FND_API.G_EXC_UNEXPECTED_ERROR then
1899: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1900:
1901: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
1902: (p_api_version => 1.0 ,

Line 1899: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

1895: p_concurrency_entity_name => 'WORKSHEET',
1896: p_concurrency_entity_id => p_worksheet_id);
1897:
1898: when FND_API.G_EXC_UNEXPECTED_ERROR then
1899: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1900:
1901: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
1902: (p_api_version => 1.0 ,
1903: p_return_status => l_return_status,

Line 1909: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

1905: p_concurrency_entity_name => 'WORKSHEET',
1906: p_concurrency_entity_id => p_worksheet_id);
1907:
1908: when OTHERS then
1909: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1910:
1911: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
1912: (p_api_version => 1.0 ,
1913: p_return_status => l_return_status,

Line 1933: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,

1929: /* ----------------------------------------------------------------------- */
1930:
1931: PROCEDURE Apply_Acct_Constraints
1932: ( p_api_version IN NUMBER,
1933: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,
1934: p_return_status OUT NOCOPY VARCHAR2,
1935: p_worksheet_id IN NUMBER
1936: ) IS
1937:

Line 1988: if not FND_API.Compatible_API_Call (l_api_version,

1984: BEGIN
1985:
1986: -- Standard call to check for call compatibility.
1987:
1988: if not FND_API.Compatible_API_Call (l_api_version,
1989: p_api_version,
1990: l_api_name,
1991: G_PKG_NAME)
1992: then

Line 1993: raise FND_API.G_EXC_UNEXPECTED_ERROR;

1989: p_api_version,
1990: l_api_name,
1991: G_PKG_NAME)
1992: then
1993: raise FND_API.G_EXC_UNEXPECTED_ERROR;
1994: end if;
1995:
1996: for c_WS_Rec in c_WS loop
1997: l_budget_group_id := c_WS_Rec.budget_group_id;

Line 2019: if nvl(l_constraint_set_id, FND_API.G_MISS_NUM) <> FND_API.G_MISS_NUM then

2015:
2016: Initialize (p_worksheet_id => p_worksheet_id,
2017: p_return_status => l_return_status);
2018:
2019: if nvl(l_constraint_set_id, FND_API.G_MISS_NUM) <> FND_API.G_MISS_NUM then
2020: begin
2021:
2022: if l_budget_calendar_id <> nvl(PSB_WS_ACCT1.g_budget_calendar_id, FND_API.G_MISS_NUM) then
2023: begin

Line 2022: if l_budget_calendar_id <> nvl(PSB_WS_ACCT1.g_budget_calendar_id, FND_API.G_MISS_NUM) then

2018:
2019: if nvl(l_constraint_set_id, FND_API.G_MISS_NUM) <> FND_API.G_MISS_NUM then
2020: begin
2021:
2022: if l_budget_calendar_id <> nvl(PSB_WS_ACCT1.g_budget_calendar_id, FND_API.G_MISS_NUM) then
2023: begin
2024:
2025: PSB_WS_ACCT1.Cache_Budget_Calendar
2026: (p_return_status => l_return_status,

Line 2029: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

2025: PSB_WS_ACCT1.Cache_Budget_Calendar
2026: (p_return_status => l_return_status,
2027: p_budget_calendar_id => l_budget_calendar_id);
2028:
2029: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
2030: raise FND_API.G_EXC_ERROR;
2031: end if;
2032:
2033: end;

Line 2030: raise FND_API.G_EXC_ERROR;

2026: (p_return_status => l_return_status,
2027: p_budget_calendar_id => l_budget_calendar_id);
2028:
2029: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
2030: raise FND_API.G_EXC_ERROR;
2031: end if;
2032:
2033: end;
2034: end if;

Line 2047: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

2043: p_budget_group_id => g_budget_group_id,
2044: p_data_extract_id => g_data_extract_id,
2045: p_gl_budget_set_id => g_gl_budget_set_id);
2046:
2047: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
2048: raise FND_API.G_EXC_ERROR;
2049: end if;
2050:
2051: PSB_CONCURRENCY_CONTROL_PVT.Enforce_Concurrency_Control

Line 2048: raise FND_API.G_EXC_ERROR;

2044: p_data_extract_id => g_data_extract_id,
2045: p_gl_budget_set_id => g_gl_budget_set_id);
2046:
2047: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
2048: raise FND_API.G_EXC_ERROR;
2049: end if;
2050:
2051: PSB_CONCURRENCY_CONTROL_PVT.Enforce_Concurrency_Control
2052: (p_api_version => 1.0 ,

Line 2058: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

2054: p_concurrency_class => 'WORKSHEET_CREATION',
2055: p_concurrency_entity_name => 'WORKSHEET',
2056: p_concurrency_entity_id => p_worksheet_id);
2057:
2058: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
2059: raise FND_API.G_EXC_ERROR;
2060: end if;
2061:
2062: PSB_WS_ACCT1.Apply_Account_Constraints

Line 2059: raise FND_API.G_EXC_ERROR;

2055: p_concurrency_entity_name => 'WORKSHEET',
2056: p_concurrency_entity_id => p_worksheet_id);
2057:
2058: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
2059: raise FND_API.G_EXC_ERROR;
2060: end if;
2061:
2062: PSB_WS_ACCT1.Apply_Account_Constraints
2063: (p_return_status => l_return_status,

Line 2075: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

2071: p_constraint_set_name => l_cs_name,
2072: p_constraint_threshold => l_cs_threshold,
2073: p_budget_calendar_id => l_budget_calendar_id);
2074:
2075: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
2076: raise FND_API.G_EXC_ERROR;
2077: end if;
2078:
2079: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control

Line 2076: raise FND_API.G_EXC_ERROR;

2072: p_constraint_threshold => l_cs_threshold,
2073: p_budget_calendar_id => l_budget_calendar_id);
2074:
2075: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
2076: raise FND_API.G_EXC_ERROR;
2077: end if;
2078:
2079: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
2080: (p_api_version => 1.0 ,

Line 2086: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

2082: p_concurrency_class => 'WORKSHEET_CREATION',
2083: p_concurrency_entity_name => 'WORKSHEET',
2084: p_concurrency_entity_id => p_worksheet_id);
2085:
2086: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
2087: raise FND_API.G_EXC_ERROR;
2088: end if;
2089:
2090: end;

Line 2087: raise FND_API.G_EXC_ERROR;

2083: p_concurrency_entity_name => 'WORKSHEET',
2084: p_concurrency_entity_id => p_worksheet_id);
2085:
2086: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
2087: raise FND_API.G_EXC_ERROR;
2088: end if;
2089:
2090: end;
2091: end if;

Line 2096: p_return_status := FND_API.G_RET_STS_SUCCESS;

2092:
2093:
2094: -- Initialize API return status to success
2095:
2096: p_return_status := FND_API.G_RET_STS_SUCCESS;
2097:
2098:
2099: EXCEPTION
2100:

Line 2101: when FND_API.G_EXC_ERROR then

2097:
2098:
2099: EXCEPTION
2100:
2101: when FND_API.G_EXC_ERROR then
2102: p_return_status := FND_API.G_RET_STS_ERROR;
2103:
2104: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
2105: (p_api_version => 1.0 ,

Line 2102: p_return_status := FND_API.G_RET_STS_ERROR;

2098:
2099: EXCEPTION
2100:
2101: when FND_API.G_EXC_ERROR then
2102: p_return_status := FND_API.G_RET_STS_ERROR;
2103:
2104: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
2105: (p_api_version => 1.0 ,
2106: p_return_status => l_return_status,

Line 2111: when FND_API.G_EXC_UNEXPECTED_ERROR then

2107: p_concurrency_class => 'WORKSHEET_CREATION',
2108: p_concurrency_entity_name => 'WORKSHEET',
2109: p_concurrency_entity_id => p_worksheet_id);
2110:
2111: when FND_API.G_EXC_UNEXPECTED_ERROR then
2112: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2113:
2114: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
2115: (p_api_version => 1.0 ,

Line 2112: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

2108: p_concurrency_entity_name => 'WORKSHEET',
2109: p_concurrency_entity_id => p_worksheet_id);
2110:
2111: when FND_API.G_EXC_UNEXPECTED_ERROR then
2112: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2113:
2114: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
2115: (p_api_version => 1.0 ,
2116: p_return_status => l_return_status,

Line 2122: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

2118: p_concurrency_entity_name => 'WORKSHEET',
2119: p_concurrency_entity_id => p_worksheet_id);
2120:
2121: when OTHERS then
2122: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2123:
2124: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
2125: (p_api_version => 1.0 ,
2126: p_return_status => l_return_status,

Line 2146: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,

2142: /* ----------------------------------------------------------------------- */
2143:
2144: PROCEDURE Apply_Pos_Constraints
2145: ( p_api_version IN NUMBER,
2146: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,
2147: p_return_status OUT NOCOPY VARCHAR2,
2148: p_worksheet_id IN NUMBER
2149: ) IS
2150:

Line 2201: if not FND_API.Compatible_API_Call (l_api_version,

2197: BEGIN
2198:
2199: -- Standard call to check for call compatibility.
2200:
2201: if not FND_API.Compatible_API_Call (l_api_version,
2202: p_api_version,
2203: l_api_name,
2204: G_PKG_NAME)
2205: then

Line 2206: raise FND_API.G_EXC_UNEXPECTED_ERROR;

2202: p_api_version,
2203: l_api_name,
2204: G_PKG_NAME)
2205: then
2206: raise FND_API.G_EXC_UNEXPECTED_ERROR;
2207: end if;
2208:
2209: for c_WS_Rec in c_WS loop
2210: l_budget_group_id := c_WS_Rec.budget_group_id;

Line 2229: if nvl(l_constraint_set_id, FND_API.G_MISS_NUM) <> FND_API.G_MISS_NUM then

2225: l_cs_name := c_ConstSet_Rec.name;
2226: l_cs_threshold := c_ConstSet_Rec.constraint_threshold;
2227: end loop;
2228:
2229: if nvl(l_constraint_set_id, FND_API.G_MISS_NUM) <> FND_API.G_MISS_NUM then
2230: begin
2231:
2232: if l_budget_calendar_id <> nvl(PSB_WS_ACCT1.g_budget_calendar_id, FND_API.G_MISS_NUM) then
2233: begin

Line 2232: if l_budget_calendar_id <> nvl(PSB_WS_ACCT1.g_budget_calendar_id, FND_API.G_MISS_NUM) then

2228:
2229: if nvl(l_constraint_set_id, FND_API.G_MISS_NUM) <> FND_API.G_MISS_NUM then
2230: begin
2231:
2232: if l_budget_calendar_id <> nvl(PSB_WS_ACCT1.g_budget_calendar_id, FND_API.G_MISS_NUM) then
2233: begin
2234:
2235: PSB_WS_ACCT1.Cache_Budget_Calendar
2236: (p_return_status => l_return_status,

Line 2239: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

2235: PSB_WS_ACCT1.Cache_Budget_Calendar
2236: (p_return_status => l_return_status,
2237: p_budget_calendar_id => l_budget_calendar_id);
2238:
2239: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
2240: raise FND_API.G_EXC_ERROR;
2241: end if;
2242:
2243: end;

Line 2240: raise FND_API.G_EXC_ERROR;

2236: (p_return_status => l_return_status,
2237: p_budget_calendar_id => l_budget_calendar_id);
2238:
2239: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
2240: raise FND_API.G_EXC_ERROR;
2241: end if;
2242:
2243: end;
2244: end if;

Line 2260: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

2256: p_budget_group_id => g_budget_group_id,
2257: p_data_extract_id => g_data_extract_id,
2258: p_gl_budget_set_id => g_gl_budget_set_id);
2259:
2260: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
2261: raise FND_API.G_EXC_ERROR;
2262: end if;
2263:
2264: PSB_CONCURRENCY_CONTROL_PVT.Enforce_Concurrency_Control

Line 2261: raise FND_API.G_EXC_ERROR;

2257: p_data_extract_id => g_data_extract_id,
2258: p_gl_budget_set_id => g_gl_budget_set_id);
2259:
2260: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
2261: raise FND_API.G_EXC_ERROR;
2262: end if;
2263:
2264: PSB_CONCURRENCY_CONTROL_PVT.Enforce_Concurrency_Control
2265: (p_api_version => 1.0 ,

Line 2271: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

2267: p_concurrency_class => 'WORKSHEET_CREATION',
2268: p_concurrency_entity_name => 'WORKSHEET',
2269: p_concurrency_entity_id => p_worksheet_id);
2270:
2271: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
2272: raise FND_API.G_EXC_ERROR;
2273: end if;
2274:
2275: PSB_WS_POS3.Apply_Position_Constraints

Line 2272: raise FND_API.G_EXC_ERROR;

2268: p_concurrency_entity_name => 'WORKSHEET',
2269: p_concurrency_entity_id => p_worksheet_id);
2270:
2271: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
2272: raise FND_API.G_EXC_ERROR;
2273: end if;
2274:
2275: PSB_WS_POS3.Apply_Position_Constraints
2276: (p_return_status => l_return_status,

Line 2287: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

2283: p_constraint_set_id => l_constraint_set_id,
2284: p_constraint_set_name => l_cs_name,
2285: p_constraint_threshold => l_cs_threshold);
2286:
2287: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
2288: raise FND_API.G_EXC_ERROR;
2289: end if;
2290:
2291: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control

Line 2288: raise FND_API.G_EXC_ERROR;

2284: p_constraint_set_name => l_cs_name,
2285: p_constraint_threshold => l_cs_threshold);
2286:
2287: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
2288: raise FND_API.G_EXC_ERROR;
2289: end if;
2290:
2291: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
2292: (p_api_version => 1.0 ,

Line 2298: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

2294: p_concurrency_class => 'WORKSHEET_CREATION',
2295: p_concurrency_entity_name => 'WORKSHEET',
2296: p_concurrency_entity_id => p_worksheet_id);
2297:
2298: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
2299: raise FND_API.G_EXC_ERROR;
2300: end if;
2301:
2302: end;

Line 2299: raise FND_API.G_EXC_ERROR;

2295: p_concurrency_entity_name => 'WORKSHEET',
2296: p_concurrency_entity_id => p_worksheet_id);
2297:
2298: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
2299: raise FND_API.G_EXC_ERROR;
2300: end if;
2301:
2302: end;
2303: end if;

Line 2311: p_return_status := FND_API.G_RET_STS_SUCCESS;

2307:
2308:
2309: -- Initialize API return status to success
2310:
2311: p_return_status := FND_API.G_RET_STS_SUCCESS;
2312:
2313:
2314: EXCEPTION
2315:

Line 2316: when FND_API.G_EXC_ERROR then

2312:
2313:
2314: EXCEPTION
2315:
2316: when FND_API.G_EXC_ERROR then
2317: p_return_status := FND_API.G_RET_STS_ERROR;
2318:
2319: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
2320: (p_api_version => 1.0 ,

Line 2317: p_return_status := FND_API.G_RET_STS_ERROR;

2313:
2314: EXCEPTION
2315:
2316: when FND_API.G_EXC_ERROR then
2317: p_return_status := FND_API.G_RET_STS_ERROR;
2318:
2319: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
2320: (p_api_version => 1.0 ,
2321: p_return_status => l_return_status,

Line 2326: when FND_API.G_EXC_UNEXPECTED_ERROR then

2322: p_concurrency_class => 'WORKSHEET_CREATION',
2323: p_concurrency_entity_name => 'WORKSHEET',
2324: p_concurrency_entity_id => p_worksheet_id);
2325:
2326: when FND_API.G_EXC_UNEXPECTED_ERROR then
2327: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2328:
2329: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
2330: (p_api_version => 1.0 ,

Line 2327: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

2323: p_concurrency_entity_name => 'WORKSHEET',
2324: p_concurrency_entity_id => p_worksheet_id);
2325:
2326: when FND_API.G_EXC_UNEXPECTED_ERROR then
2327: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2328:
2329: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
2330: (p_api_version => 1.0 ,
2331: p_return_status => l_return_status,

Line 2337: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

2333: p_concurrency_entity_name => 'WORKSHEET',
2334: p_concurrency_entity_id => p_worksheet_id);
2335:
2336: when OTHERS then
2337: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2338:
2339: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
2340: (p_api_version => 1.0 ,
2341: p_return_status => l_return_status,

Line 2361: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,

2357: /* ----------------------------------------------------------------------- */
2358:
2359: PROCEDURE Apply_Elem_Constraints
2360: ( p_api_version IN NUMBER,
2361: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,
2362: p_return_status OUT NOCOPY VARCHAR2,
2363: p_worksheet_id IN NUMBER
2364: ) IS
2365:

Line 2415: if not FND_API.Compatible_API_Call (l_api_version,

2411: BEGIN
2412:
2413: -- Standard call to check for call compatibility.
2414:
2415: if not FND_API.Compatible_API_Call (l_api_version,
2416: p_api_version,
2417: l_api_name,
2418: G_PKG_NAME)
2419: then

Line 2420: raise FND_API.G_EXC_UNEXPECTED_ERROR;

2416: p_api_version,
2417: l_api_name,
2418: G_PKG_NAME)
2419: then
2420: raise FND_API.G_EXC_UNEXPECTED_ERROR;
2421: end if;
2422:
2423: for c_WS_Rec in c_WS loop
2424: l_budget_group_id := c_WS_Rec.budget_group_id;

Line 2446: if nvl(l_constraint_set_id, FND_API.G_MISS_NUM) <> FND_API.G_MISS_NUM then

2442:
2443: Initialize (p_worksheet_id => p_worksheet_id,
2444: p_return_status => l_return_status);
2445:
2446: if nvl(l_constraint_set_id, FND_API.G_MISS_NUM) <> FND_API.G_MISS_NUM then
2447: begin
2448:
2449: if l_budget_calendar_id <> nvl(PSB_WS_ACCT1.g_budget_calendar_id, FND_API.G_MISS_NUM) then
2450: begin

Line 2449: if l_budget_calendar_id <> nvl(PSB_WS_ACCT1.g_budget_calendar_id, FND_API.G_MISS_NUM) then

2445:
2446: if nvl(l_constraint_set_id, FND_API.G_MISS_NUM) <> FND_API.G_MISS_NUM then
2447: begin
2448:
2449: if l_budget_calendar_id <> nvl(PSB_WS_ACCT1.g_budget_calendar_id, FND_API.G_MISS_NUM) then
2450: begin
2451:
2452: PSB_WS_ACCT1.Cache_Budget_Calendar
2453: (p_return_status => l_return_status,

Line 2456: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

2452: PSB_WS_ACCT1.Cache_Budget_Calendar
2453: (p_return_status => l_return_status,
2454: p_budget_calendar_id => l_budget_calendar_id);
2455:
2456: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
2457: raise FND_API.G_EXC_ERROR;
2458: end if;
2459:
2460: end;

Line 2457: raise FND_API.G_EXC_ERROR;

2453: (p_return_status => l_return_status,
2454: p_budget_calendar_id => l_budget_calendar_id);
2455:
2456: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
2457: raise FND_API.G_EXC_ERROR;
2458: end if;
2459:
2460: end;
2461: end if;

Line 2474: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

2470: p_budget_group_id => g_budget_group_id,
2471: p_data_extract_id => g_data_extract_id,
2472: p_gl_budget_set_id => g_gl_budget_set_id);
2473:
2474: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
2475: raise FND_API.G_EXC_ERROR;
2476: end if;
2477:
2478: PSB_CONCURRENCY_CONTROL_PVT.Enforce_Concurrency_Control

Line 2475: raise FND_API.G_EXC_ERROR;

2471: p_data_extract_id => g_data_extract_id,
2472: p_gl_budget_set_id => g_gl_budget_set_id);
2473:
2474: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
2475: raise FND_API.G_EXC_ERROR;
2476: end if;
2477:
2478: PSB_CONCURRENCY_CONTROL_PVT.Enforce_Concurrency_Control
2479: (p_api_version => 1.0 ,

Line 2485: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

2481: p_concurrency_class => 'WORKSHEET_CREATION',
2482: p_concurrency_entity_name => 'WORKSHEET',
2483: p_concurrency_entity_id => p_worksheet_id);
2484:
2485: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
2486: raise FND_API.G_EXC_ERROR;
2487: end if;
2488:
2489: PSB_WS_POS3.Apply_Element_Constraints

Line 2486: raise FND_API.G_EXC_ERROR;

2482: p_concurrency_entity_name => 'WORKSHEET',
2483: p_concurrency_entity_id => p_worksheet_id);
2484:
2485: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
2486: raise FND_API.G_EXC_ERROR;
2487: end if;
2488:
2489: PSB_WS_POS3.Apply_Element_Constraints
2490: (p_return_status => l_return_status,

Line 2498: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

2494: p_constraint_set_id => l_constraint_set_id,
2495: p_constraint_set_name => l_cs_name,
2496: p_constraint_threshold => l_cs_threshold);
2497:
2498: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
2499: raise FND_API.G_EXC_ERROR;
2500: end if;
2501:
2502: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control

Line 2499: raise FND_API.G_EXC_ERROR;

2495: p_constraint_set_name => l_cs_name,
2496: p_constraint_threshold => l_cs_threshold);
2497:
2498: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
2499: raise FND_API.G_EXC_ERROR;
2500: end if;
2501:
2502: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
2503: (p_api_version => 1.0 ,

Line 2509: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

2505: p_concurrency_class => 'WORKSHEET_CREATION',
2506: p_concurrency_entity_name => 'WORKSHEET',
2507: p_concurrency_entity_id => p_worksheet_id);
2508:
2509: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
2510: raise FND_API.G_EXC_ERROR;
2511: end if;
2512:
2513: end;

Line 2510: raise FND_API.G_EXC_ERROR;

2506: p_concurrency_entity_name => 'WORKSHEET',
2507: p_concurrency_entity_id => p_worksheet_id);
2508:
2509: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
2510: raise FND_API.G_EXC_ERROR;
2511: end if;
2512:
2513: end;
2514: end if;

Line 2519: p_return_status := FND_API.G_RET_STS_SUCCESS;

2515:
2516:
2517: -- Initialize API return status to success
2518:
2519: p_return_status := FND_API.G_RET_STS_SUCCESS;
2520:
2521:
2522: EXCEPTION
2523:

Line 2524: when FND_API.G_EXC_ERROR then

2520:
2521:
2522: EXCEPTION
2523:
2524: when FND_API.G_EXC_ERROR then
2525: p_return_status := FND_API.G_RET_STS_ERROR;
2526:
2527: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
2528: (p_api_version => 1.0 ,

Line 2525: p_return_status := FND_API.G_RET_STS_ERROR;

2521:
2522: EXCEPTION
2523:
2524: when FND_API.G_EXC_ERROR then
2525: p_return_status := FND_API.G_RET_STS_ERROR;
2526:
2527: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
2528: (p_api_version => 1.0 ,
2529: p_return_status => l_return_status,

Line 2534: when FND_API.G_EXC_UNEXPECTED_ERROR then

2530: p_concurrency_class => 'WORKSHEET_CREATION',
2531: p_concurrency_entity_name => 'WORKSHEET',
2532: p_concurrency_entity_id => p_worksheet_id);
2533:
2534: when FND_API.G_EXC_UNEXPECTED_ERROR then
2535: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2536:
2537: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
2538: (p_api_version => 1.0 ,

Line 2535: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

2531: p_concurrency_entity_name => 'WORKSHEET',
2532: p_concurrency_entity_id => p_worksheet_id);
2533:
2534: when FND_API.G_EXC_UNEXPECTED_ERROR then
2535: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2536:
2537: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
2538: (p_api_version => 1.0 ,
2539: p_return_status => l_return_status,

Line 2545: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

2541: p_concurrency_entity_name => 'WORKSHEET',
2542: p_concurrency_entity_id => p_worksheet_id);
2543:
2544: when OTHERS then
2545: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2546:
2547: PSB_CONCURRENCY_CONTROL_PVT.Release_Concurrency_Control
2548: (p_api_version => 1.0 ,
2549: p_return_status => l_return_status,

Line 2569: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,

2565: /*------------------------------------------------------------------------------*/
2566:
2567: PROCEDURE Post_Create_Line_Items
2568: ( p_api_version IN NUMBER,
2569: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,
2570: p_return_status OUT NOCOPY VARCHAR2,
2571: p_worksheet_id IN NUMBER
2572: ) IS
2573:

Line 2583: if not FND_API.Compatible_API_Call (l_api_version,

2579: BEGIN
2580:
2581: -- Standard call to check for call compatibility.
2582:
2583: if not FND_API.Compatible_API_Call (l_api_version,
2584: p_api_version,
2585: l_api_name,
2586: G_PKG_NAME)
2587: then

Line 2588: raise FND_API.G_EXC_UNEXPECTED_ERROR;

2584: p_api_version,
2585: l_api_name,
2586: G_PKG_NAME)
2587: then
2588: raise FND_API.G_EXC_UNEXPECTED_ERROR;
2589: end if;
2590:
2591: PSB_WORKSHEET.Update_Worksheet
2592: (p_api_version => 1.0,

Line 2597: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

2593: p_return_status => l_return_status,
2594: p_worksheet_id => p_worksheet_id,
2595: p_ws_creation_complete => 'Y');
2596:
2597: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
2598: raise FND_API.G_EXC_ERROR;
2599: end if;
2600:
2601:

Line 2598: raise FND_API.G_EXC_ERROR;

2594: p_worksheet_id => p_worksheet_id,
2595: p_ws_creation_complete => 'Y');
2596:
2597: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
2598: raise FND_API.G_EXC_ERROR;
2599: end if;
2600:
2601:
2602: -- Initialize API return status to success

Line 2604: p_return_status := FND_API.G_RET_STS_SUCCESS;

2600:
2601:
2602: -- Initialize API return status to success
2603:
2604: p_return_status := FND_API.G_RET_STS_SUCCESS;
2605:
2606:
2607: EXCEPTION
2608:

Line 2609: when FND_API.G_EXC_ERROR then

2605:
2606:
2607: EXCEPTION
2608:
2609: when FND_API.G_EXC_ERROR then
2610: p_return_status := FND_API.G_RET_STS_ERROR;
2611:
2612: when FND_API.G_EXC_UNEXPECTED_ERROR then
2613: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 2610: p_return_status := FND_API.G_RET_STS_ERROR;

2606:
2607: EXCEPTION
2608:
2609: when FND_API.G_EXC_ERROR then
2610: p_return_status := FND_API.G_RET_STS_ERROR;
2611:
2612: when FND_API.G_EXC_UNEXPECTED_ERROR then
2613: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2614:

Line 2612: when FND_API.G_EXC_UNEXPECTED_ERROR then

2608:
2609: when FND_API.G_EXC_ERROR then
2610: p_return_status := FND_API.G_RET_STS_ERROR;
2611:
2612: when FND_API.G_EXC_UNEXPECTED_ERROR then
2613: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2614:
2615: when OTHERS then
2616: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 2613: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

2609: when FND_API.G_EXC_ERROR then
2610: p_return_status := FND_API.G_RET_STS_ERROR;
2611:
2612: when FND_API.G_EXC_UNEXPECTED_ERROR then
2613: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2614:
2615: when OTHERS then
2616: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2617:

Line 2616: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

2612: when FND_API.G_EXC_UNEXPECTED_ERROR then
2613: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2614:
2615: when OTHERS then
2616: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2617:
2618: if FND_MSG_PUB.Check_Msg_Level
2619: (p_message_level => FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) then
2620:

Line 2633: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,

2629: /*------------------------------------------------------------------------------*/
2630:
2631: PROCEDURE Delete_WS_Line_Items
2632: ( p_api_version IN NUMBER,
2633: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,
2634: p_return_status OUT NOCOPY VARCHAR2,
2635: p_worksheet_id IN NUMBER,
2636: p_global_worksheet IN VARCHAR2 := FND_API.G_TRUE
2637: ) IS

Line 2636: p_global_worksheet IN VARCHAR2 := FND_API.G_TRUE

2632: ( p_api_version IN NUMBER,
2633: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,
2634: p_return_status OUT NOCOPY VARCHAR2,
2635: p_worksheet_id IN NUMBER,
2636: p_global_worksheet IN VARCHAR2 := FND_API.G_TRUE
2637: ) IS
2638:
2639: l_api_name CONSTANT VARCHAR2(30) := 'Delete_WS_Line_Items';
2640: l_api_version CONSTANT NUMBER := 1.0;

Line 2646: if not FND_API.Compatible_API_Call (l_api_version,

2642: BEGIN
2643:
2644: -- Standard call to check for call compatibility.
2645:
2646: if not FND_API.Compatible_API_Call (l_api_version,
2647: p_api_version,
2648: l_api_name,
2649: G_PKG_NAME)
2650: then

Line 2651: raise FND_API.G_EXC_UNEXPECTED_ERROR;

2647: p_api_version,
2648: l_api_name,
2649: G_PKG_NAME)
2650: then
2651: raise FND_API.G_EXC_UNEXPECTED_ERROR;
2652: end if;
2653:
2654: if FND_API.to_Boolean(p_global_worksheet) then
2655: begin

Line 2654: if FND_API.to_Boolean(p_global_worksheet) then

2650: then
2651: raise FND_API.G_EXC_UNEXPECTED_ERROR;
2652: end if;
2653:
2654: if FND_API.to_Boolean(p_global_worksheet) then
2655: begin
2656:
2657: delete from PSB_POSITION_ASSIGNMENTS
2658: where worksheet_id = p_worksheet_id;

Line 2687: if FND_API.to_Boolean(p_global_worksheet) then

2683:
2684: delete from PSB_WS_LINES_POSITIONS
2685: where worksheet_id = p_worksheet_id;
2686:
2687: if FND_API.to_Boolean(p_global_worksheet) then
2688: begin
2689:
2690: delete from PSB_WS_ACCOUNT_LINES
2691: where account_line_id in

Line 2709: p_return_status := FND_API.G_RET_STS_SUCCESS;

2705:
2706:
2707: -- Initialize API return status to success
2708:
2709: p_return_status := FND_API.G_RET_STS_SUCCESS;
2710:
2711:
2712: EXCEPTION
2713:

Line 2714: when FND_API.G_EXC_ERROR then

2710:
2711:
2712: EXCEPTION
2713:
2714: when FND_API.G_EXC_ERROR then
2715: p_return_status := FND_API.G_RET_STS_ERROR;
2716:
2717: when FND_API.G_EXC_UNEXPECTED_ERROR then
2718: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 2715: p_return_status := FND_API.G_RET_STS_ERROR;

2711:
2712: EXCEPTION
2713:
2714: when FND_API.G_EXC_ERROR then
2715: p_return_status := FND_API.G_RET_STS_ERROR;
2716:
2717: when FND_API.G_EXC_UNEXPECTED_ERROR then
2718: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2719:

Line 2717: when FND_API.G_EXC_UNEXPECTED_ERROR then

2713:
2714: when FND_API.G_EXC_ERROR then
2715: p_return_status := FND_API.G_RET_STS_ERROR;
2716:
2717: when FND_API.G_EXC_UNEXPECTED_ERROR then
2718: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2719:
2720: when OTHERS then
2721: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 2718: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

2714: when FND_API.G_EXC_ERROR then
2715: p_return_status := FND_API.G_RET_STS_ERROR;
2716:
2717: when FND_API.G_EXC_UNEXPECTED_ERROR then
2718: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2719:
2720: when OTHERS then
2721: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2722:

Line 2721: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

2717: when FND_API.G_EXC_UNEXPECTED_ERROR then
2718: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2719:
2720: when OTHERS then
2721: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
2722:
2723: if FND_MSG_PUB.Check_Msg_Level
2724: (p_message_level => FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) then
2725:

Line 2738: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,

2734: /* ----------------------------------------------------------------------- */
2735:
2736: PROCEDURE Create_Worksheet
2737: ( p_api_version IN NUMBER,
2738: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,
2739: p_return_status OUT NOCOPY VARCHAR2,
2740: p_budget_group_id IN NUMBER,
2741: p_budget_calendar_id IN NUMBER,
2742: p_worksheet_type IN VARCHAR2,

Line 2795: p_federal_ws_flag IN VARCHAR2 := FND_API.G_MISS_CHAR,

2791: p_include_gl_other_balance IN VARCHAR2,
2792: p_include_cbc_commit_balance IN VARCHAR2,
2793: p_include_cbc_oblig_balance IN VARCHAR2,
2794: p_include_cbc_budget_balance IN VARCHAR2,
2795: p_federal_ws_flag IN VARCHAR2 := FND_API.G_MISS_CHAR,
2796: /* bug no 4725091 */
2797: p_include_gl_forwd_balance IN VARCHAR2,
2798: p_worksheet_id OUT NOCOPY NUMBER
2799: ) IS

Line 2828: if not FND_API.Compatible_API_Call (l_api_version,

2824: BEGIN
2825:
2826: -- Standard call to check for call compatibility.
2827:
2828: if not FND_API.Compatible_API_Call (l_api_version,
2829: p_api_version,
2830: l_api_name,
2831: G_PKG_NAME)
2832: then

Line 2833: raise FND_API.G_EXC_UNEXPECTED_ERROR;

2829: p_api_version,
2830: l_api_name,
2831: G_PKG_NAME)
2832: then
2833: raise FND_API.G_EXC_UNEXPECTED_ERROR;
2834: end if;
2835:
2836: -- Get Who Values
2837:

Line 2923: decode(p_name, FND_API.G_MISS_CHAR, l_worksheet_name, null, l_worksheet_name, p_name),

2919: values (l_worksheet_id,
2920: p_budget_group_id,
2921: p_budget_calendar_id,
2922: p_worksheet_type,
2923: decode(p_name, FND_API.G_MISS_CHAR, l_worksheet_name, null, l_worksheet_name, p_name),
2924: p_description,
2925: decode(p_ws_creation_complete, FND_API.G_MISS_CHAR, null, p_ws_creation_complete),
2926: p_stage_set_id,
2927: decode(p_current_stage_seq, FND_API.G_MISS_NUM, l_start_stage_seq, null, l_start_stage_seq, p_current_stage_seq),

Line 2925: decode(p_ws_creation_complete, FND_API.G_MISS_CHAR, null, p_ws_creation_complete),

2921: p_budget_calendar_id,
2922: p_worksheet_type,
2923: decode(p_name, FND_API.G_MISS_CHAR, l_worksheet_name, null, l_worksheet_name, p_name),
2924: p_description,
2925: decode(p_ws_creation_complete, FND_API.G_MISS_CHAR, null, p_ws_creation_complete),
2926: p_stage_set_id,
2927: decode(p_current_stage_seq, FND_API.G_MISS_NUM, l_start_stage_seq, null, l_start_stage_seq, p_current_stage_seq),
2928: decode(p_global_worksheet_id, FND_API.G_MISS_NUM, null, p_global_worksheet_id),
2929: decode(p_global_worksheet_flag, FND_API.G_MISS_CHAR, null, p_global_worksheet_flag),

Line 2927: decode(p_current_stage_seq, FND_API.G_MISS_NUM, l_start_stage_seq, null, l_start_stage_seq, p_current_stage_seq),

2923: decode(p_name, FND_API.G_MISS_CHAR, l_worksheet_name, null, l_worksheet_name, p_name),
2924: p_description,
2925: decode(p_ws_creation_complete, FND_API.G_MISS_CHAR, null, p_ws_creation_complete),
2926: p_stage_set_id,
2927: decode(p_current_stage_seq, FND_API.G_MISS_NUM, l_start_stage_seq, null, l_start_stage_seq, p_current_stage_seq),
2928: decode(p_global_worksheet_id, FND_API.G_MISS_NUM, null, p_global_worksheet_id),
2929: decode(p_global_worksheet_flag, FND_API.G_MISS_CHAR, null, p_global_worksheet_flag),
2930: decode(p_global_worksheet_option, FND_API.G_MISS_CHAR, null, p_global_worksheet_option),
2931: decode(p_local_copy_flag, FND_API.G_MISS_CHAR, null, p_local_copy_flag),

Line 2928: decode(p_global_worksheet_id, FND_API.G_MISS_NUM, null, p_global_worksheet_id),

2924: p_description,
2925: decode(p_ws_creation_complete, FND_API.G_MISS_CHAR, null, p_ws_creation_complete),
2926: p_stage_set_id,
2927: decode(p_current_stage_seq, FND_API.G_MISS_NUM, l_start_stage_seq, null, l_start_stage_seq, p_current_stage_seq),
2928: decode(p_global_worksheet_id, FND_API.G_MISS_NUM, null, p_global_worksheet_id),
2929: decode(p_global_worksheet_flag, FND_API.G_MISS_CHAR, null, p_global_worksheet_flag),
2930: decode(p_global_worksheet_option, FND_API.G_MISS_CHAR, null, p_global_worksheet_option),
2931: decode(p_local_copy_flag, FND_API.G_MISS_CHAR, null, p_local_copy_flag),
2932: decode(p_copy_of_worksheet_id, FND_API.G_MISS_NUM, null, p_copy_of_worksheet_id),

Line 2929: decode(p_global_worksheet_flag, FND_API.G_MISS_CHAR, null, p_global_worksheet_flag),

2925: decode(p_ws_creation_complete, FND_API.G_MISS_CHAR, null, p_ws_creation_complete),
2926: p_stage_set_id,
2927: decode(p_current_stage_seq, FND_API.G_MISS_NUM, l_start_stage_seq, null, l_start_stage_seq, p_current_stage_seq),
2928: decode(p_global_worksheet_id, FND_API.G_MISS_NUM, null, p_global_worksheet_id),
2929: decode(p_global_worksheet_flag, FND_API.G_MISS_CHAR, null, p_global_worksheet_flag),
2930: decode(p_global_worksheet_option, FND_API.G_MISS_CHAR, null, p_global_worksheet_option),
2931: decode(p_local_copy_flag, FND_API.G_MISS_CHAR, null, p_local_copy_flag),
2932: decode(p_copy_of_worksheet_id, FND_API.G_MISS_NUM, null, p_copy_of_worksheet_id),
2933: decode(p_freeze_flag, FND_API.G_MISS_CHAR, null, p_freeze_flag),

Line 2930: decode(p_global_worksheet_option, FND_API.G_MISS_CHAR, null, p_global_worksheet_option),

2926: p_stage_set_id,
2927: decode(p_current_stage_seq, FND_API.G_MISS_NUM, l_start_stage_seq, null, l_start_stage_seq, p_current_stage_seq),
2928: decode(p_global_worksheet_id, FND_API.G_MISS_NUM, null, p_global_worksheet_id),
2929: decode(p_global_worksheet_flag, FND_API.G_MISS_CHAR, null, p_global_worksheet_flag),
2930: decode(p_global_worksheet_option, FND_API.G_MISS_CHAR, null, p_global_worksheet_option),
2931: decode(p_local_copy_flag, FND_API.G_MISS_CHAR, null, p_local_copy_flag),
2932: decode(p_copy_of_worksheet_id, FND_API.G_MISS_NUM, null, p_copy_of_worksheet_id),
2933: decode(p_freeze_flag, FND_API.G_MISS_CHAR, null, p_freeze_flag),
2934: decode(p_budget_by_position, FND_API.G_MISS_CHAR, null, p_budget_by_position),

Line 2931: decode(p_local_copy_flag, FND_API.G_MISS_CHAR, null, p_local_copy_flag),

2927: decode(p_current_stage_seq, FND_API.G_MISS_NUM, l_start_stage_seq, null, l_start_stage_seq, p_current_stage_seq),
2928: decode(p_global_worksheet_id, FND_API.G_MISS_NUM, null, p_global_worksheet_id),
2929: decode(p_global_worksheet_flag, FND_API.G_MISS_CHAR, null, p_global_worksheet_flag),
2930: decode(p_global_worksheet_option, FND_API.G_MISS_CHAR, null, p_global_worksheet_option),
2931: decode(p_local_copy_flag, FND_API.G_MISS_CHAR, null, p_local_copy_flag),
2932: decode(p_copy_of_worksheet_id, FND_API.G_MISS_NUM, null, p_copy_of_worksheet_id),
2933: decode(p_freeze_flag, FND_API.G_MISS_CHAR, null, p_freeze_flag),
2934: decode(p_budget_by_position, FND_API.G_MISS_CHAR, null, p_budget_by_position),
2935: decode(p_use_revised_element_rates, FND_API.G_MISS_CHAR, null, p_use_revised_element_rates),

Line 2932: decode(p_copy_of_worksheet_id, FND_API.G_MISS_NUM, null, p_copy_of_worksheet_id),

2928: decode(p_global_worksheet_id, FND_API.G_MISS_NUM, null, p_global_worksheet_id),
2929: decode(p_global_worksheet_flag, FND_API.G_MISS_CHAR, null, p_global_worksheet_flag),
2930: decode(p_global_worksheet_option, FND_API.G_MISS_CHAR, null, p_global_worksheet_option),
2931: decode(p_local_copy_flag, FND_API.G_MISS_CHAR, null, p_local_copy_flag),
2932: decode(p_copy_of_worksheet_id, FND_API.G_MISS_NUM, null, p_copy_of_worksheet_id),
2933: decode(p_freeze_flag, FND_API.G_MISS_CHAR, null, p_freeze_flag),
2934: decode(p_budget_by_position, FND_API.G_MISS_CHAR, null, p_budget_by_position),
2935: decode(p_use_revised_element_rates, FND_API.G_MISS_CHAR, null, p_use_revised_element_rates),
2936: decode(p_num_proposed_years, FND_API.G_MISS_NUM, null, p_num_proposed_years),

Line 2933: decode(p_freeze_flag, FND_API.G_MISS_CHAR, null, p_freeze_flag),

2929: decode(p_global_worksheet_flag, FND_API.G_MISS_CHAR, null, p_global_worksheet_flag),
2930: decode(p_global_worksheet_option, FND_API.G_MISS_CHAR, null, p_global_worksheet_option),
2931: decode(p_local_copy_flag, FND_API.G_MISS_CHAR, null, p_local_copy_flag),
2932: decode(p_copy_of_worksheet_id, FND_API.G_MISS_NUM, null, p_copy_of_worksheet_id),
2933: decode(p_freeze_flag, FND_API.G_MISS_CHAR, null, p_freeze_flag),
2934: decode(p_budget_by_position, FND_API.G_MISS_CHAR, null, p_budget_by_position),
2935: decode(p_use_revised_element_rates, FND_API.G_MISS_CHAR, null, p_use_revised_element_rates),
2936: decode(p_num_proposed_years, FND_API.G_MISS_NUM, null, p_num_proposed_years),
2937: decode(p_num_years_to_allocate, FND_API.G_MISS_NUM, null, p_num_years_to_allocate),

Line 2934: decode(p_budget_by_position, FND_API.G_MISS_CHAR, null, p_budget_by_position),

2930: decode(p_global_worksheet_option, FND_API.G_MISS_CHAR, null, p_global_worksheet_option),
2931: decode(p_local_copy_flag, FND_API.G_MISS_CHAR, null, p_local_copy_flag),
2932: decode(p_copy_of_worksheet_id, FND_API.G_MISS_NUM, null, p_copy_of_worksheet_id),
2933: decode(p_freeze_flag, FND_API.G_MISS_CHAR, null, p_freeze_flag),
2934: decode(p_budget_by_position, FND_API.G_MISS_CHAR, null, p_budget_by_position),
2935: decode(p_use_revised_element_rates, FND_API.G_MISS_CHAR, null, p_use_revised_element_rates),
2936: decode(p_num_proposed_years, FND_API.G_MISS_NUM, null, p_num_proposed_years),
2937: decode(p_num_years_to_allocate, FND_API.G_MISS_NUM, null, p_num_years_to_allocate),
2938: decode(p_rounding_factor, FND_API.G_MISS_NUM, null, p_rounding_factor),

Line 2935: decode(p_use_revised_element_rates, FND_API.G_MISS_CHAR, null, p_use_revised_element_rates),

2931: decode(p_local_copy_flag, FND_API.G_MISS_CHAR, null, p_local_copy_flag),
2932: decode(p_copy_of_worksheet_id, FND_API.G_MISS_NUM, null, p_copy_of_worksheet_id),
2933: decode(p_freeze_flag, FND_API.G_MISS_CHAR, null, p_freeze_flag),
2934: decode(p_budget_by_position, FND_API.G_MISS_CHAR, null, p_budget_by_position),
2935: decode(p_use_revised_element_rates, FND_API.G_MISS_CHAR, null, p_use_revised_element_rates),
2936: decode(p_num_proposed_years, FND_API.G_MISS_NUM, null, p_num_proposed_years),
2937: decode(p_num_years_to_allocate, FND_API.G_MISS_NUM, null, p_num_years_to_allocate),
2938: decode(p_rounding_factor, FND_API.G_MISS_NUM, null, p_rounding_factor),
2939: decode(p_gl_cutoff_period, FND_API.G_MISS_DATE, null, p_gl_cutoff_period),

Line 2936: decode(p_num_proposed_years, FND_API.G_MISS_NUM, null, p_num_proposed_years),

2932: decode(p_copy_of_worksheet_id, FND_API.G_MISS_NUM, null, p_copy_of_worksheet_id),
2933: decode(p_freeze_flag, FND_API.G_MISS_CHAR, null, p_freeze_flag),
2934: decode(p_budget_by_position, FND_API.G_MISS_CHAR, null, p_budget_by_position),
2935: decode(p_use_revised_element_rates, FND_API.G_MISS_CHAR, null, p_use_revised_element_rates),
2936: decode(p_num_proposed_years, FND_API.G_MISS_NUM, null, p_num_proposed_years),
2937: decode(p_num_years_to_allocate, FND_API.G_MISS_NUM, null, p_num_years_to_allocate),
2938: decode(p_rounding_factor, FND_API.G_MISS_NUM, null, p_rounding_factor),
2939: decode(p_gl_cutoff_period, FND_API.G_MISS_DATE, null, p_gl_cutoff_period),
2940: decode(p_budget_version_id, FND_API.G_MISS_NUM, null, p_budget_version_id),

Line 2937: decode(p_num_years_to_allocate, FND_API.G_MISS_NUM, null, p_num_years_to_allocate),

2933: decode(p_freeze_flag, FND_API.G_MISS_CHAR, null, p_freeze_flag),
2934: decode(p_budget_by_position, FND_API.G_MISS_CHAR, null, p_budget_by_position),
2935: decode(p_use_revised_element_rates, FND_API.G_MISS_CHAR, null, p_use_revised_element_rates),
2936: decode(p_num_proposed_years, FND_API.G_MISS_NUM, null, p_num_proposed_years),
2937: decode(p_num_years_to_allocate, FND_API.G_MISS_NUM, null, p_num_years_to_allocate),
2938: decode(p_rounding_factor, FND_API.G_MISS_NUM, null, p_rounding_factor),
2939: decode(p_gl_cutoff_period, FND_API.G_MISS_DATE, null, p_gl_cutoff_period),
2940: decode(p_budget_version_id, FND_API.G_MISS_NUM, null, p_budget_version_id),
2941: decode(p_gl_budget_set_id, FND_API.G_MISS_NUM, null, p_gl_budget_set_id),

Line 2938: decode(p_rounding_factor, FND_API.G_MISS_NUM, null, p_rounding_factor),

2934: decode(p_budget_by_position, FND_API.G_MISS_CHAR, null, p_budget_by_position),
2935: decode(p_use_revised_element_rates, FND_API.G_MISS_CHAR, null, p_use_revised_element_rates),
2936: decode(p_num_proposed_years, FND_API.G_MISS_NUM, null, p_num_proposed_years),
2937: decode(p_num_years_to_allocate, FND_API.G_MISS_NUM, null, p_num_years_to_allocate),
2938: decode(p_rounding_factor, FND_API.G_MISS_NUM, null, p_rounding_factor),
2939: decode(p_gl_cutoff_period, FND_API.G_MISS_DATE, null, p_gl_cutoff_period),
2940: decode(p_budget_version_id, FND_API.G_MISS_NUM, null, p_budget_version_id),
2941: decode(p_gl_budget_set_id, FND_API.G_MISS_NUM, null, p_gl_budget_set_id),
2942: decode(p_include_stat_balance, FND_API.G_MISS_CHAR, null, p_include_stat_balance),

Line 2939: decode(p_gl_cutoff_period, FND_API.G_MISS_DATE, null, p_gl_cutoff_period),

2935: decode(p_use_revised_element_rates, FND_API.G_MISS_CHAR, null, p_use_revised_element_rates),
2936: decode(p_num_proposed_years, FND_API.G_MISS_NUM, null, p_num_proposed_years),
2937: decode(p_num_years_to_allocate, FND_API.G_MISS_NUM, null, p_num_years_to_allocate),
2938: decode(p_rounding_factor, FND_API.G_MISS_NUM, null, p_rounding_factor),
2939: decode(p_gl_cutoff_period, FND_API.G_MISS_DATE, null, p_gl_cutoff_period),
2940: decode(p_budget_version_id, FND_API.G_MISS_NUM, null, p_budget_version_id),
2941: decode(p_gl_budget_set_id, FND_API.G_MISS_NUM, null, p_gl_budget_set_id),
2942: decode(p_include_stat_balance, FND_API.G_MISS_CHAR, null, p_include_stat_balance),
2943: decode(p_include_trans_balance, FND_API.G_MISS_CHAR, null, p_include_trans_balance),

Line 2940: decode(p_budget_version_id, FND_API.G_MISS_NUM, null, p_budget_version_id),

2936: decode(p_num_proposed_years, FND_API.G_MISS_NUM, null, p_num_proposed_years),
2937: decode(p_num_years_to_allocate, FND_API.G_MISS_NUM, null, p_num_years_to_allocate),
2938: decode(p_rounding_factor, FND_API.G_MISS_NUM, null, p_rounding_factor),
2939: decode(p_gl_cutoff_period, FND_API.G_MISS_DATE, null, p_gl_cutoff_period),
2940: decode(p_budget_version_id, FND_API.G_MISS_NUM, null, p_budget_version_id),
2941: decode(p_gl_budget_set_id, FND_API.G_MISS_NUM, null, p_gl_budget_set_id),
2942: decode(p_include_stat_balance, FND_API.G_MISS_CHAR, null, p_include_stat_balance),
2943: decode(p_include_trans_balance, FND_API.G_MISS_CHAR, null, p_include_trans_balance),
2944: decode(p_include_adj_period, FND_API.G_MISS_CHAR, null, p_include_adj_period),

Line 2941: decode(p_gl_budget_set_id, FND_API.G_MISS_NUM, null, p_gl_budget_set_id),

2937: decode(p_num_years_to_allocate, FND_API.G_MISS_NUM, null, p_num_years_to_allocate),
2938: decode(p_rounding_factor, FND_API.G_MISS_NUM, null, p_rounding_factor),
2939: decode(p_gl_cutoff_period, FND_API.G_MISS_DATE, null, p_gl_cutoff_period),
2940: decode(p_budget_version_id, FND_API.G_MISS_NUM, null, p_budget_version_id),
2941: decode(p_gl_budget_set_id, FND_API.G_MISS_NUM, null, p_gl_budget_set_id),
2942: decode(p_include_stat_balance, FND_API.G_MISS_CHAR, null, p_include_stat_balance),
2943: decode(p_include_trans_balance, FND_API.G_MISS_CHAR, null, p_include_trans_balance),
2944: decode(p_include_adj_period, FND_API.G_MISS_CHAR, null, p_include_adj_period),
2945: decode(p_data_extract_id, FND_API.G_MISS_NUM, null, p_data_extract_id),

Line 2942: decode(p_include_stat_balance, FND_API.G_MISS_CHAR, null, p_include_stat_balance),

2938: decode(p_rounding_factor, FND_API.G_MISS_NUM, null, p_rounding_factor),
2939: decode(p_gl_cutoff_period, FND_API.G_MISS_DATE, null, p_gl_cutoff_period),
2940: decode(p_budget_version_id, FND_API.G_MISS_NUM, null, p_budget_version_id),
2941: decode(p_gl_budget_set_id, FND_API.G_MISS_NUM, null, p_gl_budget_set_id),
2942: decode(p_include_stat_balance, FND_API.G_MISS_CHAR, null, p_include_stat_balance),
2943: decode(p_include_trans_balance, FND_API.G_MISS_CHAR, null, p_include_trans_balance),
2944: decode(p_include_adj_period, FND_API.G_MISS_CHAR, null, p_include_adj_period),
2945: decode(p_data_extract_id, FND_API.G_MISS_NUM, null, p_data_extract_id),
2946: decode(p_parameter_set_id, FND_API.G_MISS_NUM, null, p_parameter_set_id),

Line 2943: decode(p_include_trans_balance, FND_API.G_MISS_CHAR, null, p_include_trans_balance),

2939: decode(p_gl_cutoff_period, FND_API.G_MISS_DATE, null, p_gl_cutoff_period),
2940: decode(p_budget_version_id, FND_API.G_MISS_NUM, null, p_budget_version_id),
2941: decode(p_gl_budget_set_id, FND_API.G_MISS_NUM, null, p_gl_budget_set_id),
2942: decode(p_include_stat_balance, FND_API.G_MISS_CHAR, null, p_include_stat_balance),
2943: decode(p_include_trans_balance, FND_API.G_MISS_CHAR, null, p_include_trans_balance),
2944: decode(p_include_adj_period, FND_API.G_MISS_CHAR, null, p_include_adj_period),
2945: decode(p_data_extract_id, FND_API.G_MISS_NUM, null, p_data_extract_id),
2946: decode(p_parameter_set_id, FND_API.G_MISS_NUM, null, p_parameter_set_id),
2947: decode(p_constraint_set_id, FND_API.G_MISS_NUM, null, p_constraint_set_id),

Line 2944: decode(p_include_adj_period, FND_API.G_MISS_CHAR, null, p_include_adj_period),

2940: decode(p_budget_version_id, FND_API.G_MISS_NUM, null, p_budget_version_id),
2941: decode(p_gl_budget_set_id, FND_API.G_MISS_NUM, null, p_gl_budget_set_id),
2942: decode(p_include_stat_balance, FND_API.G_MISS_CHAR, null, p_include_stat_balance),
2943: decode(p_include_trans_balance, FND_API.G_MISS_CHAR, null, p_include_trans_balance),
2944: decode(p_include_adj_period, FND_API.G_MISS_CHAR, null, p_include_adj_period),
2945: decode(p_data_extract_id, FND_API.G_MISS_NUM, null, p_data_extract_id),
2946: decode(p_parameter_set_id, FND_API.G_MISS_NUM, null, p_parameter_set_id),
2947: decode(p_constraint_set_id, FND_API.G_MISS_NUM, null, p_constraint_set_id),
2948: decode(p_allocrule_set_id, FND_API.G_MISS_NUM, null, p_allocrule_set_id),

Line 2945: decode(p_data_extract_id, FND_API.G_MISS_NUM, null, p_data_extract_id),

2941: decode(p_gl_budget_set_id, FND_API.G_MISS_NUM, null, p_gl_budget_set_id),
2942: decode(p_include_stat_balance, FND_API.G_MISS_CHAR, null, p_include_stat_balance),
2943: decode(p_include_trans_balance, FND_API.G_MISS_CHAR, null, p_include_trans_balance),
2944: decode(p_include_adj_period, FND_API.G_MISS_CHAR, null, p_include_adj_period),
2945: decode(p_data_extract_id, FND_API.G_MISS_NUM, null, p_data_extract_id),
2946: decode(p_parameter_set_id, FND_API.G_MISS_NUM, null, p_parameter_set_id),
2947: decode(p_constraint_set_id, FND_API.G_MISS_NUM, null, p_constraint_set_id),
2948: decode(p_allocrule_set_id, FND_API.G_MISS_NUM, null, p_allocrule_set_id),
2949: decode(p_date_submitted, FND_API.G_MISS_DATE, null, p_date_submitted),

Line 2946: decode(p_parameter_set_id, FND_API.G_MISS_NUM, null, p_parameter_set_id),

2942: decode(p_include_stat_balance, FND_API.G_MISS_CHAR, null, p_include_stat_balance),
2943: decode(p_include_trans_balance, FND_API.G_MISS_CHAR, null, p_include_trans_balance),
2944: decode(p_include_adj_period, FND_API.G_MISS_CHAR, null, p_include_adj_period),
2945: decode(p_data_extract_id, FND_API.G_MISS_NUM, null, p_data_extract_id),
2946: decode(p_parameter_set_id, FND_API.G_MISS_NUM, null, p_parameter_set_id),
2947: decode(p_constraint_set_id, FND_API.G_MISS_NUM, null, p_constraint_set_id),
2948: decode(p_allocrule_set_id, FND_API.G_MISS_NUM, null, p_allocrule_set_id),
2949: decode(p_date_submitted, FND_API.G_MISS_DATE, null, p_date_submitted),
2950: decode(p_submitted_by, FND_API.G_MISS_NUM, null, p_submitted_by),

Line 2947: decode(p_constraint_set_id, FND_API.G_MISS_NUM, null, p_constraint_set_id),

2943: decode(p_include_trans_balance, FND_API.G_MISS_CHAR, null, p_include_trans_balance),
2944: decode(p_include_adj_period, FND_API.G_MISS_CHAR, null, p_include_adj_period),
2945: decode(p_data_extract_id, FND_API.G_MISS_NUM, null, p_data_extract_id),
2946: decode(p_parameter_set_id, FND_API.G_MISS_NUM, null, p_parameter_set_id),
2947: decode(p_constraint_set_id, FND_API.G_MISS_NUM, null, p_constraint_set_id),
2948: decode(p_allocrule_set_id, FND_API.G_MISS_NUM, null, p_allocrule_set_id),
2949: decode(p_date_submitted, FND_API.G_MISS_DATE, null, p_date_submitted),
2950: decode(p_submitted_by, FND_API.G_MISS_NUM, null, p_submitted_by),
2951: sysdate,

Line 2948: decode(p_allocrule_set_id, FND_API.G_MISS_NUM, null, p_allocrule_set_id),

2944: decode(p_include_adj_period, FND_API.G_MISS_CHAR, null, p_include_adj_period),
2945: decode(p_data_extract_id, FND_API.G_MISS_NUM, null, p_data_extract_id),
2946: decode(p_parameter_set_id, FND_API.G_MISS_NUM, null, p_parameter_set_id),
2947: decode(p_constraint_set_id, FND_API.G_MISS_NUM, null, p_constraint_set_id),
2948: decode(p_allocrule_set_id, FND_API.G_MISS_NUM, null, p_allocrule_set_id),
2949: decode(p_date_submitted, FND_API.G_MISS_DATE, null, p_date_submitted),
2950: decode(p_submitted_by, FND_API.G_MISS_NUM, null, p_submitted_by),
2951: sysdate,
2952: l_userid,

Line 2949: decode(p_date_submitted, FND_API.G_MISS_DATE, null, p_date_submitted),

2945: decode(p_data_extract_id, FND_API.G_MISS_NUM, null, p_data_extract_id),
2946: decode(p_parameter_set_id, FND_API.G_MISS_NUM, null, p_parameter_set_id),
2947: decode(p_constraint_set_id, FND_API.G_MISS_NUM, null, p_constraint_set_id),
2948: decode(p_allocrule_set_id, FND_API.G_MISS_NUM, null, p_allocrule_set_id),
2949: decode(p_date_submitted, FND_API.G_MISS_DATE, null, p_date_submitted),
2950: decode(p_submitted_by, FND_API.G_MISS_NUM, null, p_submitted_by),
2951: sysdate,
2952: l_userid,
2953: l_loginid,

Line 2950: decode(p_submitted_by, FND_API.G_MISS_NUM, null, p_submitted_by),

2946: decode(p_parameter_set_id, FND_API.G_MISS_NUM, null, p_parameter_set_id),
2947: decode(p_constraint_set_id, FND_API.G_MISS_NUM, null, p_constraint_set_id),
2948: decode(p_allocrule_set_id, FND_API.G_MISS_NUM, null, p_allocrule_set_id),
2949: decode(p_date_submitted, FND_API.G_MISS_DATE, null, p_date_submitted),
2950: decode(p_submitted_by, FND_API.G_MISS_NUM, null, p_submitted_by),
2951: sysdate,
2952: l_userid,
2953: l_loginid,
2954: l_userid,

Line 2956: decode(p_attribute1, FND_API.G_MISS_CHAR, null, p_attribute1),

2952: l_userid,
2953: l_loginid,
2954: l_userid,
2955: sysdate,
2956: decode(p_attribute1, FND_API.G_MISS_CHAR, null, p_attribute1),
2957: decode(p_attribute2, FND_API.G_MISS_CHAR, null, p_attribute2),
2958: decode(p_attribute3, FND_API.G_MISS_CHAR, null, p_attribute3),
2959: decode(p_attribute4, FND_API.G_MISS_CHAR, null, p_attribute4),
2960: decode(p_attribute5, FND_API.G_MISS_CHAR, null, p_attribute5),

Line 2957: decode(p_attribute2, FND_API.G_MISS_CHAR, null, p_attribute2),

2953: l_loginid,
2954: l_userid,
2955: sysdate,
2956: decode(p_attribute1, FND_API.G_MISS_CHAR, null, p_attribute1),
2957: decode(p_attribute2, FND_API.G_MISS_CHAR, null, p_attribute2),
2958: decode(p_attribute3, FND_API.G_MISS_CHAR, null, p_attribute3),
2959: decode(p_attribute4, FND_API.G_MISS_CHAR, null, p_attribute4),
2960: decode(p_attribute5, FND_API.G_MISS_CHAR, null, p_attribute5),
2961: decode(p_attribute6, FND_API.G_MISS_CHAR, null, p_attribute6),

Line 2958: decode(p_attribute3, FND_API.G_MISS_CHAR, null, p_attribute3),

2954: l_userid,
2955: sysdate,
2956: decode(p_attribute1, FND_API.G_MISS_CHAR, null, p_attribute1),
2957: decode(p_attribute2, FND_API.G_MISS_CHAR, null, p_attribute2),
2958: decode(p_attribute3, FND_API.G_MISS_CHAR, null, p_attribute3),
2959: decode(p_attribute4, FND_API.G_MISS_CHAR, null, p_attribute4),
2960: decode(p_attribute5, FND_API.G_MISS_CHAR, null, p_attribute5),
2961: decode(p_attribute6, FND_API.G_MISS_CHAR, null, p_attribute6),
2962: decode(p_attribute7, FND_API.G_MISS_CHAR, null, p_attribute7),

Line 2959: decode(p_attribute4, FND_API.G_MISS_CHAR, null, p_attribute4),

2955: sysdate,
2956: decode(p_attribute1, FND_API.G_MISS_CHAR, null, p_attribute1),
2957: decode(p_attribute2, FND_API.G_MISS_CHAR, null, p_attribute2),
2958: decode(p_attribute3, FND_API.G_MISS_CHAR, null, p_attribute3),
2959: decode(p_attribute4, FND_API.G_MISS_CHAR, null, p_attribute4),
2960: decode(p_attribute5, FND_API.G_MISS_CHAR, null, p_attribute5),
2961: decode(p_attribute6, FND_API.G_MISS_CHAR, null, p_attribute6),
2962: decode(p_attribute7, FND_API.G_MISS_CHAR, null, p_attribute7),
2963: decode(p_attribute8, FND_API.G_MISS_CHAR, null, p_attribute8),

Line 2960: decode(p_attribute5, FND_API.G_MISS_CHAR, null, p_attribute5),

2956: decode(p_attribute1, FND_API.G_MISS_CHAR, null, p_attribute1),
2957: decode(p_attribute2, FND_API.G_MISS_CHAR, null, p_attribute2),
2958: decode(p_attribute3, FND_API.G_MISS_CHAR, null, p_attribute3),
2959: decode(p_attribute4, FND_API.G_MISS_CHAR, null, p_attribute4),
2960: decode(p_attribute5, FND_API.G_MISS_CHAR, null, p_attribute5),
2961: decode(p_attribute6, FND_API.G_MISS_CHAR, null, p_attribute6),
2962: decode(p_attribute7, FND_API.G_MISS_CHAR, null, p_attribute7),
2963: decode(p_attribute8, FND_API.G_MISS_CHAR, null, p_attribute8),
2964: decode(p_attribute9, FND_API.G_MISS_CHAR, null, p_attribute9),

Line 2961: decode(p_attribute6, FND_API.G_MISS_CHAR, null, p_attribute6),

2957: decode(p_attribute2, FND_API.G_MISS_CHAR, null, p_attribute2),
2958: decode(p_attribute3, FND_API.G_MISS_CHAR, null, p_attribute3),
2959: decode(p_attribute4, FND_API.G_MISS_CHAR, null, p_attribute4),
2960: decode(p_attribute5, FND_API.G_MISS_CHAR, null, p_attribute5),
2961: decode(p_attribute6, FND_API.G_MISS_CHAR, null, p_attribute6),
2962: decode(p_attribute7, FND_API.G_MISS_CHAR, null, p_attribute7),
2963: decode(p_attribute8, FND_API.G_MISS_CHAR, null, p_attribute8),
2964: decode(p_attribute9, FND_API.G_MISS_CHAR, null, p_attribute9),
2965: decode(p_attribute10, FND_API.G_MISS_CHAR, null, p_attribute10),

Line 2962: decode(p_attribute7, FND_API.G_MISS_CHAR, null, p_attribute7),

2958: decode(p_attribute3, FND_API.G_MISS_CHAR, null, p_attribute3),
2959: decode(p_attribute4, FND_API.G_MISS_CHAR, null, p_attribute4),
2960: decode(p_attribute5, FND_API.G_MISS_CHAR, null, p_attribute5),
2961: decode(p_attribute6, FND_API.G_MISS_CHAR, null, p_attribute6),
2962: decode(p_attribute7, FND_API.G_MISS_CHAR, null, p_attribute7),
2963: decode(p_attribute8, FND_API.G_MISS_CHAR, null, p_attribute8),
2964: decode(p_attribute9, FND_API.G_MISS_CHAR, null, p_attribute9),
2965: decode(p_attribute10, FND_API.G_MISS_CHAR, null, p_attribute10),
2966: decode(p_context, FND_API.G_MISS_CHAR, null, p_context),

Line 2963: decode(p_attribute8, FND_API.G_MISS_CHAR, null, p_attribute8),

2959: decode(p_attribute4, FND_API.G_MISS_CHAR, null, p_attribute4),
2960: decode(p_attribute5, FND_API.G_MISS_CHAR, null, p_attribute5),
2961: decode(p_attribute6, FND_API.G_MISS_CHAR, null, p_attribute6),
2962: decode(p_attribute7, FND_API.G_MISS_CHAR, null, p_attribute7),
2963: decode(p_attribute8, FND_API.G_MISS_CHAR, null, p_attribute8),
2964: decode(p_attribute9, FND_API.G_MISS_CHAR, null, p_attribute9),
2965: decode(p_attribute10, FND_API.G_MISS_CHAR, null, p_attribute10),
2966: decode(p_context, FND_API.G_MISS_CHAR, null, p_context),
2967: decode(p_create_non_pos_line_items, FND_API.G_MISS_CHAR, null, p_create_non_pos_line_items),

Line 2964: decode(p_attribute9, FND_API.G_MISS_CHAR, null, p_attribute9),

2960: decode(p_attribute5, FND_API.G_MISS_CHAR, null, p_attribute5),
2961: decode(p_attribute6, FND_API.G_MISS_CHAR, null, p_attribute6),
2962: decode(p_attribute7, FND_API.G_MISS_CHAR, null, p_attribute7),
2963: decode(p_attribute8, FND_API.G_MISS_CHAR, null, p_attribute8),
2964: decode(p_attribute9, FND_API.G_MISS_CHAR, null, p_attribute9),
2965: decode(p_attribute10, FND_API.G_MISS_CHAR, null, p_attribute10),
2966: decode(p_context, FND_API.G_MISS_CHAR, null, p_context),
2967: decode(p_create_non_pos_line_items, FND_API.G_MISS_CHAR, null, p_create_non_pos_line_items),
2968: decode(p_apply_element_parameters, FND_API.G_MISS_CHAR, null, p_apply_element_parameters),

Line 2965: decode(p_attribute10, FND_API.G_MISS_CHAR, null, p_attribute10),

2961: decode(p_attribute6, FND_API.G_MISS_CHAR, null, p_attribute6),
2962: decode(p_attribute7, FND_API.G_MISS_CHAR, null, p_attribute7),
2963: decode(p_attribute8, FND_API.G_MISS_CHAR, null, p_attribute8),
2964: decode(p_attribute9, FND_API.G_MISS_CHAR, null, p_attribute9),
2965: decode(p_attribute10, FND_API.G_MISS_CHAR, null, p_attribute10),
2966: decode(p_context, FND_API.G_MISS_CHAR, null, p_context),
2967: decode(p_create_non_pos_line_items, FND_API.G_MISS_CHAR, null, p_create_non_pos_line_items),
2968: decode(p_apply_element_parameters, FND_API.G_MISS_CHAR, null, p_apply_element_parameters),
2969: decode(p_apply_position_parameters, FND_API.G_MISS_CHAR, null, p_apply_position_parameters),

Line 2966: decode(p_context, FND_API.G_MISS_CHAR, null, p_context),

2962: decode(p_attribute7, FND_API.G_MISS_CHAR, null, p_attribute7),
2963: decode(p_attribute8, FND_API.G_MISS_CHAR, null, p_attribute8),
2964: decode(p_attribute9, FND_API.G_MISS_CHAR, null, p_attribute9),
2965: decode(p_attribute10, FND_API.G_MISS_CHAR, null, p_attribute10),
2966: decode(p_context, FND_API.G_MISS_CHAR, null, p_context),
2967: decode(p_create_non_pos_line_items, FND_API.G_MISS_CHAR, null, p_create_non_pos_line_items),
2968: decode(p_apply_element_parameters, FND_API.G_MISS_CHAR, null, p_apply_element_parameters),
2969: decode(p_apply_position_parameters, FND_API.G_MISS_CHAR, null, p_apply_position_parameters),
2970: decode(p_create_positions, FND_API.G_MISS_CHAR, null, p_create_positions),

Line 2967: decode(p_create_non_pos_line_items, FND_API.G_MISS_CHAR, null, p_create_non_pos_line_items),

2963: decode(p_attribute8, FND_API.G_MISS_CHAR, null, p_attribute8),
2964: decode(p_attribute9, FND_API.G_MISS_CHAR, null, p_attribute9),
2965: decode(p_attribute10, FND_API.G_MISS_CHAR, null, p_attribute10),
2966: decode(p_context, FND_API.G_MISS_CHAR, null, p_context),
2967: decode(p_create_non_pos_line_items, FND_API.G_MISS_CHAR, null, p_create_non_pos_line_items),
2968: decode(p_apply_element_parameters, FND_API.G_MISS_CHAR, null, p_apply_element_parameters),
2969: decode(p_apply_position_parameters, FND_API.G_MISS_CHAR, null, p_apply_position_parameters),
2970: decode(p_create_positions, FND_API.G_MISS_CHAR, null, p_create_positions),
2971: decode(p_create_summary_totals, FND_API.G_MISS_CHAR, null, p_create_summary_totals),

Line 2968: decode(p_apply_element_parameters, FND_API.G_MISS_CHAR, null, p_apply_element_parameters),

2964: decode(p_attribute9, FND_API.G_MISS_CHAR, null, p_attribute9),
2965: decode(p_attribute10, FND_API.G_MISS_CHAR, null, p_attribute10),
2966: decode(p_context, FND_API.G_MISS_CHAR, null, p_context),
2967: decode(p_create_non_pos_line_items, FND_API.G_MISS_CHAR, null, p_create_non_pos_line_items),
2968: decode(p_apply_element_parameters, FND_API.G_MISS_CHAR, null, p_apply_element_parameters),
2969: decode(p_apply_position_parameters, FND_API.G_MISS_CHAR, null, p_apply_position_parameters),
2970: decode(p_create_positions, FND_API.G_MISS_CHAR, null, p_create_positions),
2971: decode(p_create_summary_totals, FND_API.G_MISS_CHAR, null, p_create_summary_totals),
2972: decode(p_apply_constraints, FND_API.G_MISS_CHAR, null, p_apply_constraints),

Line 2969: decode(p_apply_position_parameters, FND_API.G_MISS_CHAR, null, p_apply_position_parameters),

2965: decode(p_attribute10, FND_API.G_MISS_CHAR, null, p_attribute10),
2966: decode(p_context, FND_API.G_MISS_CHAR, null, p_context),
2967: decode(p_create_non_pos_line_items, FND_API.G_MISS_CHAR, null, p_create_non_pos_line_items),
2968: decode(p_apply_element_parameters, FND_API.G_MISS_CHAR, null, p_apply_element_parameters),
2969: decode(p_apply_position_parameters, FND_API.G_MISS_CHAR, null, p_apply_position_parameters),
2970: decode(p_create_positions, FND_API.G_MISS_CHAR, null, p_create_positions),
2971: decode(p_create_summary_totals, FND_API.G_MISS_CHAR, null, p_create_summary_totals),
2972: decode(p_apply_constraints, FND_API.G_MISS_CHAR, null, p_apply_constraints),
2973: decode(p_flex_mapping_set_id, FND_API.G_MISS_NUM, null, p_flex_mapping_set_id),

Line 2970: decode(p_create_positions, FND_API.G_MISS_CHAR, null, p_create_positions),

2966: decode(p_context, FND_API.G_MISS_CHAR, null, p_context),
2967: decode(p_create_non_pos_line_items, FND_API.G_MISS_CHAR, null, p_create_non_pos_line_items),
2968: decode(p_apply_element_parameters, FND_API.G_MISS_CHAR, null, p_apply_element_parameters),
2969: decode(p_apply_position_parameters, FND_API.G_MISS_CHAR, null, p_apply_position_parameters),
2970: decode(p_create_positions, FND_API.G_MISS_CHAR, null, p_create_positions),
2971: decode(p_create_summary_totals, FND_API.G_MISS_CHAR, null, p_create_summary_totals),
2972: decode(p_apply_constraints, FND_API.G_MISS_CHAR, null, p_apply_constraints),
2973: decode(p_flex_mapping_set_id, FND_API.G_MISS_NUM, null, p_flex_mapping_set_id),
2974: decode(p_include_gl_commit_balance, FND_API.G_MISS_CHAR, null, p_include_gl_commit_balance),

Line 2971: decode(p_create_summary_totals, FND_API.G_MISS_CHAR, null, p_create_summary_totals),

2967: decode(p_create_non_pos_line_items, FND_API.G_MISS_CHAR, null, p_create_non_pos_line_items),
2968: decode(p_apply_element_parameters, FND_API.G_MISS_CHAR, null, p_apply_element_parameters),
2969: decode(p_apply_position_parameters, FND_API.G_MISS_CHAR, null, p_apply_position_parameters),
2970: decode(p_create_positions, FND_API.G_MISS_CHAR, null, p_create_positions),
2971: decode(p_create_summary_totals, FND_API.G_MISS_CHAR, null, p_create_summary_totals),
2972: decode(p_apply_constraints, FND_API.G_MISS_CHAR, null, p_apply_constraints),
2973: decode(p_flex_mapping_set_id, FND_API.G_MISS_NUM, null, p_flex_mapping_set_id),
2974: decode(p_include_gl_commit_balance, FND_API.G_MISS_CHAR, null, p_include_gl_commit_balance),
2975: decode(p_include_gl_oblig_balance, FND_API.G_MISS_CHAR, null, p_include_gl_oblig_balance),

Line 2972: decode(p_apply_constraints, FND_API.G_MISS_CHAR, null, p_apply_constraints),

2968: decode(p_apply_element_parameters, FND_API.G_MISS_CHAR, null, p_apply_element_parameters),
2969: decode(p_apply_position_parameters, FND_API.G_MISS_CHAR, null, p_apply_position_parameters),
2970: decode(p_create_positions, FND_API.G_MISS_CHAR, null, p_create_positions),
2971: decode(p_create_summary_totals, FND_API.G_MISS_CHAR, null, p_create_summary_totals),
2972: decode(p_apply_constraints, FND_API.G_MISS_CHAR, null, p_apply_constraints),
2973: decode(p_flex_mapping_set_id, FND_API.G_MISS_NUM, null, p_flex_mapping_set_id),
2974: decode(p_include_gl_commit_balance, FND_API.G_MISS_CHAR, null, p_include_gl_commit_balance),
2975: decode(p_include_gl_oblig_balance, FND_API.G_MISS_CHAR, null, p_include_gl_oblig_balance),
2976: decode(p_include_gl_other_balance, FND_API.G_MISS_CHAR, null, p_include_gl_other_balance),

Line 2973: decode(p_flex_mapping_set_id, FND_API.G_MISS_NUM, null, p_flex_mapping_set_id),

2969: decode(p_apply_position_parameters, FND_API.G_MISS_CHAR, null, p_apply_position_parameters),
2970: decode(p_create_positions, FND_API.G_MISS_CHAR, null, p_create_positions),
2971: decode(p_create_summary_totals, FND_API.G_MISS_CHAR, null, p_create_summary_totals),
2972: decode(p_apply_constraints, FND_API.G_MISS_CHAR, null, p_apply_constraints),
2973: decode(p_flex_mapping_set_id, FND_API.G_MISS_NUM, null, p_flex_mapping_set_id),
2974: decode(p_include_gl_commit_balance, FND_API.G_MISS_CHAR, null, p_include_gl_commit_balance),
2975: decode(p_include_gl_oblig_balance, FND_API.G_MISS_CHAR, null, p_include_gl_oblig_balance),
2976: decode(p_include_gl_other_balance, FND_API.G_MISS_CHAR, null, p_include_gl_other_balance),
2977: decode(p_include_cbc_commit_balance, FND_API.G_MISS_CHAR, null, p_include_cbc_commit_balance),

Line 2974: decode(p_include_gl_commit_balance, FND_API.G_MISS_CHAR, null, p_include_gl_commit_balance),

2970: decode(p_create_positions, FND_API.G_MISS_CHAR, null, p_create_positions),
2971: decode(p_create_summary_totals, FND_API.G_MISS_CHAR, null, p_create_summary_totals),
2972: decode(p_apply_constraints, FND_API.G_MISS_CHAR, null, p_apply_constraints),
2973: decode(p_flex_mapping_set_id, FND_API.G_MISS_NUM, null, p_flex_mapping_set_id),
2974: decode(p_include_gl_commit_balance, FND_API.G_MISS_CHAR, null, p_include_gl_commit_balance),
2975: decode(p_include_gl_oblig_balance, FND_API.G_MISS_CHAR, null, p_include_gl_oblig_balance),
2976: decode(p_include_gl_other_balance, FND_API.G_MISS_CHAR, null, p_include_gl_other_balance),
2977: decode(p_include_cbc_commit_balance, FND_API.G_MISS_CHAR, null, p_include_cbc_commit_balance),
2978: decode(p_include_cbc_oblig_balance, FND_API.G_MISS_CHAR, null, p_include_cbc_oblig_balance),

Line 2975: decode(p_include_gl_oblig_balance, FND_API.G_MISS_CHAR, null, p_include_gl_oblig_balance),

2971: decode(p_create_summary_totals, FND_API.G_MISS_CHAR, null, p_create_summary_totals),
2972: decode(p_apply_constraints, FND_API.G_MISS_CHAR, null, p_apply_constraints),
2973: decode(p_flex_mapping_set_id, FND_API.G_MISS_NUM, null, p_flex_mapping_set_id),
2974: decode(p_include_gl_commit_balance, FND_API.G_MISS_CHAR, null, p_include_gl_commit_balance),
2975: decode(p_include_gl_oblig_balance, FND_API.G_MISS_CHAR, null, p_include_gl_oblig_balance),
2976: decode(p_include_gl_other_balance, FND_API.G_MISS_CHAR, null, p_include_gl_other_balance),
2977: decode(p_include_cbc_commit_balance, FND_API.G_MISS_CHAR, null, p_include_cbc_commit_balance),
2978: decode(p_include_cbc_oblig_balance, FND_API.G_MISS_CHAR, null, p_include_cbc_oblig_balance),
2979: decode(p_include_cbc_budget_balance, FND_API.G_MISS_CHAR, null, p_include_cbc_oblig_balance),

Line 2976: decode(p_include_gl_other_balance, FND_API.G_MISS_CHAR, null, p_include_gl_other_balance),

2972: decode(p_apply_constraints, FND_API.G_MISS_CHAR, null, p_apply_constraints),
2973: decode(p_flex_mapping_set_id, FND_API.G_MISS_NUM, null, p_flex_mapping_set_id),
2974: decode(p_include_gl_commit_balance, FND_API.G_MISS_CHAR, null, p_include_gl_commit_balance),
2975: decode(p_include_gl_oblig_balance, FND_API.G_MISS_CHAR, null, p_include_gl_oblig_balance),
2976: decode(p_include_gl_other_balance, FND_API.G_MISS_CHAR, null, p_include_gl_other_balance),
2977: decode(p_include_cbc_commit_balance, FND_API.G_MISS_CHAR, null, p_include_cbc_commit_balance),
2978: decode(p_include_cbc_oblig_balance, FND_API.G_MISS_CHAR, null, p_include_cbc_oblig_balance),
2979: decode(p_include_cbc_budget_balance, FND_API.G_MISS_CHAR, null, p_include_cbc_oblig_balance),
2980: decode(p_federal_ws_flag,FND_API.G_MISS_CHAR,null,p_federal_ws_flag),

Line 2977: decode(p_include_cbc_commit_balance, FND_API.G_MISS_CHAR, null, p_include_cbc_commit_balance),

2973: decode(p_flex_mapping_set_id, FND_API.G_MISS_NUM, null, p_flex_mapping_set_id),
2974: decode(p_include_gl_commit_balance, FND_API.G_MISS_CHAR, null, p_include_gl_commit_balance),
2975: decode(p_include_gl_oblig_balance, FND_API.G_MISS_CHAR, null, p_include_gl_oblig_balance),
2976: decode(p_include_gl_other_balance, FND_API.G_MISS_CHAR, null, p_include_gl_other_balance),
2977: decode(p_include_cbc_commit_balance, FND_API.G_MISS_CHAR, null, p_include_cbc_commit_balance),
2978: decode(p_include_cbc_oblig_balance, FND_API.G_MISS_CHAR, null, p_include_cbc_oblig_balance),
2979: decode(p_include_cbc_budget_balance, FND_API.G_MISS_CHAR, null, p_include_cbc_oblig_balance),
2980: decode(p_federal_ws_flag,FND_API.G_MISS_CHAR,null,p_federal_ws_flag),
2981: /* bug no 4725091 */

Line 2978: decode(p_include_cbc_oblig_balance, FND_API.G_MISS_CHAR, null, p_include_cbc_oblig_balance),

2974: decode(p_include_gl_commit_balance, FND_API.G_MISS_CHAR, null, p_include_gl_commit_balance),
2975: decode(p_include_gl_oblig_balance, FND_API.G_MISS_CHAR, null, p_include_gl_oblig_balance),
2976: decode(p_include_gl_other_balance, FND_API.G_MISS_CHAR, null, p_include_gl_other_balance),
2977: decode(p_include_cbc_commit_balance, FND_API.G_MISS_CHAR, null, p_include_cbc_commit_balance),
2978: decode(p_include_cbc_oblig_balance, FND_API.G_MISS_CHAR, null, p_include_cbc_oblig_balance),
2979: decode(p_include_cbc_budget_balance, FND_API.G_MISS_CHAR, null, p_include_cbc_oblig_balance),
2980: decode(p_federal_ws_flag,FND_API.G_MISS_CHAR,null,p_federal_ws_flag),
2981: /* bug no 4725091 */
2982: decode(p_include_gl_forwd_balance,FND_API.G_MISS_CHAR, null, p_include_gl_forwd_balance)

Line 2979: decode(p_include_cbc_budget_balance, FND_API.G_MISS_CHAR, null, p_include_cbc_oblig_balance),

2975: decode(p_include_gl_oblig_balance, FND_API.G_MISS_CHAR, null, p_include_gl_oblig_balance),
2976: decode(p_include_gl_other_balance, FND_API.G_MISS_CHAR, null, p_include_gl_other_balance),
2977: decode(p_include_cbc_commit_balance, FND_API.G_MISS_CHAR, null, p_include_cbc_commit_balance),
2978: decode(p_include_cbc_oblig_balance, FND_API.G_MISS_CHAR, null, p_include_cbc_oblig_balance),
2979: decode(p_include_cbc_budget_balance, FND_API.G_MISS_CHAR, null, p_include_cbc_oblig_balance),
2980: decode(p_federal_ws_flag,FND_API.G_MISS_CHAR,null,p_federal_ws_flag),
2981: /* bug no 4725091 */
2982: decode(p_include_gl_forwd_balance,FND_API.G_MISS_CHAR, null, p_include_gl_forwd_balance)
2983: );

Line 2980: decode(p_federal_ws_flag,FND_API.G_MISS_CHAR,null,p_federal_ws_flag),

2976: decode(p_include_gl_other_balance, FND_API.G_MISS_CHAR, null, p_include_gl_other_balance),
2977: decode(p_include_cbc_commit_balance, FND_API.G_MISS_CHAR, null, p_include_cbc_commit_balance),
2978: decode(p_include_cbc_oblig_balance, FND_API.G_MISS_CHAR, null, p_include_cbc_oblig_balance),
2979: decode(p_include_cbc_budget_balance, FND_API.G_MISS_CHAR, null, p_include_cbc_oblig_balance),
2980: decode(p_federal_ws_flag,FND_API.G_MISS_CHAR,null,p_federal_ws_flag),
2981: /* bug no 4725091 */
2982: decode(p_include_gl_forwd_balance,FND_API.G_MISS_CHAR, null, p_include_gl_forwd_balance)
2983: );
2984:

Line 2982: decode(p_include_gl_forwd_balance,FND_API.G_MISS_CHAR, null, p_include_gl_forwd_balance)

2978: decode(p_include_cbc_oblig_balance, FND_API.G_MISS_CHAR, null, p_include_cbc_oblig_balance),
2979: decode(p_include_cbc_budget_balance, FND_API.G_MISS_CHAR, null, p_include_cbc_oblig_balance),
2980: decode(p_federal_ws_flag,FND_API.G_MISS_CHAR,null,p_federal_ws_flag),
2981: /* bug no 4725091 */
2982: decode(p_include_gl_forwd_balance,FND_API.G_MISS_CHAR, null, p_include_gl_forwd_balance)
2983: );
2984:
2985: p_worksheet_id := l_worksheet_id;
2986:

Line 2990: p_return_status := FND_API.G_RET_STS_SUCCESS;

2986:
2987:
2988: -- Initialize API return status to success
2989:
2990: p_return_status := FND_API.G_RET_STS_SUCCESS;
2991:
2992:
2993: EXCEPTION
2994:

Line 2995: when FND_API.G_EXC_ERROR then

2991:
2992:
2993: EXCEPTION
2994:
2995: when FND_API.G_EXC_ERROR then
2996: p_return_status := FND_API.G_RET_STS_ERROR;
2997:
2998: when FND_API.G_EXC_UNEXPECTED_ERROR then
2999: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 2996: p_return_status := FND_API.G_RET_STS_ERROR;

2992:
2993: EXCEPTION
2994:
2995: when FND_API.G_EXC_ERROR then
2996: p_return_status := FND_API.G_RET_STS_ERROR;
2997:
2998: when FND_API.G_EXC_UNEXPECTED_ERROR then
2999: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3000:

Line 2998: when FND_API.G_EXC_UNEXPECTED_ERROR then

2994:
2995: when FND_API.G_EXC_ERROR then
2996: p_return_status := FND_API.G_RET_STS_ERROR;
2997:
2998: when FND_API.G_EXC_UNEXPECTED_ERROR then
2999: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3000:
3001: when OTHERS then
3002: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 2999: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

2995: when FND_API.G_EXC_ERROR then
2996: p_return_status := FND_API.G_RET_STS_ERROR;
2997:
2998: when FND_API.G_EXC_UNEXPECTED_ERROR then
2999: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3000:
3001: when OTHERS then
3002: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3003:

Line 3002: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

2998: when FND_API.G_EXC_UNEXPECTED_ERROR then
2999: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3000:
3001: when OTHERS then
3002: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3003:
3004: if FND_MSG_PUB.Check_Msg_Level
3005: (p_message_level => FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3006: then

Line 3018: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,

3014: /* ----------------------------------------------------------------------- */
3015:
3016: PROCEDURE Update_Worksheet
3017: ( p_api_version IN NUMBER,
3018: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,
3019: p_return_status OUT NOCOPY VARCHAR2,
3020: p_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,
3021: p_worksheet_type IN VARCHAR2 := FND_API.G_MISS_CHAR,
3022: p_description IN VARCHAR2 := FND_API.G_MISS_CHAR,

Line 3020: p_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,

3016: PROCEDURE Update_Worksheet
3017: ( p_api_version IN NUMBER,
3018: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,
3019: p_return_status OUT NOCOPY VARCHAR2,
3020: p_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,
3021: p_worksheet_type IN VARCHAR2 := FND_API.G_MISS_CHAR,
3022: p_description IN VARCHAR2 := FND_API.G_MISS_CHAR,
3023: p_ws_creation_complete IN VARCHAR2 := FND_API.G_MISS_CHAR,
3024: p_global_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,

Line 3021: p_worksheet_type IN VARCHAR2 := FND_API.G_MISS_CHAR,

3017: ( p_api_version IN NUMBER,
3018: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,
3019: p_return_status OUT NOCOPY VARCHAR2,
3020: p_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,
3021: p_worksheet_type IN VARCHAR2 := FND_API.G_MISS_CHAR,
3022: p_description IN VARCHAR2 := FND_API.G_MISS_CHAR,
3023: p_ws_creation_complete IN VARCHAR2 := FND_API.G_MISS_CHAR,
3024: p_global_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,
3025: p_current_stage_seq IN NUMBER := FND_API.G_MISS_NUM,

Line 3022: p_description IN VARCHAR2 := FND_API.G_MISS_CHAR,

3018: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,
3019: p_return_status OUT NOCOPY VARCHAR2,
3020: p_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,
3021: p_worksheet_type IN VARCHAR2 := FND_API.G_MISS_CHAR,
3022: p_description IN VARCHAR2 := FND_API.G_MISS_CHAR,
3023: p_ws_creation_complete IN VARCHAR2 := FND_API.G_MISS_CHAR,
3024: p_global_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,
3025: p_current_stage_seq IN NUMBER := FND_API.G_MISS_NUM,
3026: p_local_copy_flag IN VARCHAR2 := FND_API.G_MISS_CHAR,

Line 3023: p_ws_creation_complete IN VARCHAR2 := FND_API.G_MISS_CHAR,

3019: p_return_status OUT NOCOPY VARCHAR2,
3020: p_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,
3021: p_worksheet_type IN VARCHAR2 := FND_API.G_MISS_CHAR,
3022: p_description IN VARCHAR2 := FND_API.G_MISS_CHAR,
3023: p_ws_creation_complete IN VARCHAR2 := FND_API.G_MISS_CHAR,
3024: p_global_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,
3025: p_current_stage_seq IN NUMBER := FND_API.G_MISS_NUM,
3026: p_local_copy_flag IN VARCHAR2 := FND_API.G_MISS_CHAR,
3027: p_copy_of_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,

Line 3024: p_global_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,

3020: p_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,
3021: p_worksheet_type IN VARCHAR2 := FND_API.G_MISS_CHAR,
3022: p_description IN VARCHAR2 := FND_API.G_MISS_CHAR,
3023: p_ws_creation_complete IN VARCHAR2 := FND_API.G_MISS_CHAR,
3024: p_global_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,
3025: p_current_stage_seq IN NUMBER := FND_API.G_MISS_NUM,
3026: p_local_copy_flag IN VARCHAR2 := FND_API.G_MISS_CHAR,
3027: p_copy_of_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,
3028: p_freeze_flag IN VARCHAR2 := FND_API.G_MISS_CHAR,

Line 3025: p_current_stage_seq IN NUMBER := FND_API.G_MISS_NUM,

3021: p_worksheet_type IN VARCHAR2 := FND_API.G_MISS_CHAR,
3022: p_description IN VARCHAR2 := FND_API.G_MISS_CHAR,
3023: p_ws_creation_complete IN VARCHAR2 := FND_API.G_MISS_CHAR,
3024: p_global_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,
3025: p_current_stage_seq IN NUMBER := FND_API.G_MISS_NUM,
3026: p_local_copy_flag IN VARCHAR2 := FND_API.G_MISS_CHAR,
3027: p_copy_of_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,
3028: p_freeze_flag IN VARCHAR2 := FND_API.G_MISS_CHAR,
3029: p_use_revised_element_rates IN VARCHAR2 := FND_API.G_MISS_CHAR,

Line 3026: p_local_copy_flag IN VARCHAR2 := FND_API.G_MISS_CHAR,

3022: p_description IN VARCHAR2 := FND_API.G_MISS_CHAR,
3023: p_ws_creation_complete IN VARCHAR2 := FND_API.G_MISS_CHAR,
3024: p_global_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,
3025: p_current_stage_seq IN NUMBER := FND_API.G_MISS_NUM,
3026: p_local_copy_flag IN VARCHAR2 := FND_API.G_MISS_CHAR,
3027: p_copy_of_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,
3028: p_freeze_flag IN VARCHAR2 := FND_API.G_MISS_CHAR,
3029: p_use_revised_element_rates IN VARCHAR2 := FND_API.G_MISS_CHAR,
3030: /* Bug # 3083970 */

Line 3027: p_copy_of_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,

3023: p_ws_creation_complete IN VARCHAR2 := FND_API.G_MISS_CHAR,
3024: p_global_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,
3025: p_current_stage_seq IN NUMBER := FND_API.G_MISS_NUM,
3026: p_local_copy_flag IN VARCHAR2 := FND_API.G_MISS_CHAR,
3027: p_copy_of_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,
3028: p_freeze_flag IN VARCHAR2 := FND_API.G_MISS_CHAR,
3029: p_use_revised_element_rates IN VARCHAR2 := FND_API.G_MISS_CHAR,
3030: /* Bug # 3083970 */
3031: p_num_proposed_years IN NUMBER := FND_API.G_MISS_NUM,

Line 3028: p_freeze_flag IN VARCHAR2 := FND_API.G_MISS_CHAR,

3024: p_global_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,
3025: p_current_stage_seq IN NUMBER := FND_API.G_MISS_NUM,
3026: p_local_copy_flag IN VARCHAR2 := FND_API.G_MISS_CHAR,
3027: p_copy_of_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,
3028: p_freeze_flag IN VARCHAR2 := FND_API.G_MISS_CHAR,
3029: p_use_revised_element_rates IN VARCHAR2 := FND_API.G_MISS_CHAR,
3030: /* Bug # 3083970 */
3031: p_num_proposed_years IN NUMBER := FND_API.G_MISS_NUM,
3032: p_rounding_factor IN NUMBER := FND_API.G_MISS_NUM,

Line 3029: p_use_revised_element_rates IN VARCHAR2 := FND_API.G_MISS_CHAR,

3025: p_current_stage_seq IN NUMBER := FND_API.G_MISS_NUM,
3026: p_local_copy_flag IN VARCHAR2 := FND_API.G_MISS_CHAR,
3027: p_copy_of_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,
3028: p_freeze_flag IN VARCHAR2 := FND_API.G_MISS_CHAR,
3029: p_use_revised_element_rates IN VARCHAR2 := FND_API.G_MISS_CHAR,
3030: /* Bug # 3083970 */
3031: p_num_proposed_years IN NUMBER := FND_API.G_MISS_NUM,
3032: p_rounding_factor IN NUMBER := FND_API.G_MISS_NUM,
3033: /* End bug */

Line 3031: p_num_proposed_years IN NUMBER := FND_API.G_MISS_NUM,

3027: p_copy_of_worksheet_id IN NUMBER := FND_API.G_MISS_NUM,
3028: p_freeze_flag IN VARCHAR2 := FND_API.G_MISS_CHAR,
3029: p_use_revised_element_rates IN VARCHAR2 := FND_API.G_MISS_CHAR,
3030: /* Bug # 3083970 */
3031: p_num_proposed_years IN NUMBER := FND_API.G_MISS_NUM,
3032: p_rounding_factor IN NUMBER := FND_API.G_MISS_NUM,
3033: /* End bug */
3034: p_date_submitted IN DATE := FND_API.G_MISS_DATE,
3035: p_submitted_by IN NUMBER := FND_API.G_MISS_NUM,

Line 3032: p_rounding_factor IN NUMBER := FND_API.G_MISS_NUM,

3028: p_freeze_flag IN VARCHAR2 := FND_API.G_MISS_CHAR,
3029: p_use_revised_element_rates IN VARCHAR2 := FND_API.G_MISS_CHAR,
3030: /* Bug # 3083970 */
3031: p_num_proposed_years IN NUMBER := FND_API.G_MISS_NUM,
3032: p_rounding_factor IN NUMBER := FND_API.G_MISS_NUM,
3033: /* End bug */
3034: p_date_submitted IN DATE := FND_API.G_MISS_DATE,
3035: p_submitted_by IN NUMBER := FND_API.G_MISS_NUM,
3036: p_attribute1 IN VARCHAR2 := FND_API.G_MISS_CHAR,

Line 3034: p_date_submitted IN DATE := FND_API.G_MISS_DATE,

3030: /* Bug # 3083970 */
3031: p_num_proposed_years IN NUMBER := FND_API.G_MISS_NUM,
3032: p_rounding_factor IN NUMBER := FND_API.G_MISS_NUM,
3033: /* End bug */
3034: p_date_submitted IN DATE := FND_API.G_MISS_DATE,
3035: p_submitted_by IN NUMBER := FND_API.G_MISS_NUM,
3036: p_attribute1 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3037: p_attribute2 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3038: p_attribute3 IN VARCHAR2 := FND_API.G_MISS_CHAR,

Line 3035: p_submitted_by IN NUMBER := FND_API.G_MISS_NUM,

3031: p_num_proposed_years IN NUMBER := FND_API.G_MISS_NUM,
3032: p_rounding_factor IN NUMBER := FND_API.G_MISS_NUM,
3033: /* End bug */
3034: p_date_submitted IN DATE := FND_API.G_MISS_DATE,
3035: p_submitted_by IN NUMBER := FND_API.G_MISS_NUM,
3036: p_attribute1 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3037: p_attribute2 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3038: p_attribute3 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3039: p_attribute4 IN VARCHAR2 := FND_API.G_MISS_CHAR,

Line 3036: p_attribute1 IN VARCHAR2 := FND_API.G_MISS_CHAR,

3032: p_rounding_factor IN NUMBER := FND_API.G_MISS_NUM,
3033: /* End bug */
3034: p_date_submitted IN DATE := FND_API.G_MISS_DATE,
3035: p_submitted_by IN NUMBER := FND_API.G_MISS_NUM,
3036: p_attribute1 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3037: p_attribute2 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3038: p_attribute3 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3039: p_attribute4 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3040: p_attribute5 IN VARCHAR2 := FND_API.G_MISS_CHAR,

Line 3037: p_attribute2 IN VARCHAR2 := FND_API.G_MISS_CHAR,

3033: /* End bug */
3034: p_date_submitted IN DATE := FND_API.G_MISS_DATE,
3035: p_submitted_by IN NUMBER := FND_API.G_MISS_NUM,
3036: p_attribute1 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3037: p_attribute2 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3038: p_attribute3 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3039: p_attribute4 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3040: p_attribute5 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3041: p_attribute6 IN VARCHAR2 := FND_API.G_MISS_CHAR,

Line 3038: p_attribute3 IN VARCHAR2 := FND_API.G_MISS_CHAR,

3034: p_date_submitted IN DATE := FND_API.G_MISS_DATE,
3035: p_submitted_by IN NUMBER := FND_API.G_MISS_NUM,
3036: p_attribute1 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3037: p_attribute2 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3038: p_attribute3 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3039: p_attribute4 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3040: p_attribute5 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3041: p_attribute6 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3042: p_attribute7 IN VARCHAR2 := FND_API.G_MISS_CHAR,

Line 3039: p_attribute4 IN VARCHAR2 := FND_API.G_MISS_CHAR,

3035: p_submitted_by IN NUMBER := FND_API.G_MISS_NUM,
3036: p_attribute1 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3037: p_attribute2 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3038: p_attribute3 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3039: p_attribute4 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3040: p_attribute5 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3041: p_attribute6 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3042: p_attribute7 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3043: p_attribute8 IN VARCHAR2 := FND_API.G_MISS_CHAR,

Line 3040: p_attribute5 IN VARCHAR2 := FND_API.G_MISS_CHAR,

3036: p_attribute1 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3037: p_attribute2 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3038: p_attribute3 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3039: p_attribute4 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3040: p_attribute5 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3041: p_attribute6 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3042: p_attribute7 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3043: p_attribute8 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3044: p_attribute9 IN VARCHAR2 := FND_API.G_MISS_CHAR,

Line 3041: p_attribute6 IN VARCHAR2 := FND_API.G_MISS_CHAR,

3037: p_attribute2 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3038: p_attribute3 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3039: p_attribute4 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3040: p_attribute5 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3041: p_attribute6 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3042: p_attribute7 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3043: p_attribute8 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3044: p_attribute9 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3045: p_attribute10 IN VARCHAR2 := FND_API.G_MISS_CHAR,

Line 3042: p_attribute7 IN VARCHAR2 := FND_API.G_MISS_CHAR,

3038: p_attribute3 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3039: p_attribute4 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3040: p_attribute5 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3041: p_attribute6 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3042: p_attribute7 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3043: p_attribute8 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3044: p_attribute9 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3045: p_attribute10 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3046: p_context IN VARCHAR2 := FND_API.G_MISS_CHAR,

Line 3043: p_attribute8 IN VARCHAR2 := FND_API.G_MISS_CHAR,

3039: p_attribute4 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3040: p_attribute5 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3041: p_attribute6 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3042: p_attribute7 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3043: p_attribute8 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3044: p_attribute9 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3045: p_attribute10 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3046: p_context IN VARCHAR2 := FND_API.G_MISS_CHAR,
3047: p_create_non_pos_line_items IN VARCHAR2 := FND_API.G_MISS_CHAR,

Line 3044: p_attribute9 IN VARCHAR2 := FND_API.G_MISS_CHAR,

3040: p_attribute5 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3041: p_attribute6 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3042: p_attribute7 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3043: p_attribute8 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3044: p_attribute9 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3045: p_attribute10 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3046: p_context IN VARCHAR2 := FND_API.G_MISS_CHAR,
3047: p_create_non_pos_line_items IN VARCHAR2 := FND_API.G_MISS_CHAR,
3048: p_apply_element_parameters IN VARCHAR2 := FND_API.G_MISS_CHAR,

Line 3045: p_attribute10 IN VARCHAR2 := FND_API.G_MISS_CHAR,

3041: p_attribute6 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3042: p_attribute7 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3043: p_attribute8 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3044: p_attribute9 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3045: p_attribute10 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3046: p_context IN VARCHAR2 := FND_API.G_MISS_CHAR,
3047: p_create_non_pos_line_items IN VARCHAR2 := FND_API.G_MISS_CHAR,
3048: p_apply_element_parameters IN VARCHAR2 := FND_API.G_MISS_CHAR,
3049: p_apply_position_parameters IN VARCHAR2 := FND_API.G_MISS_CHAR,

Line 3046: p_context IN VARCHAR2 := FND_API.G_MISS_CHAR,

3042: p_attribute7 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3043: p_attribute8 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3044: p_attribute9 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3045: p_attribute10 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3046: p_context IN VARCHAR2 := FND_API.G_MISS_CHAR,
3047: p_create_non_pos_line_items IN VARCHAR2 := FND_API.G_MISS_CHAR,
3048: p_apply_element_parameters IN VARCHAR2 := FND_API.G_MISS_CHAR,
3049: p_apply_position_parameters IN VARCHAR2 := FND_API.G_MISS_CHAR,
3050: p_create_positions IN VARCHAR2 := FND_API.G_MISS_CHAR,

Line 3047: p_create_non_pos_line_items IN VARCHAR2 := FND_API.G_MISS_CHAR,

3043: p_attribute8 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3044: p_attribute9 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3045: p_attribute10 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3046: p_context IN VARCHAR2 := FND_API.G_MISS_CHAR,
3047: p_create_non_pos_line_items IN VARCHAR2 := FND_API.G_MISS_CHAR,
3048: p_apply_element_parameters IN VARCHAR2 := FND_API.G_MISS_CHAR,
3049: p_apply_position_parameters IN VARCHAR2 := FND_API.G_MISS_CHAR,
3050: p_create_positions IN VARCHAR2 := FND_API.G_MISS_CHAR,
3051: p_create_summary_totals IN VARCHAR2 := FND_API.G_MISS_CHAR,

Line 3048: p_apply_element_parameters IN VARCHAR2 := FND_API.G_MISS_CHAR,

3044: p_attribute9 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3045: p_attribute10 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3046: p_context IN VARCHAR2 := FND_API.G_MISS_CHAR,
3047: p_create_non_pos_line_items IN VARCHAR2 := FND_API.G_MISS_CHAR,
3048: p_apply_element_parameters IN VARCHAR2 := FND_API.G_MISS_CHAR,
3049: p_apply_position_parameters IN VARCHAR2 := FND_API.G_MISS_CHAR,
3050: p_create_positions IN VARCHAR2 := FND_API.G_MISS_CHAR,
3051: p_create_summary_totals IN VARCHAR2 := FND_API.G_MISS_CHAR,
3052: p_apply_constraints IN VARCHAR2 := FND_API.G_MISS_CHAR,

Line 3049: p_apply_position_parameters IN VARCHAR2 := FND_API.G_MISS_CHAR,

3045: p_attribute10 IN VARCHAR2 := FND_API.G_MISS_CHAR,
3046: p_context IN VARCHAR2 := FND_API.G_MISS_CHAR,
3047: p_create_non_pos_line_items IN VARCHAR2 := FND_API.G_MISS_CHAR,
3048: p_apply_element_parameters IN VARCHAR2 := FND_API.G_MISS_CHAR,
3049: p_apply_position_parameters IN VARCHAR2 := FND_API.G_MISS_CHAR,
3050: p_create_positions IN VARCHAR2 := FND_API.G_MISS_CHAR,
3051: p_create_summary_totals IN VARCHAR2 := FND_API.G_MISS_CHAR,
3052: p_apply_constraints IN VARCHAR2 := FND_API.G_MISS_CHAR,
3053: p_include_gl_commit_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,

Line 3050: p_create_positions IN VARCHAR2 := FND_API.G_MISS_CHAR,

3046: p_context IN VARCHAR2 := FND_API.G_MISS_CHAR,
3047: p_create_non_pos_line_items IN VARCHAR2 := FND_API.G_MISS_CHAR,
3048: p_apply_element_parameters IN VARCHAR2 := FND_API.G_MISS_CHAR,
3049: p_apply_position_parameters IN VARCHAR2 := FND_API.G_MISS_CHAR,
3050: p_create_positions IN VARCHAR2 := FND_API.G_MISS_CHAR,
3051: p_create_summary_totals IN VARCHAR2 := FND_API.G_MISS_CHAR,
3052: p_apply_constraints IN VARCHAR2 := FND_API.G_MISS_CHAR,
3053: p_include_gl_commit_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3054: p_include_gl_oblig_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,

Line 3051: p_create_summary_totals IN VARCHAR2 := FND_API.G_MISS_CHAR,

3047: p_create_non_pos_line_items IN VARCHAR2 := FND_API.G_MISS_CHAR,
3048: p_apply_element_parameters IN VARCHAR2 := FND_API.G_MISS_CHAR,
3049: p_apply_position_parameters IN VARCHAR2 := FND_API.G_MISS_CHAR,
3050: p_create_positions IN VARCHAR2 := FND_API.G_MISS_CHAR,
3051: p_create_summary_totals IN VARCHAR2 := FND_API.G_MISS_CHAR,
3052: p_apply_constraints IN VARCHAR2 := FND_API.G_MISS_CHAR,
3053: p_include_gl_commit_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3054: p_include_gl_oblig_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3055: p_include_gl_other_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,

Line 3052: p_apply_constraints IN VARCHAR2 := FND_API.G_MISS_CHAR,

3048: p_apply_element_parameters IN VARCHAR2 := FND_API.G_MISS_CHAR,
3049: p_apply_position_parameters IN VARCHAR2 := FND_API.G_MISS_CHAR,
3050: p_create_positions IN VARCHAR2 := FND_API.G_MISS_CHAR,
3051: p_create_summary_totals IN VARCHAR2 := FND_API.G_MISS_CHAR,
3052: p_apply_constraints IN VARCHAR2 := FND_API.G_MISS_CHAR,
3053: p_include_gl_commit_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3054: p_include_gl_oblig_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3055: p_include_gl_other_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3056: p_include_cbc_commit_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,

Line 3053: p_include_gl_commit_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,

3049: p_apply_position_parameters IN VARCHAR2 := FND_API.G_MISS_CHAR,
3050: p_create_positions IN VARCHAR2 := FND_API.G_MISS_CHAR,
3051: p_create_summary_totals IN VARCHAR2 := FND_API.G_MISS_CHAR,
3052: p_apply_constraints IN VARCHAR2 := FND_API.G_MISS_CHAR,
3053: p_include_gl_commit_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3054: p_include_gl_oblig_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3055: p_include_gl_other_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3056: p_include_cbc_commit_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3057: p_include_cbc_oblig_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,

Line 3054: p_include_gl_oblig_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,

3050: p_create_positions IN VARCHAR2 := FND_API.G_MISS_CHAR,
3051: p_create_summary_totals IN VARCHAR2 := FND_API.G_MISS_CHAR,
3052: p_apply_constraints IN VARCHAR2 := FND_API.G_MISS_CHAR,
3053: p_include_gl_commit_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3054: p_include_gl_oblig_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3055: p_include_gl_other_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3056: p_include_cbc_commit_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3057: p_include_cbc_oblig_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3058: p_include_cbc_budget_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,

Line 3055: p_include_gl_other_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,

3051: p_create_summary_totals IN VARCHAR2 := FND_API.G_MISS_CHAR,
3052: p_apply_constraints IN VARCHAR2 := FND_API.G_MISS_CHAR,
3053: p_include_gl_commit_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3054: p_include_gl_oblig_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3055: p_include_gl_other_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3056: p_include_cbc_commit_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3057: p_include_cbc_oblig_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3058: p_include_cbc_budget_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3059: /* For Bug No. 2312657 : Start */

Line 3056: p_include_cbc_commit_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,

3052: p_apply_constraints IN VARCHAR2 := FND_API.G_MISS_CHAR,
3053: p_include_gl_commit_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3054: p_include_gl_oblig_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3055: p_include_gl_other_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3056: p_include_cbc_commit_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3057: p_include_cbc_oblig_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3058: p_include_cbc_budget_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3059: /* For Bug No. 2312657 : Start */
3060: p_gl_cutoff_period IN DATE := NULL,

Line 3057: p_include_cbc_oblig_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,

3053: p_include_gl_commit_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3054: p_include_gl_oblig_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3055: p_include_gl_other_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3056: p_include_cbc_commit_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3057: p_include_cbc_oblig_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3058: p_include_cbc_budget_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3059: /* For Bug No. 2312657 : Start */
3060: p_gl_cutoff_period IN DATE := NULL,
3061: p_gl_budget_set_id IN NUMBER := NULL,

Line 3058: p_include_cbc_budget_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,

3054: p_include_gl_oblig_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3055: p_include_gl_other_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3056: p_include_cbc_commit_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3057: p_include_cbc_oblig_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3058: p_include_cbc_budget_balance IN VARCHAR2 := FND_API.G_MISS_CHAR,
3059: /* For Bug No. 2312657 : Start */
3060: p_gl_cutoff_period IN DATE := NULL,
3061: p_gl_budget_set_id IN NUMBER := NULL,
3062: /* For Bug No. 2312657 : End */

Line 3063: p_federal_ws_flag IN VARCHAR2 := FND_API.G_MISS_CHAR,

3059: /* For Bug No. 2312657 : Start */
3060: p_gl_cutoff_period IN DATE := NULL,
3061: p_gl_budget_set_id IN NUMBER := NULL,
3062: /* For Bug No. 2312657 : End */
3063: p_federal_ws_flag IN VARCHAR2 := FND_API.G_MISS_CHAR,
3064: /* bug no 4725091 */
3065: p_include_gl_forwd_balance IN VARCHAR2 := FND_API.G_MISS_CHAR
3066: ) IS
3067:

Line 3065: p_include_gl_forwd_balance IN VARCHAR2 := FND_API.G_MISS_CHAR

3061: p_gl_budget_set_id IN NUMBER := NULL,
3062: /* For Bug No. 2312657 : End */
3063: p_federal_ws_flag IN VARCHAR2 := FND_API.G_MISS_CHAR,
3064: /* bug no 4725091 */
3065: p_include_gl_forwd_balance IN VARCHAR2 := FND_API.G_MISS_CHAR
3066: ) IS
3067:
3068: l_api_name CONSTANT VARCHAR2(30) := 'Update_Worksheet';
3069: l_api_version CONSTANT NUMBER := 1.0;

Line 3082: if not FND_API.Compatible_API_Call (l_api_version,

3078: BEGIN
3079:
3080: -- Standard call to check for call compatibility.
3081:
3082: if not FND_API.Compatible_API_Call (l_api_version,
3083: p_api_version,
3084: l_api_name,
3085: G_PKG_NAME)
3086: then

Line 3087: raise FND_API.G_EXC_UNEXPECTED_ERROR;

3083: p_api_version,
3084: l_api_name,
3085: G_PKG_NAME)
3086: then
3087: raise FND_API.G_EXC_UNEXPECTED_ERROR;
3088: end if;
3089:
3090: -- Get Who Values
3091:

Line 3103: set worksheet_type = decode(p_worksheet_type, FND_API.G_MISS_CHAR, worksheet_type, p_worksheet_type),

3099: where worksheet_id = p_worksheet_id;
3100: /* BUG 3239307 End */
3101:
3102: update PSB_WORKSHEETS
3103: set worksheet_type = decode(p_worksheet_type, FND_API.G_MISS_CHAR, worksheet_type, p_worksheet_type),
3104: description = decode(p_description, FND_API.G_MISS_CHAR, description, p_description),
3105: ws_creation_complete = decode(p_ws_creation_complete, FND_API.G_MISS_CHAR, ws_creation_complete, p_ws_creation_complete),
3106: global_worksheet_id = decode(p_global_worksheet_id, FND_API.G_MISS_NUM, global_worksheet_id, p_global_worksheet_id),
3107: current_stage_seq = decode(p_current_stage_seq, FND_API.G_MISS_NUM, current_stage_seq, p_current_stage_seq),

Line 3104: description = decode(p_description, FND_API.G_MISS_CHAR, description, p_description),

3100: /* BUG 3239307 End */
3101:
3102: update PSB_WORKSHEETS
3103: set worksheet_type = decode(p_worksheet_type, FND_API.G_MISS_CHAR, worksheet_type, p_worksheet_type),
3104: description = decode(p_description, FND_API.G_MISS_CHAR, description, p_description),
3105: ws_creation_complete = decode(p_ws_creation_complete, FND_API.G_MISS_CHAR, ws_creation_complete, p_ws_creation_complete),
3106: global_worksheet_id = decode(p_global_worksheet_id, FND_API.G_MISS_NUM, global_worksheet_id, p_global_worksheet_id),
3107: current_stage_seq = decode(p_current_stage_seq, FND_API.G_MISS_NUM, current_stage_seq, p_current_stage_seq),
3108: local_copy_flag = decode(p_local_copy_flag, FND_API.G_MISS_CHAR, local_copy_flag, p_local_copy_flag),

Line 3105: ws_creation_complete = decode(p_ws_creation_complete, FND_API.G_MISS_CHAR, ws_creation_complete, p_ws_creation_complete),

3101:
3102: update PSB_WORKSHEETS
3103: set worksheet_type = decode(p_worksheet_type, FND_API.G_MISS_CHAR, worksheet_type, p_worksheet_type),
3104: description = decode(p_description, FND_API.G_MISS_CHAR, description, p_description),
3105: ws_creation_complete = decode(p_ws_creation_complete, FND_API.G_MISS_CHAR, ws_creation_complete, p_ws_creation_complete),
3106: global_worksheet_id = decode(p_global_worksheet_id, FND_API.G_MISS_NUM, global_worksheet_id, p_global_worksheet_id),
3107: current_stage_seq = decode(p_current_stage_seq, FND_API.G_MISS_NUM, current_stage_seq, p_current_stage_seq),
3108: local_copy_flag = decode(p_local_copy_flag, FND_API.G_MISS_CHAR, local_copy_flag, p_local_copy_flag),
3109: copy_of_worksheet_id = decode(p_copy_of_worksheet_id, FND_API.G_MISS_NUM, copy_of_worksheet_id, p_copy_of_worksheet_id),

Line 3106: global_worksheet_id = decode(p_global_worksheet_id, FND_API.G_MISS_NUM, global_worksheet_id, p_global_worksheet_id),

3102: update PSB_WORKSHEETS
3103: set worksheet_type = decode(p_worksheet_type, FND_API.G_MISS_CHAR, worksheet_type, p_worksheet_type),
3104: description = decode(p_description, FND_API.G_MISS_CHAR, description, p_description),
3105: ws_creation_complete = decode(p_ws_creation_complete, FND_API.G_MISS_CHAR, ws_creation_complete, p_ws_creation_complete),
3106: global_worksheet_id = decode(p_global_worksheet_id, FND_API.G_MISS_NUM, global_worksheet_id, p_global_worksheet_id),
3107: current_stage_seq = decode(p_current_stage_seq, FND_API.G_MISS_NUM, current_stage_seq, p_current_stage_seq),
3108: local_copy_flag = decode(p_local_copy_flag, FND_API.G_MISS_CHAR, local_copy_flag, p_local_copy_flag),
3109: copy_of_worksheet_id = decode(p_copy_of_worksheet_id, FND_API.G_MISS_NUM, copy_of_worksheet_id, p_copy_of_worksheet_id),
3110: freeze_flag = decode(p_freeze_flag, FND_API.G_MISS_CHAR, freeze_flag, p_freeze_flag),

Line 3107: current_stage_seq = decode(p_current_stage_seq, FND_API.G_MISS_NUM, current_stage_seq, p_current_stage_seq),

3103: set worksheet_type = decode(p_worksheet_type, FND_API.G_MISS_CHAR, worksheet_type, p_worksheet_type),
3104: description = decode(p_description, FND_API.G_MISS_CHAR, description, p_description),
3105: ws_creation_complete = decode(p_ws_creation_complete, FND_API.G_MISS_CHAR, ws_creation_complete, p_ws_creation_complete),
3106: global_worksheet_id = decode(p_global_worksheet_id, FND_API.G_MISS_NUM, global_worksheet_id, p_global_worksheet_id),
3107: current_stage_seq = decode(p_current_stage_seq, FND_API.G_MISS_NUM, current_stage_seq, p_current_stage_seq),
3108: local_copy_flag = decode(p_local_copy_flag, FND_API.G_MISS_CHAR, local_copy_flag, p_local_copy_flag),
3109: copy_of_worksheet_id = decode(p_copy_of_worksheet_id, FND_API.G_MISS_NUM, copy_of_worksheet_id, p_copy_of_worksheet_id),
3110: freeze_flag = decode(p_freeze_flag, FND_API.G_MISS_CHAR, freeze_flag, p_freeze_flag),
3111: use_revised_element_rates = decode(p_use_revised_element_rates, FND_API.G_MISS_CHAR, use_revised_element_rates, p_use_revised_element_rates),

Line 3108: local_copy_flag = decode(p_local_copy_flag, FND_API.G_MISS_CHAR, local_copy_flag, p_local_copy_flag),

3104: description = decode(p_description, FND_API.G_MISS_CHAR, description, p_description),
3105: ws_creation_complete = decode(p_ws_creation_complete, FND_API.G_MISS_CHAR, ws_creation_complete, p_ws_creation_complete),
3106: global_worksheet_id = decode(p_global_worksheet_id, FND_API.G_MISS_NUM, global_worksheet_id, p_global_worksheet_id),
3107: current_stage_seq = decode(p_current_stage_seq, FND_API.G_MISS_NUM, current_stage_seq, p_current_stage_seq),
3108: local_copy_flag = decode(p_local_copy_flag, FND_API.G_MISS_CHAR, local_copy_flag, p_local_copy_flag),
3109: copy_of_worksheet_id = decode(p_copy_of_worksheet_id, FND_API.G_MISS_NUM, copy_of_worksheet_id, p_copy_of_worksheet_id),
3110: freeze_flag = decode(p_freeze_flag, FND_API.G_MISS_CHAR, freeze_flag, p_freeze_flag),
3111: use_revised_element_rates = decode(p_use_revised_element_rates, FND_API.G_MISS_CHAR, use_revised_element_rates, p_use_revised_element_rates),
3112: /* Bug # 3083970 */

Line 3109: copy_of_worksheet_id = decode(p_copy_of_worksheet_id, FND_API.G_MISS_NUM, copy_of_worksheet_id, p_copy_of_worksheet_id),

3105: ws_creation_complete = decode(p_ws_creation_complete, FND_API.G_MISS_CHAR, ws_creation_complete, p_ws_creation_complete),
3106: global_worksheet_id = decode(p_global_worksheet_id, FND_API.G_MISS_NUM, global_worksheet_id, p_global_worksheet_id),
3107: current_stage_seq = decode(p_current_stage_seq, FND_API.G_MISS_NUM, current_stage_seq, p_current_stage_seq),
3108: local_copy_flag = decode(p_local_copy_flag, FND_API.G_MISS_CHAR, local_copy_flag, p_local_copy_flag),
3109: copy_of_worksheet_id = decode(p_copy_of_worksheet_id, FND_API.G_MISS_NUM, copy_of_worksheet_id, p_copy_of_worksheet_id),
3110: freeze_flag = decode(p_freeze_flag, FND_API.G_MISS_CHAR, freeze_flag, p_freeze_flag),
3111: use_revised_element_rates = decode(p_use_revised_element_rates, FND_API.G_MISS_CHAR, use_revised_element_rates, p_use_revised_element_rates),
3112: /* Bug # 3083970 */
3113: num_proposed_years = decode(p_num_proposed_years, FND_API.G_MISS_NUM, num_proposed_years, p_num_proposed_years),

Line 3110: freeze_flag = decode(p_freeze_flag, FND_API.G_MISS_CHAR, freeze_flag, p_freeze_flag),

3106: global_worksheet_id = decode(p_global_worksheet_id, FND_API.G_MISS_NUM, global_worksheet_id, p_global_worksheet_id),
3107: current_stage_seq = decode(p_current_stage_seq, FND_API.G_MISS_NUM, current_stage_seq, p_current_stage_seq),
3108: local_copy_flag = decode(p_local_copy_flag, FND_API.G_MISS_CHAR, local_copy_flag, p_local_copy_flag),
3109: copy_of_worksheet_id = decode(p_copy_of_worksheet_id, FND_API.G_MISS_NUM, copy_of_worksheet_id, p_copy_of_worksheet_id),
3110: freeze_flag = decode(p_freeze_flag, FND_API.G_MISS_CHAR, freeze_flag, p_freeze_flag),
3111: use_revised_element_rates = decode(p_use_revised_element_rates, FND_API.G_MISS_CHAR, use_revised_element_rates, p_use_revised_element_rates),
3112: /* Bug # 3083970 */
3113: num_proposed_years = decode(p_num_proposed_years, FND_API.G_MISS_NUM, num_proposed_years, p_num_proposed_years),
3114: rounding_factor = decode(p_rounding_factor, FND_API.G_MISS_NUM, rounding_factor, p_rounding_factor),

Line 3111: use_revised_element_rates = decode(p_use_revised_element_rates, FND_API.G_MISS_CHAR, use_revised_element_rates, p_use_revised_element_rates),

3107: current_stage_seq = decode(p_current_stage_seq, FND_API.G_MISS_NUM, current_stage_seq, p_current_stage_seq),
3108: local_copy_flag = decode(p_local_copy_flag, FND_API.G_MISS_CHAR, local_copy_flag, p_local_copy_flag),
3109: copy_of_worksheet_id = decode(p_copy_of_worksheet_id, FND_API.G_MISS_NUM, copy_of_worksheet_id, p_copy_of_worksheet_id),
3110: freeze_flag = decode(p_freeze_flag, FND_API.G_MISS_CHAR, freeze_flag, p_freeze_flag),
3111: use_revised_element_rates = decode(p_use_revised_element_rates, FND_API.G_MISS_CHAR, use_revised_element_rates, p_use_revised_element_rates),
3112: /* Bug # 3083970 */
3113: num_proposed_years = decode(p_num_proposed_years, FND_API.G_MISS_NUM, num_proposed_years, p_num_proposed_years),
3114: rounding_factor = decode(p_rounding_factor, FND_API.G_MISS_NUM, rounding_factor, p_rounding_factor),
3115: /* End Bug # 3083970 */

Line 3113: num_proposed_years = decode(p_num_proposed_years, FND_API.G_MISS_NUM, num_proposed_years, p_num_proposed_years),

3109: copy_of_worksheet_id = decode(p_copy_of_worksheet_id, FND_API.G_MISS_NUM, copy_of_worksheet_id, p_copy_of_worksheet_id),
3110: freeze_flag = decode(p_freeze_flag, FND_API.G_MISS_CHAR, freeze_flag, p_freeze_flag),
3111: use_revised_element_rates = decode(p_use_revised_element_rates, FND_API.G_MISS_CHAR, use_revised_element_rates, p_use_revised_element_rates),
3112: /* Bug # 3083970 */
3113: num_proposed_years = decode(p_num_proposed_years, FND_API.G_MISS_NUM, num_proposed_years, p_num_proposed_years),
3114: rounding_factor = decode(p_rounding_factor, FND_API.G_MISS_NUM, rounding_factor, p_rounding_factor),
3115: /* End Bug # 3083970 */
3116: date_submitted = decode(p_date_submitted, FND_API.G_MISS_DATE, date_submitted, p_date_submitted),
3117: submitted_by = decode(p_submitted_by, FND_API.G_MISS_NUM, submitted_by, p_submitted_by),

Line 3114: rounding_factor = decode(p_rounding_factor, FND_API.G_MISS_NUM, rounding_factor, p_rounding_factor),

3110: freeze_flag = decode(p_freeze_flag, FND_API.G_MISS_CHAR, freeze_flag, p_freeze_flag),
3111: use_revised_element_rates = decode(p_use_revised_element_rates, FND_API.G_MISS_CHAR, use_revised_element_rates, p_use_revised_element_rates),
3112: /* Bug # 3083970 */
3113: num_proposed_years = decode(p_num_proposed_years, FND_API.G_MISS_NUM, num_proposed_years, p_num_proposed_years),
3114: rounding_factor = decode(p_rounding_factor, FND_API.G_MISS_NUM, rounding_factor, p_rounding_factor),
3115: /* End Bug # 3083970 */
3116: date_submitted = decode(p_date_submitted, FND_API.G_MISS_DATE, date_submitted, p_date_submitted),
3117: submitted_by = decode(p_submitted_by, FND_API.G_MISS_NUM, submitted_by, p_submitted_by),
3118: last_update_date = sysdate,

Line 3116: date_submitted = decode(p_date_submitted, FND_API.G_MISS_DATE, date_submitted, p_date_submitted),

3112: /* Bug # 3083970 */
3113: num_proposed_years = decode(p_num_proposed_years, FND_API.G_MISS_NUM, num_proposed_years, p_num_proposed_years),
3114: rounding_factor = decode(p_rounding_factor, FND_API.G_MISS_NUM, rounding_factor, p_rounding_factor),
3115: /* End Bug # 3083970 */
3116: date_submitted = decode(p_date_submitted, FND_API.G_MISS_DATE, date_submitted, p_date_submitted),
3117: submitted_by = decode(p_submitted_by, FND_API.G_MISS_NUM, submitted_by, p_submitted_by),
3118: last_update_date = sysdate,
3119: last_updated_by = l_userid,
3120: last_update_login = l_loginid,

Line 3117: submitted_by = decode(p_submitted_by, FND_API.G_MISS_NUM, submitted_by, p_submitted_by),

3113: num_proposed_years = decode(p_num_proposed_years, FND_API.G_MISS_NUM, num_proposed_years, p_num_proposed_years),
3114: rounding_factor = decode(p_rounding_factor, FND_API.G_MISS_NUM, rounding_factor, p_rounding_factor),
3115: /* End Bug # 3083970 */
3116: date_submitted = decode(p_date_submitted, FND_API.G_MISS_DATE, date_submitted, p_date_submitted),
3117: submitted_by = decode(p_submitted_by, FND_API.G_MISS_NUM, submitted_by, p_submitted_by),
3118: last_update_date = sysdate,
3119: last_updated_by = l_userid,
3120: last_update_login = l_loginid,
3121: attribute1 = decode(p_attribute1, FND_API.G_MISS_CHAR, attribute1, p_attribute1),

Line 3121: attribute1 = decode(p_attribute1, FND_API.G_MISS_CHAR, attribute1, p_attribute1),

3117: submitted_by = decode(p_submitted_by, FND_API.G_MISS_NUM, submitted_by, p_submitted_by),
3118: last_update_date = sysdate,
3119: last_updated_by = l_userid,
3120: last_update_login = l_loginid,
3121: attribute1 = decode(p_attribute1, FND_API.G_MISS_CHAR, attribute1, p_attribute1),
3122: attribute2 = decode(p_attribute2, FND_API.G_MISS_CHAR, attribute2, p_attribute2),
3123: attribute3 = decode(p_attribute3, FND_API.G_MISS_CHAR, attribute3, p_attribute3),
3124: attribute4 = decode(p_attribute4, FND_API.G_MISS_CHAR, attribute4, p_attribute4),
3125: attribute5 = decode(p_attribute5, FND_API.G_MISS_CHAR, attribute5, p_attribute5),

Line 3122: attribute2 = decode(p_attribute2, FND_API.G_MISS_CHAR, attribute2, p_attribute2),

3118: last_update_date = sysdate,
3119: last_updated_by = l_userid,
3120: last_update_login = l_loginid,
3121: attribute1 = decode(p_attribute1, FND_API.G_MISS_CHAR, attribute1, p_attribute1),
3122: attribute2 = decode(p_attribute2, FND_API.G_MISS_CHAR, attribute2, p_attribute2),
3123: attribute3 = decode(p_attribute3, FND_API.G_MISS_CHAR, attribute3, p_attribute3),
3124: attribute4 = decode(p_attribute4, FND_API.G_MISS_CHAR, attribute4, p_attribute4),
3125: attribute5 = decode(p_attribute5, FND_API.G_MISS_CHAR, attribute5, p_attribute5),
3126: attribute6 = decode(p_attribute6, FND_API.G_MISS_CHAR, attribute6, p_attribute6),

Line 3123: attribute3 = decode(p_attribute3, FND_API.G_MISS_CHAR, attribute3, p_attribute3),

3119: last_updated_by = l_userid,
3120: last_update_login = l_loginid,
3121: attribute1 = decode(p_attribute1, FND_API.G_MISS_CHAR, attribute1, p_attribute1),
3122: attribute2 = decode(p_attribute2, FND_API.G_MISS_CHAR, attribute2, p_attribute2),
3123: attribute3 = decode(p_attribute3, FND_API.G_MISS_CHAR, attribute3, p_attribute3),
3124: attribute4 = decode(p_attribute4, FND_API.G_MISS_CHAR, attribute4, p_attribute4),
3125: attribute5 = decode(p_attribute5, FND_API.G_MISS_CHAR, attribute5, p_attribute5),
3126: attribute6 = decode(p_attribute6, FND_API.G_MISS_CHAR, attribute6, p_attribute6),
3127: attribute7 = decode(p_attribute7, FND_API.G_MISS_CHAR, attribute7, p_attribute7),

Line 3124: attribute4 = decode(p_attribute4, FND_API.G_MISS_CHAR, attribute4, p_attribute4),

3120: last_update_login = l_loginid,
3121: attribute1 = decode(p_attribute1, FND_API.G_MISS_CHAR, attribute1, p_attribute1),
3122: attribute2 = decode(p_attribute2, FND_API.G_MISS_CHAR, attribute2, p_attribute2),
3123: attribute3 = decode(p_attribute3, FND_API.G_MISS_CHAR, attribute3, p_attribute3),
3124: attribute4 = decode(p_attribute4, FND_API.G_MISS_CHAR, attribute4, p_attribute4),
3125: attribute5 = decode(p_attribute5, FND_API.G_MISS_CHAR, attribute5, p_attribute5),
3126: attribute6 = decode(p_attribute6, FND_API.G_MISS_CHAR, attribute6, p_attribute6),
3127: attribute7 = decode(p_attribute7, FND_API.G_MISS_CHAR, attribute7, p_attribute7),
3128: attribute8 = decode(p_attribute8, FND_API.G_MISS_CHAR, attribute8, p_attribute8),

Line 3125: attribute5 = decode(p_attribute5, FND_API.G_MISS_CHAR, attribute5, p_attribute5),

3121: attribute1 = decode(p_attribute1, FND_API.G_MISS_CHAR, attribute1, p_attribute1),
3122: attribute2 = decode(p_attribute2, FND_API.G_MISS_CHAR, attribute2, p_attribute2),
3123: attribute3 = decode(p_attribute3, FND_API.G_MISS_CHAR, attribute3, p_attribute3),
3124: attribute4 = decode(p_attribute4, FND_API.G_MISS_CHAR, attribute4, p_attribute4),
3125: attribute5 = decode(p_attribute5, FND_API.G_MISS_CHAR, attribute5, p_attribute5),
3126: attribute6 = decode(p_attribute6, FND_API.G_MISS_CHAR, attribute6, p_attribute6),
3127: attribute7 = decode(p_attribute7, FND_API.G_MISS_CHAR, attribute7, p_attribute7),
3128: attribute8 = decode(p_attribute8, FND_API.G_MISS_CHAR, attribute8, p_attribute8),
3129: attribute9 = decode(p_attribute9, FND_API.G_MISS_CHAR, attribute9, p_attribute9),

Line 3126: attribute6 = decode(p_attribute6, FND_API.G_MISS_CHAR, attribute6, p_attribute6),

3122: attribute2 = decode(p_attribute2, FND_API.G_MISS_CHAR, attribute2, p_attribute2),
3123: attribute3 = decode(p_attribute3, FND_API.G_MISS_CHAR, attribute3, p_attribute3),
3124: attribute4 = decode(p_attribute4, FND_API.G_MISS_CHAR, attribute4, p_attribute4),
3125: attribute5 = decode(p_attribute5, FND_API.G_MISS_CHAR, attribute5, p_attribute5),
3126: attribute6 = decode(p_attribute6, FND_API.G_MISS_CHAR, attribute6, p_attribute6),
3127: attribute7 = decode(p_attribute7, FND_API.G_MISS_CHAR, attribute7, p_attribute7),
3128: attribute8 = decode(p_attribute8, FND_API.G_MISS_CHAR, attribute8, p_attribute8),
3129: attribute9 = decode(p_attribute9, FND_API.G_MISS_CHAR, attribute9, p_attribute9),
3130: attribute10 = decode(p_attribute10, FND_API.G_MISS_CHAR, attribute10, p_attribute10),

Line 3127: attribute7 = decode(p_attribute7, FND_API.G_MISS_CHAR, attribute7, p_attribute7),

3123: attribute3 = decode(p_attribute3, FND_API.G_MISS_CHAR, attribute3, p_attribute3),
3124: attribute4 = decode(p_attribute4, FND_API.G_MISS_CHAR, attribute4, p_attribute4),
3125: attribute5 = decode(p_attribute5, FND_API.G_MISS_CHAR, attribute5, p_attribute5),
3126: attribute6 = decode(p_attribute6, FND_API.G_MISS_CHAR, attribute6, p_attribute6),
3127: attribute7 = decode(p_attribute7, FND_API.G_MISS_CHAR, attribute7, p_attribute7),
3128: attribute8 = decode(p_attribute8, FND_API.G_MISS_CHAR, attribute8, p_attribute8),
3129: attribute9 = decode(p_attribute9, FND_API.G_MISS_CHAR, attribute9, p_attribute9),
3130: attribute10 = decode(p_attribute10, FND_API.G_MISS_CHAR, attribute10, p_attribute10),
3131: context = decode(p_context, FND_API.G_MISS_CHAR, context, p_context),

Line 3128: attribute8 = decode(p_attribute8, FND_API.G_MISS_CHAR, attribute8, p_attribute8),

3124: attribute4 = decode(p_attribute4, FND_API.G_MISS_CHAR, attribute4, p_attribute4),
3125: attribute5 = decode(p_attribute5, FND_API.G_MISS_CHAR, attribute5, p_attribute5),
3126: attribute6 = decode(p_attribute6, FND_API.G_MISS_CHAR, attribute6, p_attribute6),
3127: attribute7 = decode(p_attribute7, FND_API.G_MISS_CHAR, attribute7, p_attribute7),
3128: attribute8 = decode(p_attribute8, FND_API.G_MISS_CHAR, attribute8, p_attribute8),
3129: attribute9 = decode(p_attribute9, FND_API.G_MISS_CHAR, attribute9, p_attribute9),
3130: attribute10 = decode(p_attribute10, FND_API.G_MISS_CHAR, attribute10, p_attribute10),
3131: context = decode(p_context, FND_API.G_MISS_CHAR, context, p_context),
3132: create_non_pos_line_items = decode(p_create_non_pos_line_items, FND_API.G_MISS_CHAR, create_non_pos_line_items, p_create_non_pos_line_items),

Line 3129: attribute9 = decode(p_attribute9, FND_API.G_MISS_CHAR, attribute9, p_attribute9),

3125: attribute5 = decode(p_attribute5, FND_API.G_MISS_CHAR, attribute5, p_attribute5),
3126: attribute6 = decode(p_attribute6, FND_API.G_MISS_CHAR, attribute6, p_attribute6),
3127: attribute7 = decode(p_attribute7, FND_API.G_MISS_CHAR, attribute7, p_attribute7),
3128: attribute8 = decode(p_attribute8, FND_API.G_MISS_CHAR, attribute8, p_attribute8),
3129: attribute9 = decode(p_attribute9, FND_API.G_MISS_CHAR, attribute9, p_attribute9),
3130: attribute10 = decode(p_attribute10, FND_API.G_MISS_CHAR, attribute10, p_attribute10),
3131: context = decode(p_context, FND_API.G_MISS_CHAR, context, p_context),
3132: create_non_pos_line_items = decode(p_create_non_pos_line_items, FND_API.G_MISS_CHAR, create_non_pos_line_items, p_create_non_pos_line_items),
3133: apply_element_parameters = decode(p_apply_element_parameters, FND_API.G_MISS_CHAR, apply_element_parameters, p_apply_element_parameters),

Line 3130: attribute10 = decode(p_attribute10, FND_API.G_MISS_CHAR, attribute10, p_attribute10),

3126: attribute6 = decode(p_attribute6, FND_API.G_MISS_CHAR, attribute6, p_attribute6),
3127: attribute7 = decode(p_attribute7, FND_API.G_MISS_CHAR, attribute7, p_attribute7),
3128: attribute8 = decode(p_attribute8, FND_API.G_MISS_CHAR, attribute8, p_attribute8),
3129: attribute9 = decode(p_attribute9, FND_API.G_MISS_CHAR, attribute9, p_attribute9),
3130: attribute10 = decode(p_attribute10, FND_API.G_MISS_CHAR, attribute10, p_attribute10),
3131: context = decode(p_context, FND_API.G_MISS_CHAR, context, p_context),
3132: create_non_pos_line_items = decode(p_create_non_pos_line_items, FND_API.G_MISS_CHAR, create_non_pos_line_items, p_create_non_pos_line_items),
3133: apply_element_parameters = decode(p_apply_element_parameters, FND_API.G_MISS_CHAR, apply_element_parameters, p_apply_element_parameters),
3134: apply_position_parameters = decode(p_apply_position_parameters, FND_API.G_MISS_CHAR, apply_position_parameters, p_apply_position_parameters),

Line 3131: context = decode(p_context, FND_API.G_MISS_CHAR, context, p_context),

3127: attribute7 = decode(p_attribute7, FND_API.G_MISS_CHAR, attribute7, p_attribute7),
3128: attribute8 = decode(p_attribute8, FND_API.G_MISS_CHAR, attribute8, p_attribute8),
3129: attribute9 = decode(p_attribute9, FND_API.G_MISS_CHAR, attribute9, p_attribute9),
3130: attribute10 = decode(p_attribute10, FND_API.G_MISS_CHAR, attribute10, p_attribute10),
3131: context = decode(p_context, FND_API.G_MISS_CHAR, context, p_context),
3132: create_non_pos_line_items = decode(p_create_non_pos_line_items, FND_API.G_MISS_CHAR, create_non_pos_line_items, p_create_non_pos_line_items),
3133: apply_element_parameters = decode(p_apply_element_parameters, FND_API.G_MISS_CHAR, apply_element_parameters, p_apply_element_parameters),
3134: apply_position_parameters = decode(p_apply_position_parameters, FND_API.G_MISS_CHAR, apply_position_parameters, p_apply_position_parameters),
3135: create_positions = decode(p_create_positions, FND_API.G_MISS_CHAR, create_positions, p_create_positions),

Line 3132: create_non_pos_line_items = decode(p_create_non_pos_line_items, FND_API.G_MISS_CHAR, create_non_pos_line_items, p_create_non_pos_line_items),

3128: attribute8 = decode(p_attribute8, FND_API.G_MISS_CHAR, attribute8, p_attribute8),
3129: attribute9 = decode(p_attribute9, FND_API.G_MISS_CHAR, attribute9, p_attribute9),
3130: attribute10 = decode(p_attribute10, FND_API.G_MISS_CHAR, attribute10, p_attribute10),
3131: context = decode(p_context, FND_API.G_MISS_CHAR, context, p_context),
3132: create_non_pos_line_items = decode(p_create_non_pos_line_items, FND_API.G_MISS_CHAR, create_non_pos_line_items, p_create_non_pos_line_items),
3133: apply_element_parameters = decode(p_apply_element_parameters, FND_API.G_MISS_CHAR, apply_element_parameters, p_apply_element_parameters),
3134: apply_position_parameters = decode(p_apply_position_parameters, FND_API.G_MISS_CHAR, apply_position_parameters, p_apply_position_parameters),
3135: create_positions = decode(p_create_positions, FND_API.G_MISS_CHAR, create_positions, p_create_positions),
3136: create_summary_totals = decode(p_create_summary_totals, FND_API.G_MISS_CHAR, create_summary_totals, p_create_summary_totals),

Line 3133: apply_element_parameters = decode(p_apply_element_parameters, FND_API.G_MISS_CHAR, apply_element_parameters, p_apply_element_parameters),

3129: attribute9 = decode(p_attribute9, FND_API.G_MISS_CHAR, attribute9, p_attribute9),
3130: attribute10 = decode(p_attribute10, FND_API.G_MISS_CHAR, attribute10, p_attribute10),
3131: context = decode(p_context, FND_API.G_MISS_CHAR, context, p_context),
3132: create_non_pos_line_items = decode(p_create_non_pos_line_items, FND_API.G_MISS_CHAR, create_non_pos_line_items, p_create_non_pos_line_items),
3133: apply_element_parameters = decode(p_apply_element_parameters, FND_API.G_MISS_CHAR, apply_element_parameters, p_apply_element_parameters),
3134: apply_position_parameters = decode(p_apply_position_parameters, FND_API.G_MISS_CHAR, apply_position_parameters, p_apply_position_parameters),
3135: create_positions = decode(p_create_positions, FND_API.G_MISS_CHAR, create_positions, p_create_positions),
3136: create_summary_totals = decode(p_create_summary_totals, FND_API.G_MISS_CHAR, create_summary_totals, p_create_summary_totals),
3137: apply_constraints = decode(p_apply_constraints, FND_API.G_MISS_CHAR, apply_constraints, p_apply_constraints),

Line 3134: apply_position_parameters = decode(p_apply_position_parameters, FND_API.G_MISS_CHAR, apply_position_parameters, p_apply_position_parameters),

3130: attribute10 = decode(p_attribute10, FND_API.G_MISS_CHAR, attribute10, p_attribute10),
3131: context = decode(p_context, FND_API.G_MISS_CHAR, context, p_context),
3132: create_non_pos_line_items = decode(p_create_non_pos_line_items, FND_API.G_MISS_CHAR, create_non_pos_line_items, p_create_non_pos_line_items),
3133: apply_element_parameters = decode(p_apply_element_parameters, FND_API.G_MISS_CHAR, apply_element_parameters, p_apply_element_parameters),
3134: apply_position_parameters = decode(p_apply_position_parameters, FND_API.G_MISS_CHAR, apply_position_parameters, p_apply_position_parameters),
3135: create_positions = decode(p_create_positions, FND_API.G_MISS_CHAR, create_positions, p_create_positions),
3136: create_summary_totals = decode(p_create_summary_totals, FND_API.G_MISS_CHAR, create_summary_totals, p_create_summary_totals),
3137: apply_constraints = decode(p_apply_constraints, FND_API.G_MISS_CHAR, apply_constraints, p_apply_constraints),
3138: include_gl_commit_balance = decode(p_include_gl_commit_balance, FND_API.G_MISS_CHAR, include_gl_commit_balance, p_include_gl_commit_balance),

Line 3135: create_positions = decode(p_create_positions, FND_API.G_MISS_CHAR, create_positions, p_create_positions),

3131: context = decode(p_context, FND_API.G_MISS_CHAR, context, p_context),
3132: create_non_pos_line_items = decode(p_create_non_pos_line_items, FND_API.G_MISS_CHAR, create_non_pos_line_items, p_create_non_pos_line_items),
3133: apply_element_parameters = decode(p_apply_element_parameters, FND_API.G_MISS_CHAR, apply_element_parameters, p_apply_element_parameters),
3134: apply_position_parameters = decode(p_apply_position_parameters, FND_API.G_MISS_CHAR, apply_position_parameters, p_apply_position_parameters),
3135: create_positions = decode(p_create_positions, FND_API.G_MISS_CHAR, create_positions, p_create_positions),
3136: create_summary_totals = decode(p_create_summary_totals, FND_API.G_MISS_CHAR, create_summary_totals, p_create_summary_totals),
3137: apply_constraints = decode(p_apply_constraints, FND_API.G_MISS_CHAR, apply_constraints, p_apply_constraints),
3138: include_gl_commit_balance = decode(p_include_gl_commit_balance, FND_API.G_MISS_CHAR, include_gl_commit_balance, p_include_gl_commit_balance),
3139: include_gl_oblig_balance = decode(p_include_gl_oblig_balance, FND_API.G_MISS_CHAR, include_gl_oblig_balance, p_include_gl_oblig_balance),

Line 3136: create_summary_totals = decode(p_create_summary_totals, FND_API.G_MISS_CHAR, create_summary_totals, p_create_summary_totals),

3132: create_non_pos_line_items = decode(p_create_non_pos_line_items, FND_API.G_MISS_CHAR, create_non_pos_line_items, p_create_non_pos_line_items),
3133: apply_element_parameters = decode(p_apply_element_parameters, FND_API.G_MISS_CHAR, apply_element_parameters, p_apply_element_parameters),
3134: apply_position_parameters = decode(p_apply_position_parameters, FND_API.G_MISS_CHAR, apply_position_parameters, p_apply_position_parameters),
3135: create_positions = decode(p_create_positions, FND_API.G_MISS_CHAR, create_positions, p_create_positions),
3136: create_summary_totals = decode(p_create_summary_totals, FND_API.G_MISS_CHAR, create_summary_totals, p_create_summary_totals),
3137: apply_constraints = decode(p_apply_constraints, FND_API.G_MISS_CHAR, apply_constraints, p_apply_constraints),
3138: include_gl_commit_balance = decode(p_include_gl_commit_balance, FND_API.G_MISS_CHAR, include_gl_commit_balance, p_include_gl_commit_balance),
3139: include_gl_oblig_balance = decode(p_include_gl_oblig_balance, FND_API.G_MISS_CHAR, include_gl_oblig_balance, p_include_gl_oblig_balance),
3140: include_gl_other_balance = decode(p_include_gl_other_balance, FND_API.G_MISS_CHAR, include_gl_other_balance, p_include_gl_other_balance),

Line 3137: apply_constraints = decode(p_apply_constraints, FND_API.G_MISS_CHAR, apply_constraints, p_apply_constraints),

3133: apply_element_parameters = decode(p_apply_element_parameters, FND_API.G_MISS_CHAR, apply_element_parameters, p_apply_element_parameters),
3134: apply_position_parameters = decode(p_apply_position_parameters, FND_API.G_MISS_CHAR, apply_position_parameters, p_apply_position_parameters),
3135: create_positions = decode(p_create_positions, FND_API.G_MISS_CHAR, create_positions, p_create_positions),
3136: create_summary_totals = decode(p_create_summary_totals, FND_API.G_MISS_CHAR, create_summary_totals, p_create_summary_totals),
3137: apply_constraints = decode(p_apply_constraints, FND_API.G_MISS_CHAR, apply_constraints, p_apply_constraints),
3138: include_gl_commit_balance = decode(p_include_gl_commit_balance, FND_API.G_MISS_CHAR, include_gl_commit_balance, p_include_gl_commit_balance),
3139: include_gl_oblig_balance = decode(p_include_gl_oblig_balance, FND_API.G_MISS_CHAR, include_gl_oblig_balance, p_include_gl_oblig_balance),
3140: include_gl_other_balance = decode(p_include_gl_other_balance, FND_API.G_MISS_CHAR, include_gl_other_balance, p_include_gl_other_balance),
3141: include_cbc_commit_balance = decode(p_include_cbc_commit_balance, FND_API.G_MISS_CHAR, include_cbc_commit_balance, p_include_cbc_commit_balance),

Line 3138: include_gl_commit_balance = decode(p_include_gl_commit_balance, FND_API.G_MISS_CHAR, include_gl_commit_balance, p_include_gl_commit_balance),

3134: apply_position_parameters = decode(p_apply_position_parameters, FND_API.G_MISS_CHAR, apply_position_parameters, p_apply_position_parameters),
3135: create_positions = decode(p_create_positions, FND_API.G_MISS_CHAR, create_positions, p_create_positions),
3136: create_summary_totals = decode(p_create_summary_totals, FND_API.G_MISS_CHAR, create_summary_totals, p_create_summary_totals),
3137: apply_constraints = decode(p_apply_constraints, FND_API.G_MISS_CHAR, apply_constraints, p_apply_constraints),
3138: include_gl_commit_balance = decode(p_include_gl_commit_balance, FND_API.G_MISS_CHAR, include_gl_commit_balance, p_include_gl_commit_balance),
3139: include_gl_oblig_balance = decode(p_include_gl_oblig_balance, FND_API.G_MISS_CHAR, include_gl_oblig_balance, p_include_gl_oblig_balance),
3140: include_gl_other_balance = decode(p_include_gl_other_balance, FND_API.G_MISS_CHAR, include_gl_other_balance, p_include_gl_other_balance),
3141: include_cbc_commit_balance = decode(p_include_cbc_commit_balance, FND_API.G_MISS_CHAR, include_cbc_commit_balance, p_include_cbc_commit_balance),
3142: include_cbc_oblig_balance = decode(p_include_cbc_oblig_balance, FND_API.G_MISS_CHAR, include_cbc_oblig_balance, p_include_cbc_oblig_balance),

Line 3139: include_gl_oblig_balance = decode(p_include_gl_oblig_balance, FND_API.G_MISS_CHAR, include_gl_oblig_balance, p_include_gl_oblig_balance),

3135: create_positions = decode(p_create_positions, FND_API.G_MISS_CHAR, create_positions, p_create_positions),
3136: create_summary_totals = decode(p_create_summary_totals, FND_API.G_MISS_CHAR, create_summary_totals, p_create_summary_totals),
3137: apply_constraints = decode(p_apply_constraints, FND_API.G_MISS_CHAR, apply_constraints, p_apply_constraints),
3138: include_gl_commit_balance = decode(p_include_gl_commit_balance, FND_API.G_MISS_CHAR, include_gl_commit_balance, p_include_gl_commit_balance),
3139: include_gl_oblig_balance = decode(p_include_gl_oblig_balance, FND_API.G_MISS_CHAR, include_gl_oblig_balance, p_include_gl_oblig_balance),
3140: include_gl_other_balance = decode(p_include_gl_other_balance, FND_API.G_MISS_CHAR, include_gl_other_balance, p_include_gl_other_balance),
3141: include_cbc_commit_balance = decode(p_include_cbc_commit_balance, FND_API.G_MISS_CHAR, include_cbc_commit_balance, p_include_cbc_commit_balance),
3142: include_cbc_oblig_balance = decode(p_include_cbc_oblig_balance, FND_API.G_MISS_CHAR, include_cbc_oblig_balance, p_include_cbc_oblig_balance),
3143: include_cbc_budget_balance = decode(p_include_cbc_budget_balance, FND_API.G_MISS_CHAR, include_cbc_budget_balance, p_include_cbc_budget_balance),

Line 3140: include_gl_other_balance = decode(p_include_gl_other_balance, FND_API.G_MISS_CHAR, include_gl_other_balance, p_include_gl_other_balance),

3136: create_summary_totals = decode(p_create_summary_totals, FND_API.G_MISS_CHAR, create_summary_totals, p_create_summary_totals),
3137: apply_constraints = decode(p_apply_constraints, FND_API.G_MISS_CHAR, apply_constraints, p_apply_constraints),
3138: include_gl_commit_balance = decode(p_include_gl_commit_balance, FND_API.G_MISS_CHAR, include_gl_commit_balance, p_include_gl_commit_balance),
3139: include_gl_oblig_balance = decode(p_include_gl_oblig_balance, FND_API.G_MISS_CHAR, include_gl_oblig_balance, p_include_gl_oblig_balance),
3140: include_gl_other_balance = decode(p_include_gl_other_balance, FND_API.G_MISS_CHAR, include_gl_other_balance, p_include_gl_other_balance),
3141: include_cbc_commit_balance = decode(p_include_cbc_commit_balance, FND_API.G_MISS_CHAR, include_cbc_commit_balance, p_include_cbc_commit_balance),
3142: include_cbc_oblig_balance = decode(p_include_cbc_oblig_balance, FND_API.G_MISS_CHAR, include_cbc_oblig_balance, p_include_cbc_oblig_balance),
3143: include_cbc_budget_balance = decode(p_include_cbc_budget_balance, FND_API.G_MISS_CHAR, include_cbc_budget_balance, p_include_cbc_budget_balance),
3144: /* For Bug No. 2312657 : Start */

Line 3141: include_cbc_commit_balance = decode(p_include_cbc_commit_balance, FND_API.G_MISS_CHAR, include_cbc_commit_balance, p_include_cbc_commit_balance),

3137: apply_constraints = decode(p_apply_constraints, FND_API.G_MISS_CHAR, apply_constraints, p_apply_constraints),
3138: include_gl_commit_balance = decode(p_include_gl_commit_balance, FND_API.G_MISS_CHAR, include_gl_commit_balance, p_include_gl_commit_balance),
3139: include_gl_oblig_balance = decode(p_include_gl_oblig_balance, FND_API.G_MISS_CHAR, include_gl_oblig_balance, p_include_gl_oblig_balance),
3140: include_gl_other_balance = decode(p_include_gl_other_balance, FND_API.G_MISS_CHAR, include_gl_other_balance, p_include_gl_other_balance),
3141: include_cbc_commit_balance = decode(p_include_cbc_commit_balance, FND_API.G_MISS_CHAR, include_cbc_commit_balance, p_include_cbc_commit_balance),
3142: include_cbc_oblig_balance = decode(p_include_cbc_oblig_balance, FND_API.G_MISS_CHAR, include_cbc_oblig_balance, p_include_cbc_oblig_balance),
3143: include_cbc_budget_balance = decode(p_include_cbc_budget_balance, FND_API.G_MISS_CHAR, include_cbc_budget_balance, p_include_cbc_budget_balance),
3144: /* For Bug No. 2312657 : Start */
3145: gl_cutoff_period = decode(p_gl_cutoff_period, NULL, gl_cutoff_period, p_gl_cutoff_period),

Line 3142: include_cbc_oblig_balance = decode(p_include_cbc_oblig_balance, FND_API.G_MISS_CHAR, include_cbc_oblig_balance, p_include_cbc_oblig_balance),

3138: include_gl_commit_balance = decode(p_include_gl_commit_balance, FND_API.G_MISS_CHAR, include_gl_commit_balance, p_include_gl_commit_balance),
3139: include_gl_oblig_balance = decode(p_include_gl_oblig_balance, FND_API.G_MISS_CHAR, include_gl_oblig_balance, p_include_gl_oblig_balance),
3140: include_gl_other_balance = decode(p_include_gl_other_balance, FND_API.G_MISS_CHAR, include_gl_other_balance, p_include_gl_other_balance),
3141: include_cbc_commit_balance = decode(p_include_cbc_commit_balance, FND_API.G_MISS_CHAR, include_cbc_commit_balance, p_include_cbc_commit_balance),
3142: include_cbc_oblig_balance = decode(p_include_cbc_oblig_balance, FND_API.G_MISS_CHAR, include_cbc_oblig_balance, p_include_cbc_oblig_balance),
3143: include_cbc_budget_balance = decode(p_include_cbc_budget_balance, FND_API.G_MISS_CHAR, include_cbc_budget_balance, p_include_cbc_budget_balance),
3144: /* For Bug No. 2312657 : Start */
3145: gl_cutoff_period = decode(p_gl_cutoff_period, NULL, gl_cutoff_period, p_gl_cutoff_period),
3146: gl_budget_set_id = decode(p_gl_budget_set_id, NULL, gl_budget_set_id, p_gl_budget_set_id),

Line 3143: include_cbc_budget_balance = decode(p_include_cbc_budget_balance, FND_API.G_MISS_CHAR, include_cbc_budget_balance, p_include_cbc_budget_balance),

3139: include_gl_oblig_balance = decode(p_include_gl_oblig_balance, FND_API.G_MISS_CHAR, include_gl_oblig_balance, p_include_gl_oblig_balance),
3140: include_gl_other_balance = decode(p_include_gl_other_balance, FND_API.G_MISS_CHAR, include_gl_other_balance, p_include_gl_other_balance),
3141: include_cbc_commit_balance = decode(p_include_cbc_commit_balance, FND_API.G_MISS_CHAR, include_cbc_commit_balance, p_include_cbc_commit_balance),
3142: include_cbc_oblig_balance = decode(p_include_cbc_oblig_balance, FND_API.G_MISS_CHAR, include_cbc_oblig_balance, p_include_cbc_oblig_balance),
3143: include_cbc_budget_balance = decode(p_include_cbc_budget_balance, FND_API.G_MISS_CHAR, include_cbc_budget_balance, p_include_cbc_budget_balance),
3144: /* For Bug No. 2312657 : Start */
3145: gl_cutoff_period = decode(p_gl_cutoff_period, NULL, gl_cutoff_period, p_gl_cutoff_period),
3146: gl_budget_set_id = decode(p_gl_budget_set_id, NULL, gl_budget_set_id, p_gl_budget_set_id),
3147: /* For Bug No. 2312657 : End */

Line 3149: federal_Ws_flag = decode(p_federal_ws_flag,FND_API.G_MISS_CHAR,federal_Ws_flag,p_federal_ws_flag),

3145: gl_cutoff_period = decode(p_gl_cutoff_period, NULL, gl_cutoff_period, p_gl_cutoff_period),
3146: gl_budget_set_id = decode(p_gl_budget_set_id, NULL, gl_budget_set_id, p_gl_budget_set_id),
3147: /* For Bug No. 2312657 : End */
3148: /* For Bug 3157960, added the federal ws flag */
3149: federal_Ws_flag = decode(p_federal_ws_flag,FND_API.G_MISS_CHAR,federal_Ws_flag,p_federal_ws_flag),
3150: /* bug no 4725091 */
3151: include_gl_forward_balance = decode(p_include_gl_forwd_balance, FND_API.G_MISS_CHAR, include_gl_forward_balance, p_include_gl_forwd_balance)
3152: where worksheet_id = p_worksheet_id;
3153:

Line 3151: include_gl_forward_balance = decode(p_include_gl_forwd_balance, FND_API.G_MISS_CHAR, include_gl_forward_balance, p_include_gl_forwd_balance)

3147: /* For Bug No. 2312657 : End */
3148: /* For Bug 3157960, added the federal ws flag */
3149: federal_Ws_flag = decode(p_federal_ws_flag,FND_API.G_MISS_CHAR,federal_Ws_flag,p_federal_ws_flag),
3150: /* bug no 4725091 */
3151: include_gl_forward_balance = decode(p_include_gl_forwd_balance, FND_API.G_MISS_CHAR, include_gl_forward_balance, p_include_gl_forwd_balance)
3152: where worksheet_id = p_worksheet_id;
3153:
3154: /* BUG 3239307 Start */
3155: if (NVL(p_gl_cutoff_period, to_date('31-12-4712', 'dd-mm-yyyy')) <>

Line 3166: p_return_status := FND_API.G_RET_STS_SUCCESS;

3162: /* BUG 3239307 End */
3163:
3164: -- Initialize API return status to success
3165:
3166: p_return_status := FND_API.G_RET_STS_SUCCESS;
3167:
3168:
3169: EXCEPTION
3170:

Line 3171: when FND_API.G_EXC_ERROR then

3167:
3168:
3169: EXCEPTION
3170:
3171: when FND_API.G_EXC_ERROR then
3172: p_return_status := FND_API.G_RET_STS_ERROR;
3173:
3174: when FND_API.G_EXC_UNEXPECTED_ERROR then
3175: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 3172: p_return_status := FND_API.G_RET_STS_ERROR;

3168:
3169: EXCEPTION
3170:
3171: when FND_API.G_EXC_ERROR then
3172: p_return_status := FND_API.G_RET_STS_ERROR;
3173:
3174: when FND_API.G_EXC_UNEXPECTED_ERROR then
3175: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3176:

Line 3174: when FND_API.G_EXC_UNEXPECTED_ERROR then

3170:
3171: when FND_API.G_EXC_ERROR then
3172: p_return_status := FND_API.G_RET_STS_ERROR;
3173:
3174: when FND_API.G_EXC_UNEXPECTED_ERROR then
3175: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3176:
3177: when OTHERS then
3178: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 3175: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

3171: when FND_API.G_EXC_ERROR then
3172: p_return_status := FND_API.G_RET_STS_ERROR;
3173:
3174: when FND_API.G_EXC_UNEXPECTED_ERROR then
3175: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3176:
3177: when OTHERS then
3178: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3179:

Line 3178: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

3174: when FND_API.G_EXC_UNEXPECTED_ERROR then
3175: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3176:
3177: when OTHERS then
3178: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3179:
3180: if FND_MSG_PUB.Check_Msg_Level
3181: (p_message_level => FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3182: then

Line 3194: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,

3190: /* ----------------------------------------------------------------------- */
3191:
3192: PROCEDURE Delete_Worksheet
3193: ( p_api_version IN NUMBER,
3194: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,
3195: p_return_status OUT NOCOPY VARCHAR2,
3196: p_worksheet_id IN NUMBER
3197: ) IS
3198:

Line 3206: if not FND_API.Compatible_API_Call (l_api_version,

3202: BEGIN
3203:
3204: -- Standard call to check for call compatibility.
3205:
3206: if not FND_API.Compatible_API_Call (l_api_version,
3207: p_api_version,
3208: l_api_name,
3209: G_PKG_NAME)
3210: then

Line 3211: raise FND_API.G_EXC_UNEXPECTED_ERROR;

3207: p_api_version,
3208: l_api_name,
3209: G_PKG_NAME)
3210: then
3211: raise FND_API.G_EXC_UNEXPECTED_ERROR;
3212: end if;
3213:
3214: delete from PSB_WORKSHEETS
3215: where worksheet_id = p_worksheet_id;

Line 3220: p_return_status := FND_API.G_RET_STS_SUCCESS;

3216:
3217:
3218: -- Initialize API return status to success
3219:
3220: p_return_status := FND_API.G_RET_STS_SUCCESS;
3221:
3222:
3223: EXCEPTION
3224:

Line 3225: when FND_API.G_EXC_ERROR then

3221:
3222:
3223: EXCEPTION
3224:
3225: when FND_API.G_EXC_ERROR then
3226: p_return_status := FND_API.G_RET_STS_ERROR;
3227:
3228: when FND_API.G_EXC_UNEXPECTED_ERROR then
3229: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 3226: p_return_status := FND_API.G_RET_STS_ERROR;

3222:
3223: EXCEPTION
3224:
3225: when FND_API.G_EXC_ERROR then
3226: p_return_status := FND_API.G_RET_STS_ERROR;
3227:
3228: when FND_API.G_EXC_UNEXPECTED_ERROR then
3229: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3230:

Line 3228: when FND_API.G_EXC_UNEXPECTED_ERROR then

3224:
3225: when FND_API.G_EXC_ERROR then
3226: p_return_status := FND_API.G_RET_STS_ERROR;
3227:
3228: when FND_API.G_EXC_UNEXPECTED_ERROR then
3229: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3230:
3231: when OTHERS then
3232: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 3229: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

3225: when FND_API.G_EXC_ERROR then
3226: p_return_status := FND_API.G_RET_STS_ERROR;
3227:
3228: when FND_API.G_EXC_UNEXPECTED_ERROR then
3229: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3230:
3231: when OTHERS then
3232: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3233:

Line 3232: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

3228: when FND_API.G_EXC_UNEXPECTED_ERROR then
3229: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3230:
3231: when OTHERS then
3232: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3233:
3234: if FND_MSG_PUB.Check_Msg_Level
3235: (p_message_level => FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3236: then

Line 3248: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,

3244: /* ----------------------------------------------------------------------- */
3245:
3246: PROCEDURE Delete_WAL
3247: ( p_api_version IN NUMBER,
3248: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,
3249: p_return_status OUT NOCOPY VARCHAR2,
3250: p_account_line_id IN NUMBER
3251: ) IS
3252:

Line 3260: if not FND_API.Compatible_API_Call (l_api_version,

3256: BEGIN
3257:
3258: -- Standard call to check for call compatibility.
3259:
3260: if not FND_API.Compatible_API_Call (l_api_version,
3261: p_api_version,
3262: l_api_name,
3263: G_PKG_NAME)
3264: then

Line 3265: raise FND_API.G_EXC_UNEXPECTED_ERROR;

3261: p_api_version,
3262: l_api_name,
3263: G_PKG_NAME)
3264: then
3265: raise FND_API.G_EXC_UNEXPECTED_ERROR;
3266: end if;
3267:
3268: delete from PSB_WS_ACCOUNT_LINES
3269: where account_line_id = p_account_line_id;

Line 3287: p_return_status := FND_API.G_RET_STS_SUCCESS;

3283:
3284:
3285: -- Initialize API return status to success
3286:
3287: p_return_status := FND_API.G_RET_STS_SUCCESS;
3288:
3289:
3290: EXCEPTION
3291:

Line 3292: when FND_API.G_EXC_ERROR then

3288:
3289:
3290: EXCEPTION
3291:
3292: when FND_API.G_EXC_ERROR then
3293: p_return_status := FND_API.G_RET_STS_ERROR;
3294:
3295: when FND_API.G_EXC_UNEXPECTED_ERROR then
3296: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 3293: p_return_status := FND_API.G_RET_STS_ERROR;

3289:
3290: EXCEPTION
3291:
3292: when FND_API.G_EXC_ERROR then
3293: p_return_status := FND_API.G_RET_STS_ERROR;
3294:
3295: when FND_API.G_EXC_UNEXPECTED_ERROR then
3296: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3297:

Line 3295: when FND_API.G_EXC_UNEXPECTED_ERROR then

3291:
3292: when FND_API.G_EXC_ERROR then
3293: p_return_status := FND_API.G_RET_STS_ERROR;
3294:
3295: when FND_API.G_EXC_UNEXPECTED_ERROR then
3296: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3297:
3298: when OTHERS then
3299: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 3296: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

3292: when FND_API.G_EXC_ERROR then
3293: p_return_status := FND_API.G_RET_STS_ERROR;
3294:
3295: when FND_API.G_EXC_UNEXPECTED_ERROR then
3296: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3297:
3298: when OTHERS then
3299: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3300:

Line 3299: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

3295: when FND_API.G_EXC_UNEXPECTED_ERROR then
3296: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3297:
3298: when OTHERS then
3299: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3300:
3301: if FND_MSG_PUB.Check_Msg_Level
3302: (p_message_level => FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3303: then

Line 3315: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,

3311: /* ----------------------------------------------------------------------- */
3312:
3313: PROCEDURE Delete_WPL
3314: ( p_api_version IN NUMBER,
3315: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,
3316: p_return_status OUT NOCOPY VARCHAR2,
3317: p_worksheet_id IN NUMBER,
3318: p_position_line_id IN NUMBER
3319: ) IS

Line 3328: if not FND_API.Compatible_API_Call (l_api_version,

3324: BEGIN
3325:
3326: -- Standard call to check for call compatibility.
3327:
3328: if not FND_API.Compatible_API_Call (l_api_version,
3329: p_api_version,
3330: l_api_name,
3331: G_PKG_NAME)
3332: then

Line 3333: raise FND_API.G_EXC_UNEXPECTED_ERROR;

3329: p_api_version,
3330: l_api_name,
3331: G_PKG_NAME)
3332: then
3333: raise FND_API.G_EXC_UNEXPECTED_ERROR;
3334: end if;
3335:
3336: delete from PSB_WS_FTE_LINES
3337: where position_line_id = p_position_line_id;

Line 3370: p_return_status := FND_API.G_RET_STS_SUCCESS;

3366: where position_line_id = p_position_line_id;
3367:
3368: -- Initialize API return status to success
3369:
3370: p_return_status := FND_API.G_RET_STS_SUCCESS;
3371:
3372:
3373: EXCEPTION
3374:

Line 3375: when FND_API.G_EXC_ERROR then

3371:
3372:
3373: EXCEPTION
3374:
3375: when FND_API.G_EXC_ERROR then
3376: p_return_status := FND_API.G_RET_STS_ERROR;
3377:
3378: when FND_API.G_EXC_UNEXPECTED_ERROR then
3379: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 3376: p_return_status := FND_API.G_RET_STS_ERROR;

3372:
3373: EXCEPTION
3374:
3375: when FND_API.G_EXC_ERROR then
3376: p_return_status := FND_API.G_RET_STS_ERROR;
3377:
3378: when FND_API.G_EXC_UNEXPECTED_ERROR then
3379: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3380:

Line 3378: when FND_API.G_EXC_UNEXPECTED_ERROR then

3374:
3375: when FND_API.G_EXC_ERROR then
3376: p_return_status := FND_API.G_RET_STS_ERROR;
3377:
3378: when FND_API.G_EXC_UNEXPECTED_ERROR then
3379: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3380:
3381: when OTHERS then
3382: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 3379: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

3375: when FND_API.G_EXC_ERROR then
3376: p_return_status := FND_API.G_RET_STS_ERROR;
3377:
3378: when FND_API.G_EXC_UNEXPECTED_ERROR then
3379: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3380:
3381: when OTHERS then
3382: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3383:

Line 3382: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

3378: when FND_API.G_EXC_UNEXPECTED_ERROR then
3379: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3380:
3381: when OTHERS then
3382: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3383:
3384: if FND_MSG_PUB.Check_Msg_Level
3385: (p_message_level => FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3386: then

Line 3398: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,

3394: /* ----------------------------------------------------------------------- */
3395:
3396: PROCEDURE Delete_WFL
3397: ( p_api_version IN NUMBER,
3398: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,
3399: p_return_status OUT NOCOPY VARCHAR2,
3400: p_fte_line_id IN NUMBER
3401: ) IS
3402:

Line 3410: if not FND_API.Compatible_API_Call (l_api_version,

3406: BEGIN
3407:
3408: -- Standard call to check for call compatibility.
3409:
3410: if not FND_API.Compatible_API_Call (l_api_version,
3411: p_api_version,
3412: l_api_name,
3413: G_PKG_NAME)
3414: then

Line 3415: raise FND_API.G_EXC_UNEXPECTED_ERROR;

3411: p_api_version,
3412: l_api_name,
3413: G_PKG_NAME)
3414: then
3415: raise FND_API.G_EXC_UNEXPECTED_ERROR;
3416: end if;
3417:
3418: delete from PSB_WS_FTE_LINES
3419: where fte_line_id = p_fte_line_id;

Line 3424: p_return_status := FND_API.G_RET_STS_SUCCESS;

3420:
3421:
3422: -- Initialize API return status to success
3423:
3424: p_return_status := FND_API.G_RET_STS_SUCCESS;
3425:
3426:
3427: EXCEPTION
3428:

Line 3429: when FND_API.G_EXC_ERROR then

3425:
3426:
3427: EXCEPTION
3428:
3429: when FND_API.G_EXC_ERROR then
3430: p_return_status := FND_API.G_RET_STS_ERROR;
3431:
3432: when FND_API.G_EXC_UNEXPECTED_ERROR then
3433: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 3430: p_return_status := FND_API.G_RET_STS_ERROR;

3426:
3427: EXCEPTION
3428:
3429: when FND_API.G_EXC_ERROR then
3430: p_return_status := FND_API.G_RET_STS_ERROR;
3431:
3432: when FND_API.G_EXC_UNEXPECTED_ERROR then
3433: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3434:

Line 3432: when FND_API.G_EXC_UNEXPECTED_ERROR then

3428:
3429: when FND_API.G_EXC_ERROR then
3430: p_return_status := FND_API.G_RET_STS_ERROR;
3431:
3432: when FND_API.G_EXC_UNEXPECTED_ERROR then
3433: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3434:
3435: when OTHERS then
3436: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 3433: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

3429: when FND_API.G_EXC_ERROR then
3430: p_return_status := FND_API.G_RET_STS_ERROR;
3431:
3432: when FND_API.G_EXC_UNEXPECTED_ERROR then
3433: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3434:
3435: when OTHERS then
3436: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3437:

Line 3436: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

3432: when FND_API.G_EXC_UNEXPECTED_ERROR then
3433: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3434:
3435: when OTHERS then
3436: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3437:
3438: if FND_MSG_PUB.Check_Msg_Level
3439: (p_message_level => FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3440: then

Line 3452: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,

3448: /* ----------------------------------------------------------------------- */
3449:
3450: PROCEDURE Delete_WEL
3451: ( p_api_version IN NUMBER,
3452: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,
3453: p_return_status OUT NOCOPY VARCHAR2,
3454: p_element_line_id IN NUMBER
3455: ) IS
3456:

Line 3464: if not FND_API.Compatible_API_Call (l_api_version,

3460: BEGIN
3461:
3462: -- Standard call to check for call compatibility.
3463:
3464: if not FND_API.Compatible_API_Call (l_api_version,
3465: p_api_version,
3466: l_api_name,
3467: G_PKG_NAME)
3468: then

Line 3469: raise FND_API.G_EXC_UNEXPECTED_ERROR;

3465: p_api_version,
3466: l_api_name,
3467: G_PKG_NAME)
3468: then
3469: raise FND_API.G_EXC_UNEXPECTED_ERROR;
3470: end if;
3471:
3472: delete from PSB_WS_ELEMENT_LINES
3473: where element_line_id = p_element_line_id;

Line 3478: p_return_status := FND_API.G_RET_STS_SUCCESS;

3474:
3475:
3476: -- Initialize API return status to success
3477:
3478: p_return_status := FND_API.G_RET_STS_SUCCESS;
3479:
3480:
3481: EXCEPTION
3482:

Line 3483: when FND_API.G_EXC_ERROR then

3479:
3480:
3481: EXCEPTION
3482:
3483: when FND_API.G_EXC_ERROR then
3484: p_return_status := FND_API.G_RET_STS_ERROR;
3485:
3486: when FND_API.G_EXC_UNEXPECTED_ERROR then
3487: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 3484: p_return_status := FND_API.G_RET_STS_ERROR;

3480:
3481: EXCEPTION
3482:
3483: when FND_API.G_EXC_ERROR then
3484: p_return_status := FND_API.G_RET_STS_ERROR;
3485:
3486: when FND_API.G_EXC_UNEXPECTED_ERROR then
3487: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3488:

Line 3486: when FND_API.G_EXC_UNEXPECTED_ERROR then

3482:
3483: when FND_API.G_EXC_ERROR then
3484: p_return_status := FND_API.G_RET_STS_ERROR;
3485:
3486: when FND_API.G_EXC_UNEXPECTED_ERROR then
3487: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3488:
3489: when OTHERS then
3490: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 3487: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

3483: when FND_API.G_EXC_ERROR then
3484: p_return_status := FND_API.G_RET_STS_ERROR;
3485:
3486: when FND_API.G_EXC_UNEXPECTED_ERROR then
3487: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3488:
3489: when OTHERS then
3490: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3491:

Line 3490: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

3486: when FND_API.G_EXC_UNEXPECTED_ERROR then
3487: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3488:
3489: when OTHERS then
3490: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3491:
3492: if FND_MSG_PUB.Check_Msg_Level
3493: (p_message_level => FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3494: then

Line 3506: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,

3502: /* ----------------------------------------------------------------------- */
3503:
3504: PROCEDURE Delete_Summary_Lines
3505: ( p_api_version IN NUMBER,
3506: p_validation_level IN NUMBER := FND_API.G_VALID_LEVEL_NONE,
3507: p_return_status OUT NOCOPY VARCHAR2,
3508: p_worksheet_id IN NUMBER
3509: ) IS
3510:

Line 3518: if not FND_API.Compatible_API_Call (l_api_version,

3514: BEGIN
3515:
3516: -- Standard call to check for call compatibility.
3517:
3518: if not FND_API.Compatible_API_Call (l_api_version,
3519: p_api_version,
3520: l_api_name,
3521: G_PKG_NAME)
3522: then

Line 3523: raise FND_API.G_EXC_UNEXPECTED_ERROR;

3519: p_api_version,
3520: l_api_name,
3521: G_PKG_NAME)
3522: then
3523: raise FND_API.G_EXC_UNEXPECTED_ERROR;
3524: end if;
3525:
3526: delete from PSB_WS_ACCOUNT_LINES
3527: where template_id is not null

Line 3543: p_return_status := FND_API.G_RET_STS_SUCCESS;

3539:
3540:
3541: -- Initialize API return status to success
3542:
3543: p_return_status := FND_API.G_RET_STS_SUCCESS;
3544:
3545:
3546: EXCEPTION
3547:

Line 3548: when FND_API.G_EXC_ERROR then

3544:
3545:
3546: EXCEPTION
3547:
3548: when FND_API.G_EXC_ERROR then
3549: p_return_status := FND_API.G_RET_STS_ERROR;
3550:
3551: when FND_API.G_EXC_UNEXPECTED_ERROR then
3552: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 3549: p_return_status := FND_API.G_RET_STS_ERROR;

3545:
3546: EXCEPTION
3547:
3548: when FND_API.G_EXC_ERROR then
3549: p_return_status := FND_API.G_RET_STS_ERROR;
3550:
3551: when FND_API.G_EXC_UNEXPECTED_ERROR then
3552: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3553:

Line 3551: when FND_API.G_EXC_UNEXPECTED_ERROR then

3547:
3548: when FND_API.G_EXC_ERROR then
3549: p_return_status := FND_API.G_RET_STS_ERROR;
3550:
3551: when FND_API.G_EXC_UNEXPECTED_ERROR then
3552: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3553:
3554: when OTHERS then
3555: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 3552: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

3548: when FND_API.G_EXC_ERROR then
3549: p_return_status := FND_API.G_RET_STS_ERROR;
3550:
3551: when FND_API.G_EXC_UNEXPECTED_ERROR then
3552: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3553:
3554: when OTHERS then
3555: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3556:

Line 3555: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

3551: when FND_API.G_EXC_UNEXPECTED_ERROR then
3552: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3553:
3554: when OTHERS then
3555: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3556:
3557: if FND_MSG_PUB.Check_Msg_Level
3558: (p_message_level => FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
3559: then

Line 3584: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

3580: Cache_Worksheet_Variables
3581: (p_worksheet_id => p_worksheet_id,
3582: p_return_status => l_return_status);
3583:
3584: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
3585: raise FND_API.G_EXC_ERROR;
3586: end if;
3587:
3588: PSB_BUDGET_GROUPS_PVT.Check_Budget_Group_Freeze

Line 3585: raise FND_API.G_EXC_ERROR;

3581: (p_worksheet_id => p_worksheet_id,
3582: p_return_status => l_return_status);
3583:
3584: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
3585: raise FND_API.G_EXC_ERROR;
3586: end if;
3587:
3588: PSB_BUDGET_GROUPS_PVT.Check_Budget_Group_Freeze
3589: (p_api_version => 1.0,

Line 3595: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

3591: p_return_status => l_return_status,
3592: p_msg_count => l_msg_count,
3593: p_msg_data => l_msg_data);
3594:
3595: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
3596: message_token('ROOT_BUDGET_GROUP', g_budget_group_name);
3597: add_message('PSB', 'PSB_FREEZE_BG_HIERARCHY');
3598: raise FND_API.G_EXC_ERROR;
3599: end if;

Line 3598: raise FND_API.G_EXC_ERROR;

3594:
3595: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
3596: message_token('ROOT_BUDGET_GROUP', g_budget_group_name);
3597: add_message('PSB', 'PSB_FREEZE_BG_HIERARCHY');
3598: raise FND_API.G_EXC_ERROR;
3599: end if;
3600:
3601: if FND_API.to_Boolean(g_budget_by_position) then
3602: begin

Line 3601: if FND_API.to_Boolean(g_budget_by_position) then

3597: add_message('PSB', 'PSB_FREEZE_BG_HIERARCHY');
3598: raise FND_API.G_EXC_ERROR;
3599: end if;
3600:
3601: if FND_API.to_Boolean(g_budget_by_position) then
3602: begin
3603:
3604: Check_DataExt_Completion
3605: (p_return_status => l_return_status,

Line 3608: if l_return_status <> FND_API.G_RET_STS_SUCCESS then

3604: Check_DataExt_Completion
3605: (p_return_status => l_return_status,
3606: p_data_extract_id => g_data_extract_id);
3607:
3608: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
3609: message_token('DATA_EXTRACT', g_data_extract_name);
3610: add_message('PSB', 'PSB_DATA_EXTRACT_INCOMPLETE');
3611: raise FND_API.G_EXC_ERROR;
3612: end if;

Line 3611: raise FND_API.G_EXC_ERROR;

3607:
3608: if l_return_status <> FND_API.G_RET_STS_SUCCESS then
3609: message_token('DATA_EXTRACT', g_data_extract_name);
3610: add_message('PSB', 'PSB_DATA_EXTRACT_INCOMPLETE');
3611: raise FND_API.G_EXC_ERROR;
3612: end if;
3613:
3614: end;
3615: end if;

Line 3620: when FND_API.G_EXC_ERROR then

3616:
3617:
3618: EXCEPTION
3619:
3620: when FND_API.G_EXC_ERROR then
3621: p_return_status := FND_API.G_RET_STS_ERROR;
3622:
3623: END Initialize;
3624:

Line 3621: p_return_status := FND_API.G_RET_STS_ERROR;

3617:
3618: EXCEPTION
3619:
3620: when FND_API.G_EXC_ERROR then
3621: p_return_status := FND_API.G_RET_STS_ERROR;
3622:
3623: END Initialize;
3624:
3625: /* ----------------------------------------------------------------------- */

Line 3632: l_new_base_sp VARCHAR2(1) := FND_API.G_TRUE;

3628: ( p_worksheet_id IN NUMBER,
3629: p_return_status OUT NOCOPY VARCHAR2
3630: ) IS
3631:
3632: l_new_base_sp VARCHAR2(1) := FND_API.G_TRUE;
3633: l_name VARCHAR2(2000);
3634:
3635: l_userid NUMBER;
3636: l_loginid NUMBER;

Line 3771: g_global_worksheet := FND_API.G_FALSE;

3767: g_include_gl_forward_balance := c_WS_Rec.include_gl_forward_balance;
3768: end loop;
3769:
3770: if ((g_global_worksheet is null) or (g_global_worksheet = 'N')) then
3771: g_global_worksheet := FND_API.G_FALSE;
3772: else
3773: g_global_worksheet := FND_API.G_TRUE;
3774: end if;
3775:

Line 3773: g_global_worksheet := FND_API.G_TRUE;

3769:
3770: if ((g_global_worksheet is null) or (g_global_worksheet = 'N')) then
3771: g_global_worksheet := FND_API.G_FALSE;
3772: else
3773: g_global_worksheet := FND_API.G_TRUE;
3774: end if;
3775:
3776: if ((g_budget_by_position is null) or (g_budget_by_position = 'N')) then
3777: g_budget_by_position := FND_API.G_FALSE;

Line 3777: g_budget_by_position := FND_API.G_FALSE;

3773: g_global_worksheet := FND_API.G_TRUE;
3774: end if;
3775:
3776: if ((g_budget_by_position is null) or (g_budget_by_position = 'N')) then
3777: g_budget_by_position := FND_API.G_FALSE;
3778: else
3779: g_budget_by_position := FND_API.G_TRUE;
3780: end if;
3781:

Line 3779: g_budget_by_position := FND_API.G_TRUE;

3775:
3776: if ((g_budget_by_position is null) or (g_budget_by_position = 'N')) then
3777: g_budget_by_position := FND_API.G_FALSE;
3778: else
3779: g_budget_by_position := FND_API.G_TRUE;
3780: end if;
3781:
3782: if ((g_use_revised_element_rates is null) or (g_use_revised_element_rates = 'N')) then
3783: g_use_revised_element_rates := FND_API.G_FALSE;

Line 3783: g_use_revised_element_rates := FND_API.G_FALSE;

3779: g_budget_by_position := FND_API.G_TRUE;
3780: end if;
3781:
3782: if ((g_use_revised_element_rates is null) or (g_use_revised_element_rates = 'N')) then
3783: g_use_revised_element_rates := FND_API.G_FALSE;
3784: else
3785: g_use_revised_element_rates := FND_API.G_TRUE;
3786: end if;
3787:

Line 3785: g_use_revised_element_rates := FND_API.G_TRUE;

3781:
3782: if ((g_use_revised_element_rates is null) or (g_use_revised_element_rates = 'N')) then
3783: g_use_revised_element_rates := FND_API.G_FALSE;
3784: else
3785: g_use_revised_element_rates := FND_API.G_TRUE;
3786: end if;
3787:
3788: if ((g_incl_stat_bal is null) or (g_incl_stat_bal = 'N')) then
3789: g_incl_stat_bal := FND_API.G_FALSE;

Line 3789: g_incl_stat_bal := FND_API.G_FALSE;

3785: g_use_revised_element_rates := FND_API.G_TRUE;
3786: end if;
3787:
3788: if ((g_incl_stat_bal is null) or (g_incl_stat_bal = 'N')) then
3789: g_incl_stat_bal := FND_API.G_FALSE;
3790: else
3791: g_incl_stat_bal := FND_API.G_TRUE;
3792: end if;
3793:

Line 3791: g_incl_stat_bal := FND_API.G_TRUE;

3787:
3788: if ((g_incl_stat_bal is null) or (g_incl_stat_bal = 'N')) then
3789: g_incl_stat_bal := FND_API.G_FALSE;
3790: else
3791: g_incl_stat_bal := FND_API.G_TRUE;
3792: end if;
3793:
3794: if ((g_incl_trans_bal is null) or (g_incl_trans_bal = 'N')) then
3795: g_incl_trans_bal := FND_API.G_FALSE;

Line 3795: g_incl_trans_bal := FND_API.G_FALSE;

3791: g_incl_stat_bal := FND_API.G_TRUE;
3792: end if;
3793:
3794: if ((g_incl_trans_bal is null) or (g_incl_trans_bal = 'N')) then
3795: g_incl_trans_bal := FND_API.G_FALSE;
3796: else
3797: g_incl_trans_bal := FND_API.G_TRUE;
3798: end if;
3799:

Line 3797: g_incl_trans_bal := FND_API.G_TRUE;

3793:
3794: if ((g_incl_trans_bal is null) or (g_incl_trans_bal = 'N')) then
3795: g_incl_trans_bal := FND_API.G_FALSE;
3796: else
3797: g_incl_trans_bal := FND_API.G_TRUE;
3798: end if;
3799:
3800: if ((g_incl_adj_period is null) or (g_incl_adj_period = 'N')) then
3801: g_incl_adj_period := FND_API.G_FALSE;

Line 3801: g_incl_adj_period := FND_API.G_FALSE;

3797: g_incl_trans_bal := FND_API.G_TRUE;
3798: end if;
3799:
3800: if ((g_incl_adj_period is null) or (g_incl_adj_period = 'N')) then
3801: g_incl_adj_period := FND_API.G_FALSE;
3802: else
3803: g_incl_adj_period := FND_API.G_TRUE;
3804: end if;
3805:

Line 3803: g_incl_adj_period := FND_API.G_TRUE;

3799:
3800: if ((g_incl_adj_period is null) or (g_incl_adj_period = 'N')) then
3801: g_incl_adj_period := FND_API.G_FALSE;
3802: else
3803: g_incl_adj_period := FND_API.G_TRUE;
3804: end if;
3805:
3806: if ((g_create_non_pos_line_items is null) or (g_create_non_pos_line_items = 'N')) then
3807: g_create_non_pos_line_items := FND_API.G_FALSE;

Line 3807: g_create_non_pos_line_items := FND_API.G_FALSE;

3803: g_incl_adj_period := FND_API.G_TRUE;
3804: end if;
3805:
3806: if ((g_create_non_pos_line_items is null) or (g_create_non_pos_line_items = 'N')) then
3807: g_create_non_pos_line_items := FND_API.G_FALSE;
3808: else
3809: g_create_non_pos_line_items := FND_API.G_TRUE;
3810: end if;
3811:

Line 3809: g_create_non_pos_line_items := FND_API.G_TRUE;

3805:
3806: if ((g_create_non_pos_line_items is null) or (g_create_non_pos_line_items = 'N')) then
3807: g_create_non_pos_line_items := FND_API.G_FALSE;
3808: else
3809: g_create_non_pos_line_items := FND_API.G_TRUE;
3810: end if;
3811:
3812: if ((g_apply_element_parameters is null) or (g_apply_element_parameters = 'N')) then
3813: g_apply_element_parameters := FND_API.G_FALSE;

Line 3813: g_apply_element_parameters := FND_API.G_FALSE;

3809: g_create_non_pos_line_items := FND_API.G_TRUE;
3810: end if;
3811:
3812: if ((g_apply_element_parameters is null) or (g_apply_element_parameters = 'N')) then
3813: g_apply_element_parameters := FND_API.G_FALSE;
3814: else
3815: g_apply_element_parameters := FND_API.G_TRUE;
3816: end if;
3817:

Line 3815: g_apply_element_parameters := FND_API.G_TRUE;

3811:
3812: if ((g_apply_element_parameters is null) or (g_apply_element_parameters = 'N')) then
3813: g_apply_element_parameters := FND_API.G_FALSE;
3814: else
3815: g_apply_element_parameters := FND_API.G_TRUE;
3816: end if;
3817:
3818: if ((g_apply_position_parameters is null) or (g_apply_position_parameters = 'N')) then
3819: g_apply_position_parameters := FND_API.G_FALSE;

Line 3819: g_apply_position_parameters := FND_API.G_FALSE;

3815: g_apply_element_parameters := FND_API.G_TRUE;
3816: end if;
3817:
3818: if ((g_apply_position_parameters is null) or (g_apply_position_parameters = 'N')) then
3819: g_apply_position_parameters := FND_API.G_FALSE;
3820: else
3821: g_apply_position_parameters := FND_API.G_TRUE;
3822: end if;
3823:

Line 3821: g_apply_position_parameters := FND_API.G_TRUE;

3817:
3818: if ((g_apply_position_parameters is null) or (g_apply_position_parameters = 'N')) then
3819: g_apply_position_parameters := FND_API.G_FALSE;
3820: else
3821: g_apply_position_parameters := FND_API.G_TRUE;
3822: end if;
3823:
3824: if ((g_create_positions is null) or (g_create_positions = 'N')) then
3825: g_create_positions := FND_API.G_FALSE;

Line 3825: g_create_positions := FND_API.G_FALSE;

3821: g_apply_position_parameters := FND_API.G_TRUE;
3822: end if;
3823:
3824: if ((g_create_positions is null) or (g_create_positions = 'N')) then
3825: g_create_positions := FND_API.G_FALSE;
3826: else
3827: g_create_positions := FND_API.G_TRUE;
3828: end if;
3829:

Line 3827: g_create_positions := FND_API.G_TRUE;

3823:
3824: if ((g_create_positions is null) or (g_create_positions = 'N')) then
3825: g_create_positions := FND_API.G_FALSE;
3826: else
3827: g_create_positions := FND_API.G_TRUE;
3828: end if;
3829:
3830: if ((g_create_summary_totals is null) or (g_create_summary_totals = 'N')) then
3831: g_create_summary_totals := FND_API.G_FALSE;

Line 3831: g_create_summary_totals := FND_API.G_FALSE;

3827: g_create_positions := FND_API.G_TRUE;
3828: end if;
3829:
3830: if ((g_create_summary_totals is null) or (g_create_summary_totals = 'N')) then
3831: g_create_summary_totals := FND_API.G_FALSE;
3832: else
3833: g_create_summary_totals := FND_API.G_TRUE;
3834: end if;
3835:

Line 3833: g_create_summary_totals := FND_API.G_TRUE;

3829:
3830: if ((g_create_summary_totals is null) or (g_create_summary_totals = 'N')) then
3831: g_create_summary_totals := FND_API.G_FALSE;
3832: else
3833: g_create_summary_totals := FND_API.G_TRUE;
3834: end if;
3835:
3836: if ((g_apply_constraints is null) or (g_apply_constraints = 'N')) then
3837: g_apply_constraints := FND_API.G_FALSE;

Line 3837: g_apply_constraints := FND_API.G_FALSE;

3833: g_create_summary_totals := FND_API.G_TRUE;
3834: end if;
3835:
3836: if ((g_apply_constraints is null) or (g_apply_constraints = 'N')) then
3837: g_apply_constraints := FND_API.G_FALSE;
3838: else
3839: g_apply_constraints := FND_API.G_TRUE;
3840: end if;
3841:

Line 3839: g_apply_constraints := FND_API.G_TRUE;

3835:
3836: if ((g_apply_constraints is null) or (g_apply_constraints = 'N')) then
3837: g_apply_constraints := FND_API.G_FALSE;
3838: else
3839: g_apply_constraints := FND_API.G_TRUE;
3840: end if;
3841:
3842: if ((g_include_gl_commit_balance is null) or (g_include_gl_commit_balance = 'N')) then
3843: g_include_gl_commit_balance := FND_API.G_FALSE;

Line 3843: g_include_gl_commit_balance := FND_API.G_FALSE;

3839: g_apply_constraints := FND_API.G_TRUE;
3840: end if;
3841:
3842: if ((g_include_gl_commit_balance is null) or (g_include_gl_commit_balance = 'N')) then
3843: g_include_gl_commit_balance := FND_API.G_FALSE;
3844: else
3845: g_include_gl_commit_balance := FND_API.G_TRUE;
3846: end if;
3847:

Line 3845: g_include_gl_commit_balance := FND_API.G_TRUE;

3841:
3842: if ((g_include_gl_commit_balance is null) or (g_include_gl_commit_balance = 'N')) then
3843: g_include_gl_commit_balance := FND_API.G_FALSE;
3844: else
3845: g_include_gl_commit_balance := FND_API.G_TRUE;
3846: end if;
3847:
3848: if ((g_include_gl_oblig_balance is null) or (g_include_gl_oblig_balance = 'N')) then
3849: g_include_gl_oblig_balance := FND_API.G_FALSE;

Line 3849: g_include_gl_oblig_balance := FND_API.G_FALSE;

3845: g_include_gl_commit_balance := FND_API.G_TRUE;
3846: end if;
3847:
3848: if ((g_include_gl_oblig_balance is null) or (g_include_gl_oblig_balance = 'N')) then
3849: g_include_gl_oblig_balance := FND_API.G_FALSE;
3850: else
3851: g_include_gl_oblig_balance := FND_API.G_TRUE;
3852: end if;
3853:

Line 3851: g_include_gl_oblig_balance := FND_API.G_TRUE;

3847:
3848: if ((g_include_gl_oblig_balance is null) or (g_include_gl_oblig_balance = 'N')) then
3849: g_include_gl_oblig_balance := FND_API.G_FALSE;
3850: else
3851: g_include_gl_oblig_balance := FND_API.G_TRUE;
3852: end if;
3853:
3854: if ((g_include_gl_other_balance is null) or (g_include_gl_other_balance = 'N')) then
3855: g_include_gl_other_balance := FND_API.G_FALSE;

Line 3855: g_include_gl_other_balance := FND_API.G_FALSE;

3851: g_include_gl_oblig_balance := FND_API.G_TRUE;
3852: end if;
3853:
3854: if ((g_include_gl_other_balance is null) or (g_include_gl_other_balance = 'N')) then
3855: g_include_gl_other_balance := FND_API.G_FALSE;
3856: else
3857: g_include_gl_other_balance := FND_API.G_TRUE;
3858: end if;
3859:

Line 3857: g_include_gl_other_balance := FND_API.G_TRUE;

3853:
3854: if ((g_include_gl_other_balance is null) or (g_include_gl_other_balance = 'N')) then
3855: g_include_gl_other_balance := FND_API.G_FALSE;
3856: else
3857: g_include_gl_other_balance := FND_API.G_TRUE;
3858: end if;
3859:
3860: if ((g_include_cbc_commit_balance is null) or (g_include_cbc_commit_balance = 'N')) then
3861: g_include_cbc_commit_balance := FND_API.G_FALSE;

Line 3861: g_include_cbc_commit_balance := FND_API.G_FALSE;

3857: g_include_gl_other_balance := FND_API.G_TRUE;
3858: end if;
3859:
3860: if ((g_include_cbc_commit_balance is null) or (g_include_cbc_commit_balance = 'N')) then
3861: g_include_cbc_commit_balance := FND_API.G_FALSE;
3862: else
3863: g_include_cbc_commit_balance := FND_API.G_TRUE;
3864: end if;
3865:

Line 3863: g_include_cbc_commit_balance := FND_API.G_TRUE;

3859:
3860: if ((g_include_cbc_commit_balance is null) or (g_include_cbc_commit_balance = 'N')) then
3861: g_include_cbc_commit_balance := FND_API.G_FALSE;
3862: else
3863: g_include_cbc_commit_balance := FND_API.G_TRUE;
3864: end if;
3865:
3866: if ((g_include_cbc_oblig_balance is null) or (g_include_cbc_oblig_balance = 'N')) then
3867: g_include_cbc_oblig_balance := FND_API.G_FALSE;

Line 3867: g_include_cbc_oblig_balance := FND_API.G_FALSE;

3863: g_include_cbc_commit_balance := FND_API.G_TRUE;
3864: end if;
3865:
3866: if ((g_include_cbc_oblig_balance is null) or (g_include_cbc_oblig_balance = 'N')) then
3867: g_include_cbc_oblig_balance := FND_API.G_FALSE;
3868: else
3869: g_include_cbc_oblig_balance := FND_API.G_TRUE;
3870: end if;
3871:

Line 3869: g_include_cbc_oblig_balance := FND_API.G_TRUE;

3865:
3866: if ((g_include_cbc_oblig_balance is null) or (g_include_cbc_oblig_balance = 'N')) then
3867: g_include_cbc_oblig_balance := FND_API.G_FALSE;
3868: else
3869: g_include_cbc_oblig_balance := FND_API.G_TRUE;
3870: end if;
3871:
3872: if ((g_include_cbc_budget_balance is null) or (g_include_cbc_budget_balance = 'N')) then
3873: g_include_cbc_budget_balance := FND_API.G_FALSE;

Line 3873: g_include_cbc_budget_balance := FND_API.G_FALSE;

3869: g_include_cbc_oblig_balance := FND_API.G_TRUE;
3870: end if;
3871:
3872: if ((g_include_cbc_budget_balance is null) or (g_include_cbc_budget_balance = 'N')) then
3873: g_include_cbc_budget_balance := FND_API.G_FALSE;
3874: else
3875: g_include_cbc_budget_balance := FND_API.G_TRUE;
3876: end if;
3877:

Line 3875: g_include_cbc_budget_balance := FND_API.G_TRUE;

3871:
3872: if ((g_include_cbc_budget_balance is null) or (g_include_cbc_budget_balance = 'N')) then
3873: g_include_cbc_budget_balance := FND_API.G_FALSE;
3874: else
3875: g_include_cbc_budget_balance := FND_API.G_TRUE;
3876: end if;
3877:
3878: /* bug no 4725091 */
3879: if (g_include_gl_forward_balance is null) or (g_include_gl_forward_balance = 'N') then

Line 3880: g_include_gl_forward_balance := fnd_api.g_false;

3876: end if;
3877:
3878: /* bug no 4725091 */
3879: if (g_include_gl_forward_balance is null) or (g_include_gl_forward_balance = 'N') then
3880: g_include_gl_forward_balance := fnd_api.g_false;
3881: else
3882: g_include_gl_forward_balance := fnd_api.g_true;
3883: end if;
3884: /* bug no 4725091 */

Line 3882: g_include_gl_forward_balance := fnd_api.g_true;

3878: /* bug no 4725091 */
3879: if (g_include_gl_forward_balance is null) or (g_include_gl_forward_balance = 'N') then
3880: g_include_gl_forward_balance := fnd_api.g_false;
3881: else
3882: g_include_gl_forward_balance := fnd_api.g_true;
3883: end if;
3884: /* bug no 4725091 */
3885:
3886:

Line 3923: g_budgetary_control := FND_API.G_FALSE;

3919: g_budgetary_control := c_Sob_Rec.enable_budgetary_control_flag;
3920: end loop;
3921:
3922: if ((g_budgetary_control is null) or (g_budgetary_control = 'N')) then
3923: g_budgetary_control := FND_API.G_FALSE;
3924: else
3925: g_budgetary_control := FND_API.G_TRUE;
3926: end if;
3927:

Line 3925: g_budgetary_control := FND_API.G_TRUE;

3921:
3922: if ((g_budgetary_control is null) or (g_budgetary_control = 'N')) then
3923: g_budgetary_control := FND_API.G_FALSE;
3924: else
3925: g_budgetary_control := FND_API.G_TRUE;
3926: end if;
3927:
3928: for c_SP_Rec in c_SP loop
3929: g_service_package_id := c_SP_Rec.service_package_id;

Line 3930: l_new_base_sp := FND_API.G_FALSE;

3926: end if;
3927:
3928: for c_SP_Rec in c_SP loop
3929: g_service_package_id := c_SP_Rec.service_package_id;
3930: l_new_base_sp := FND_API.G_FALSE;
3931: end loop;
3932:
3933: if FND_API.to_Boolean(l_new_base_sp) then
3934: begin

Line 3933: if FND_API.to_Boolean(l_new_base_sp) then

3929: g_service_package_id := c_SP_Rec.service_package_id;
3930: l_new_base_sp := FND_API.G_FALSE;
3931: end loop;
3932:
3933: if FND_API.to_Boolean(l_new_base_sp) then
3934: begin
3935:
3936: for c_sp_seq_rec in c_sp_seq loop
3937: g_service_package_id := c_sp_seq_rec.ServicePackageID;

Line 3942: (p_encoded => FND_API.G_FALSE);

3938: end loop;
3939:
3940: add_message('PSB', 'PSB_BASE_SERVICE_PACKAGE');
3941: l_name := FND_MSG_PUB.Get
3942: (p_encoded => FND_API.G_FALSE);
3943: FND_MSG_PUB.Delete_Msg;
3944:
3945: insert into PSB_SERVICE_PACKAGES
3946: (service_package_id, global_worksheet_id,

Line 3972: p_return_status := FND_API.G_RET_STS_SUCCESS;

3968:
3969: -- Bug 3458191: Caching g_worksheet_id for account creation cp
3970: g_worksheet_id := p_worksheet_id;
3971:
3972: p_return_status := FND_API.G_RET_STS_SUCCESS;
3973:
3974:
3975: EXCEPTION
3976:

Line 3978: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

3974:
3975: EXCEPTION
3976:
3977: when OTHERS then
3978: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
3979:
3980: END Cache_Worksheet_Variables;
3981:
3982: /* ----------------------------------------------------------------------- */

Line 4003: raise FND_API.G_EXC_ERROR;

3999: l_status := nvl(c_DataExtract_Rec.data_extract_status, 'I');
4000: end loop;
4001:
4002: if l_status <> 'C' then
4003: raise FND_API.G_EXC_ERROR;
4004: end if;
4005:
4006: p_return_status := FND_API.G_RET_STS_SUCCESS;
4007:

Line 4006: p_return_status := FND_API.G_RET_STS_SUCCESS;

4002: if l_status <> 'C' then
4003: raise FND_API.G_EXC_ERROR;
4004: end if;
4005:
4006: p_return_status := FND_API.G_RET_STS_SUCCESS;
4007:
4008:
4009: EXCEPTION
4010:

Line 4011: when FND_API.G_EXC_ERROR then

4007:
4008:
4009: EXCEPTION
4010:
4011: when FND_API.G_EXC_ERROR then
4012: p_return_status := FND_API.G_RET_STS_ERROR;
4013:
4014: when FND_API.G_EXC_UNEXPECTED_ERROR then
4015: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 4012: p_return_status := FND_API.G_RET_STS_ERROR;

4008:
4009: EXCEPTION
4010:
4011: when FND_API.G_EXC_ERROR then
4012: p_return_status := FND_API.G_RET_STS_ERROR;
4013:
4014: when FND_API.G_EXC_UNEXPECTED_ERROR then
4015: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
4016:

Line 4014: when FND_API.G_EXC_UNEXPECTED_ERROR then

4010:
4011: when FND_API.G_EXC_ERROR then
4012: p_return_status := FND_API.G_RET_STS_ERROR;
4013:
4014: when FND_API.G_EXC_UNEXPECTED_ERROR then
4015: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
4016:
4017: when OTHERS then
4018: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 4015: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

4011: when FND_API.G_EXC_ERROR then
4012: p_return_status := FND_API.G_RET_STS_ERROR;
4013:
4014: when FND_API.G_EXC_UNEXPECTED_ERROR then
4015: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
4016:
4017: when OTHERS then
4018: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
4019:

Line 4018: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

4014: when FND_API.G_EXC_UNEXPECTED_ERROR then
4015: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
4016:
4017: when OTHERS then
4018: p_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
4019:
4020: END Check_DataExt_Completion;
4021:
4022: /* ----------------------------------------------------------------------- */