71: segment number;
72: prior_segment number;
73:
74: -- Define Debug Variable and Assign the Profile
75: --PG_DEBUG varchar2(1) := NVL(FND_PROFILE.value('TAX_DEBUG_FLAG'), 'N');
76: PG_DEBUG varchar2(1) := NVL(FND_PROFILE.value('AFLOG_ENABLED'), 'N');
77:
78: begin
79:
72: prior_segment number;
73:
74: -- Define Debug Variable and Assign the Profile
75: --PG_DEBUG varchar2(1) := NVL(FND_PROFILE.value('TAX_DEBUG_FLAG'), 'N');
76: PG_DEBUG varchar2(1) := NVL(FND_PROFILE.value('AFLOG_ENABLED'), 'N');
77:
78: begin
79:
80: flex_instance := flex_instance + 1;
233:
234: procedure add_to_list( list in out nocopy varchar2, value in varchar2 ) is
235:
236: -- Define Debug Variable and Assign the Profile
237: --PG_DEBUG varchar2(1) := NVL(FND_PROFILE.value('TAX_DEBUG_FLAG'), 'N');
238: PG_DEBUG varchar2(1) := NVL(FND_PROFILE.value('AFLOG_ENABLED'), 'N');
239:
240: begin
241: if PG_DEBUG = 'Y' then
234: procedure add_to_list( list in out nocopy varchar2, value in varchar2 ) is
235:
236: -- Define Debug Variable and Assign the Profile
237: --PG_DEBUG varchar2(1) := NVL(FND_PROFILE.value('TAX_DEBUG_FLAG'), 'N');
238: PG_DEBUG varchar2(1) := NVL(FND_PROFILE.value('AFLOG_ENABLED'), 'N');
239:
240: begin
241: if PG_DEBUG = 'Y' then
242: arp_util_tax.debug( '>> add_to_list( ' || list || ', ' || value || ' )' );
272: startpos number;
273: endpos number;
274:
275: -- Define Debug Variable and Assign the Profile
276: --PG_DEBUG varchar2(1) := NVL(FND_PROFILE.value('TAX_DEBUG_FLAG'), 'N');
277: PG_DEBUG varchar2(1) := NVL(FND_PROFILE.value('AFLOG_ENABLED'), 'N');
278:
279: begin
280:
273: endpos number;
274:
275: -- Define Debug Variable and Assign the Profile
276: --PG_DEBUG varchar2(1) := NVL(FND_PROFILE.value('TAX_DEBUG_FLAG'), 'N');
277: PG_DEBUG varchar2(1) := NVL(FND_PROFILE.value('AFLOG_ENABLED'), 'N');
278:
279: begin
280:
281: if PG_DEBUG = 'Y' then
379: segments varchar2(1000);
380: segment number;
381:
382: -- Define Debug Variable and Assign the Profile
383: --PG_DEBUG varchar2(1) := NVL(FND_PROFILE.value('TAX_DEBUG_FLAG'), 'N');
384: PG_DEBUG varchar2(1) := NVL(FND_PROFILE.value('AFLOG_ENABLED'), 'N');
385:
386: begin
387:
380: segment number;
381:
382: -- Define Debug Variable and Assign the Profile
383: --PG_DEBUG varchar2(1) := NVL(FND_PROFILE.value('TAX_DEBUG_FLAG'), 'N');
384: PG_DEBUG varchar2(1) := NVL(FND_PROFILE.value('AFLOG_ENABLED'), 'N');
385:
386: begin
387:
388: if PG_DEBUG = 'Y' then
457:
458: function active_segments( flex_handle in number ) return number is
459: segments number;
460: -- Define Debug Variable and Assign the Profile
461: --PG_DEBUG varchar2(1) := NVL(FND_PROFILE.value('TAX_DEBUG_FLAG'), 'N');
462: PG_DEBUG varchar2(1) := NVL(FND_PROFILE.value('AFLOG_ENABLED'), 'N');
463: begin
464:
465: if PG_DEBUG = 'Y' then
458: function active_segments( flex_handle in number ) return number is
459: segments number;
460: -- Define Debug Variable and Assign the Profile
461: --PG_DEBUG varchar2(1) := NVL(FND_PROFILE.value('TAX_DEBUG_FLAG'), 'N');
462: PG_DEBUG varchar2(1) := NVL(FND_PROFILE.value('AFLOG_ENABLED'), 'N');
463: begin
464:
465: if PG_DEBUG = 'Y' then
466: arp_util_tax.debug( '>> active_segments( ' || flex_handle || ')' );