DBA Data[Home] [Help]

APPS.ZX_MIGRATE_TAX_DEF_COMMON dependencies on ZX_MIGRATE_UTIL

Line 49: Zx_Migrate_Util.GET_TAX_REGIME(

45: codes.name tax_code,
46: 'INPUT' tax_class,
47: case when codes.tax_type = 'USE'
48: then
49: Zx_Migrate_Util.GET_TAX_REGIME(
50: codes.tax_type,
51: codes.org_id)
52: else
53: Zx_Migrate_Util.Get_Country(codes.Org_Id)||'-Tax'

Line 53: Zx_Migrate_Util.Get_Country(codes.Org_Id)||'-Tax'

49: Zx_Migrate_Util.GET_TAX_REGIME(
50: codes.tax_type,
51: codes.org_id)
52: else
53: Zx_Migrate_Util.Get_Country(codes.Org_Id)||'-Tax'
54: end tax_regime_code,
55: Nvl(CASE WHEN codes.global_attribute_category
56: IN ('JE.CZ.APXTADTC.TAX_ORIGIN','JE.HU.APXTADTC.TAX_ORIGIN','JE.PL.APXTADTC.TAX_ORIGIN','JE.CH.APXTADTC.TAX_INFO'
57: )

Line 61: rtrim(substrb(CODES.GLOBAL_ATTRIBUTE1,1,24))||ZX_MIGRATE_UTIL.GET_NEXT_SEQID('ZX_TAXES_B_S')

57: )
58: THEN
59: CASE WHEN lengthb (codes.global_attribute1) > 30
60: THEN
61: rtrim(substrb(CODES.GLOBAL_ATTRIBUTE1,1,24))||ZX_MIGRATE_UTIL.GET_NEXT_SEQID('ZX_TAXES_B_S')
62: ELSE
63: CODES.GLOBAL_ATTRIBUTE1
64: END
65: END

Line 69: RTRIM(substrb(Zx_Migrate_Util.GET_TAX(

65: END
66: ,
67: CASE WHEN codes.tax_type ='USE'
68: THEN
69: RTRIM(substrb(Zx_Migrate_Util.GET_TAX(
70: codes.name,
71: codes.tax_type),1,30))
72: ELSE
73: CASE WHEN

Line 74: Zx_Migrate_Util.GET_TAX(

70: codes.name,
71: codes.tax_type),1,30))
72: ELSE
73: CASE WHEN
74: Zx_Migrate_Util.GET_TAX(
75: codes.name,
76: codes.tax_type) <> codes.tax_type
77: THEN
78: CASE WHEN

Line 79: Lengthb(Zx_Migrate_Util.GET_TAX(

75: codes.name,
76: codes.tax_type) <> codes.tax_type
77: THEN
78: CASE WHEN
79: Lengthb(Zx_Migrate_Util.GET_TAX(
80: codes.name,
81: codes.tax_type)||'-'||codes.tax_type) > 30
82: THEN
83: rtrim(substrb(Zx_Migrate_Util.GET_TAX(

Line 83: rtrim(substrb(Zx_Migrate_Util.GET_TAX(

79: Lengthb(Zx_Migrate_Util.GET_TAX(
80: codes.name,
81: codes.tax_type)||'-'||codes.tax_type) > 30
82: THEN
83: rtrim(substrb(Zx_Migrate_Util.GET_TAX(
84: codes.name,
85: codes.tax_type)||'-'||codes.tax_type,1,30))
86: ELSE
87: Zx_Migrate_Util.GET_TAX(

Line 87: Zx_Migrate_Util.GET_TAX(

83: rtrim(substrb(Zx_Migrate_Util.GET_TAX(
84: codes.name,
85: codes.tax_type)||'-'||codes.tax_type,1,30))
86: ELSE
87: Zx_Migrate_Util.GET_TAX(
88: codes.name,
89: codes.tax_type)||'-'||codes.tax_type
90: END
91: ELSE

Line 92: rtrim(substrb(Zx_Migrate_Util.GET_TAX(

88: codes.name,
89: codes.tax_type)||'-'||codes.tax_type
90: END
91: ELSE
92: rtrim(substrb(Zx_Migrate_Util.GET_TAX(
93: codes.name,
94: codes.tax_type),1,30))
95: END
96:

Line 105: zx_migrate_util.get_country(codes.org_id) country_code,

101: nvl(codes.global_attribute1,'STANDARD'),
102: 'STANDARD') tax_status_code,
103: NULL recovery_type_code, --Bug Fix 5028009
104: 'N' frozen,
105: zx_migrate_util.get_country(codes.org_id) country_code,
106: codes.start_date effective_from,
107: codes.inactive_date effective_to,
108: fnd_global.user_id created_by,
109: sysdate creation_date,

Line 155: Zx_Migrate_Util.GET_TAX_REGIME(

151: codes.name tax_code,
152: 'INPUT' tax_class,
153: case when codes.tax_type = 'USE'
154: then
155: Zx_Migrate_Util.GET_TAX_REGIME(
156: codes.tax_type,
157: codes.org_id)
158: else
159: Zx_Migrate_Util.Get_Country(codes.Org_Id)||'-Tax'

Line 159: Zx_Migrate_Util.Get_Country(codes.Org_Id)||'-Tax'

155: Zx_Migrate_Util.GET_TAX_REGIME(
156: codes.tax_type,
157: codes.org_id)
158: else
159: Zx_Migrate_Util.Get_Country(codes.Org_Id)||'-Tax'
160: end tax_regime_code,
161: Nvl(CASE WHEN codes.global_attribute_category
162: IN ('JE.CZ.APXTADTC.TAX_ORIGIN','JE.HU.APXTADTC.TAX_ORIGIN','JE.PL.APXTADTC.TAX_ORIGIN','JE.CH.APXTADTC.TAX_INFO'
163: )

Line 167: rtrim(substrb(CODES.GLOBAL_ATTRIBUTE1,1,24))||ZX_MIGRATE_UTIL.GET_NEXT_SEQID('ZX_TAXES_B_S')

163: )
164: THEN
165: CASE WHEN lengthb (codes.global_attribute1) > 30
166: THEN
167: rtrim(substrb(CODES.GLOBAL_ATTRIBUTE1,1,24))||ZX_MIGRATE_UTIL.GET_NEXT_SEQID('ZX_TAXES_B_S')
168: ELSE
169: CODES.GLOBAL_ATTRIBUTE1
170: END
171: END

Line 175: rtrim(substrb(Zx_Migrate_Util.GET_TAX(

171: END
172: ,
173: CASE WHEN codes.tax_type ='USE'
174: THEN
175: rtrim(substrb(Zx_Migrate_Util.GET_TAX(
176: codes.name,
177: codes.tax_type),1,30))
178: ELSE
179: CASE WHEN

Line 180: Zx_Migrate_Util.GET_TAX(

176: codes.name,
177: codes.tax_type),1,30))
178: ELSE
179: CASE WHEN
180: Zx_Migrate_Util.GET_TAX(
181: codes.name,
182: codes.tax_type) <> codes.tax_type
183: THEN
184: CASE WHEN

Line 185: lengthb(Zx_Migrate_Util.GET_TAX(

181: codes.name,
182: codes.tax_type) <> codes.tax_type
183: THEN
184: CASE WHEN
185: lengthb(Zx_Migrate_Util.GET_TAX(
186: codes.name,
187: codes.tax_type)||'-'||codes.tax_type) > 30
188: THEN
189: rtrim(substrb(Zx_Migrate_Util.GET_TAX(

Line 189: rtrim(substrb(Zx_Migrate_Util.GET_TAX(

185: lengthb(Zx_Migrate_Util.GET_TAX(
186: codes.name,
187: codes.tax_type)||'-'||codes.tax_type) > 30
188: THEN
189: rtrim(substrb(Zx_Migrate_Util.GET_TAX(
190: codes.name,
191: codes.tax_type)||'-'||codes.tax_type,1,30))
192: ELSE
193: Zx_Migrate_Util.GET_TAX(

Line 193: Zx_Migrate_Util.GET_TAX(

189: rtrim(substrb(Zx_Migrate_Util.GET_TAX(
190: codes.name,
191: codes.tax_type)||'-'||codes.tax_type,1,30))
192: ELSE
193: Zx_Migrate_Util.GET_TAX(
194: codes.name,
195: codes.tax_type)||'-'||codes.tax_type
196: END
197: ELSE

Line 198: rtrim(substrb(Zx_Migrate_Util.GET_TAX(

194: codes.name,
195: codes.tax_type)||'-'||codes.tax_type
196: END
197: ELSE
198: rtrim(substrb(Zx_Migrate_Util.GET_TAX(
199: codes.name,
200: codes.tax_type),1,30))
201: END
202:

Line 211: zx_migrate_util.get_country(codes.org_id) country_code,

207: nvl(codes.global_attribute1,'STANDARD'),
208: 'STANDARD') tax_status_code,
209: NULL recovery_type_code, --Bug Fix 5028009
210: 'N' frozen,
211: zx_migrate_util.get_country(codes.org_id) country_code,
212: codes.start_date effective_from,
213: codes.inactive_date effective_to,
214: fnd_global.user_id created_by,
215: sysdate creation_date,

Line 267: Zx_Migrate_Util.GET_TAX_REGIME(

263: offset.name tax_code,
264: 'INPUT' tax_class,
265: case when codes.tax_type = 'USE'
266: then
267: Zx_Migrate_Util.GET_TAX_REGIME(
268: codes.tax_type,
269: codes.org_id)
270: else
271: Zx_Migrate_Util.Get_Country(codes.Org_Id)||'-Tax'

Line 271: Zx_Migrate_Util.Get_Country(codes.Org_Id)||'-Tax'

267: Zx_Migrate_Util.GET_TAX_REGIME(
268: codes.tax_type,
269: codes.org_id)
270: else
271: Zx_Migrate_Util.Get_Country(codes.Org_Id)||'-Tax'
272: end tax_regime_code,
273: NVL(CASE WHEN offset.global_attribute_category
274: IN ('JE.CZ.APXTADTC.TAX_ORIGIN','JE.HU.APXTADTC.TAX_ORIGIN','JE.PL.APXTADTC.TAX_ORIGIN','JE.CH.APXTADTC.TAX_INFO'
275: )

Line 285: Zx_Migrate_Util.GET_TAX(

281: offset.GLOBAL_ATTRIBUTE1||'-OFFST'
282: END
283: END,
284: CASE WHEN
285: Zx_Migrate_Util.GET_TAX(
286: offset.name,
287: offset.tax_type)
288: <> offset.tax_type
289: THEN CASE WHEN LENGTHB(Zx_Migrate_Util.GET_TAX(

Line 289: THEN CASE WHEN LENGTHB(Zx_Migrate_Util.GET_TAX(

285: Zx_Migrate_Util.GET_TAX(
286: offset.name,
287: offset.tax_type)
288: <> offset.tax_type
289: THEN CASE WHEN LENGTHB(Zx_Migrate_Util.GET_TAX(
290: offset.name,
291: offset.tax_type)
292: ||'-OFFSET-'||offset.tax_type) > 30 THEN
293: RTRIM(SUBSTRB(

Line 294: Zx_Migrate_Util.GET_TAX(

290: offset.name,
291: offset.tax_type)
292: ||'-OFFSET-'||offset.tax_type) > 30 THEN
293: RTRIM(SUBSTRB(
294: Zx_Migrate_Util.GET_TAX(
295: offset.name,
296: offset.tax_type)
297: ||'-OFFSET-'||offset.tax_type,1,30))
298: ELSE

Line 299: Zx_Migrate_Util.GET_TAX(

295: offset.name,
296: offset.tax_type)
297: ||'-OFFSET-'||offset.tax_type,1,30))
298: ELSE
299: Zx_Migrate_Util.GET_TAX(
300: offset.name,
301: offset.tax_type)
302: ||'-OFFSET-'||offset.tax_type
303: END

Line 305: rtrim(substrb(Zx_Migrate_Util.GET_TAX(

301: offset.tax_type)
302: ||'-OFFSET-'||offset.tax_type
303: END
304: ELSE
305: rtrim(substrb(Zx_Migrate_Util.GET_TAX(
306: offset.name,
307: offset.tax_type),1,24))
308: ||'-OFFST'
309: END )tax,

Line 316: zx_migrate_util.get_country(offset.org_id) country_code,

312: nvl(offset.global_attribute1,'STANDARD'),
313: 'STANDARD') tax_status_code,
314: NULL recovery_type_code, --Bug Fix 5028009
315: 'N' frozen,
316: zx_migrate_util.get_country(offset.org_id) country_code,
317: offset.start_date effective_from,
318: offset.inactive_date effective_to,
319: fnd_global.user_id created_by,
320: sysdate creation_date,

Line 371: Zx_Migrate_Util.GET_TAX_REGIME(

367: offset.name tax_code,
368: 'INPUT' tax_class,
369: case when codes.tax_type = 'USE'
370: then
371: Zx_Migrate_Util.GET_TAX_REGIME(
372: codes.tax_type,
373: codes.org_id)
374: else
375: Zx_Migrate_Util.Get_Country(codes.Org_Id)||'-Tax'

Line 375: Zx_Migrate_Util.Get_Country(codes.Org_Id)||'-Tax'

371: Zx_Migrate_Util.GET_TAX_REGIME(
372: codes.tax_type,
373: codes.org_id)
374: else
375: Zx_Migrate_Util.Get_Country(codes.Org_Id)||'-Tax'
376: end tax_regime_code,
377: NVL(CASE WHEN offset.global_attribute_category
378: IN ('JE.CZ.APXTADTC.TAX_ORIGIN','JE.HU.APXTADTC.TAX_ORIGIN','JE.PL.APXTADTC.TAX_ORIGIN','JE.CH.APXTADTC.TAX_INFO'
379: )

Line 389: Zx_Migrate_Util.GET_TAX(

385: offset.GLOBAL_ATTRIBUTE1||'-OFFST'
386: END
387: END,
388: CASE WHEN
389: Zx_Migrate_Util.GET_TAX(
390: offset.name,
391: offset.tax_type)
392: <> offset.tax_type
393: THEN CASE WHEN LENGTHB(

Line 394: Zx_Migrate_Util.GET_TAX(

390: offset.name,
391: offset.tax_type)
392: <> offset.tax_type
393: THEN CASE WHEN LENGTHB(
394: Zx_Migrate_Util.GET_TAX(
395: offset.name,
396: offset.tax_type)
397: ||'-OFFSET-'||offset.tax_type) > 30 THEN
398: RTRIM(SUBSTRB(Zx_Migrate_Util.GET_TAX(

Line 398: RTRIM(SUBSTRB(Zx_Migrate_Util.GET_TAX(

394: Zx_Migrate_Util.GET_TAX(
395: offset.name,
396: offset.tax_type)
397: ||'-OFFSET-'||offset.tax_type) > 30 THEN
398: RTRIM(SUBSTRB(Zx_Migrate_Util.GET_TAX(
399: offset.name,
400: offset.tax_type)
401: ||'-OFFSET-'||offset.tax_type,1,30))
402: ELSE

Line 403: Zx_Migrate_Util.GET_TAX(

399: offset.name,
400: offset.tax_type)
401: ||'-OFFSET-'||offset.tax_type,1,30))
402: ELSE
403: Zx_Migrate_Util.GET_TAX(
404: offset.name,
405: offset.tax_type)
406: ||'-OFFSET-'||offset.tax_type
407: END

Line 409: rtrim(substrb(Zx_Migrate_Util.GET_TAX(

405: offset.tax_type)
406: ||'-OFFSET-'||offset.tax_type
407: END
408: ELSE
409: rtrim(substrb(Zx_Migrate_Util.GET_TAX(
410: offset.name,
411: offset.tax_type),1,24))
412: ||'-OFFST'
413: END ) tax,

Line 420: zx_migrate_util.get_country(offset.org_id) country_code,

416: nvl(offset.global_attribute1,'STANDARD'),
417: 'STANDARD') tax_status_code,
418: NULL recovery_type_code, --Bug Fix 5028009
419: 'N' frozen,
420: zx_migrate_util.get_country(offset.org_id) country_code,
421: offset.start_date effective_from,
422: offset.inactive_date effective_to,
423: fnd_global.user_id created_by,
424: sysdate creation_date,

Line 476: Zx_Migrate_Util.Get_Country(Offset.Org_Id)||'-Tax' tax_regime_code,

472: offset.tax_id tax_code_id,
473: offset.org_id org_id,
474: offset.name tax_code,
475: 'INPUT' tax_class,
476: Zx_Migrate_Util.Get_Country(Offset.Org_Id)||'-Tax' tax_regime_code,
477: NVL(CASE WHEN offset.global_attribute_category
478: IN ('JE.CZ.APXTADTC.TAX_ORIGIN','JE.HU.APXTADTC.TAX_ORIGIN','JE.PL.APXTADTC.TAX_ORIGIN','JE.CH.APXTADTC.TAX_INFO'
479: )
480: THEN

Line 488: rtrim(substrb(Zx_Migrate_Util.GET_TAX(

484: ELSE
485: offset.GLOBAL_ATTRIBUTE1
486: END
487: END,
488: rtrim(substrb(Zx_Migrate_Util.GET_TAX(
489: offset.name,
490: offset.tax_type),1,24))
491: ) ||'-OFFST' tax,
492: DECODE(offset.global_attribute_category,

Line 498: zx_migrate_util.get_country(offset.org_id) country_code,

494: nvl(offset.global_attribute1,'STANDARD'),
495: 'STANDARD') tax_status_code,
496: NULL recovery_type_code, --Bug Fix 5028009
497: 'N' frozen,
498: zx_migrate_util.get_country(offset.org_id) country_code,
499: offset.start_date effective_from,
500: offset.inactive_date effective_to,
501: fnd_global.user_id created_by,
502: sysdate creation_date,

Line 546: Zx_Migrate_Util.Get_Country(Offset.Org_Id)||'-Tax' tax_regime_code,

542: offset.tax_id tax_code_id,
543: offset.org_id org_id,
544: offset.name tax_code,
545: 'INPUT' tax_class,
546: Zx_Migrate_Util.Get_Country(Offset.Org_Id)||'-Tax' tax_regime_code,
547: NVL(CASE WHEN offset.global_attribute_category
548: IN ('JE.CZ.APXTADTC.TAX_ORIGIN','JE.HU.APXTADTC.TAX_ORIGIN','JE.PL.APXTADTC.TAX_ORIGIN','JE.CH.APXTADTC.TAX_INFO'
549: )
550: THEN

Line 558: rtrim(substrb(Zx_Migrate_Util.GET_TAX(

554: ELSE
555: offset.GLOBAL_ATTRIBUTE1
556: END
557: END,
558: rtrim(substrb(Zx_Migrate_Util.GET_TAX(
559: offset.name,
560: offset.tax_type),1,24))
561: ) ||'-OFFST' tax,
562: DECODE(offset.global_attribute_category,

Line 568: zx_migrate_util.get_country(offset.org_id) country_code,

564: nvl(offset.global_attribute1,'STANDARD'),
565: 'STANDARD') tax_status_code,
566: NULL recovery_type_code, --Bug Fix 5028009
567: 'N' frozen,
568: zx_migrate_util.get_country(offset.org_id) country_code,
569: offset.start_date effective_from,
570: offset.inactive_date effective_to,
571: fnd_global.user_id created_by,
572: sysdate creation_date,

Line 633: Zx_Migrate_Util.Get_Country(Codes.Org_Id)||'-Tax'

629: 'JL.CO.ARXSYSPA.SYS_PARAMETERS') THEN
630: asp.global_attribute13 || '-' || codes.tax_type
631: ELSE
632: CASE WHEN codes.tax_type <> 'SALES_TAX' then
633: Zx_Migrate_Util.Get_Country(Codes.Org_Id)||'-Tax'
634: ELSE
635:
636: Zx_Migrate_Util.GET_TAX_REGIME(
637: codes.tax_type,

Line 636: Zx_Migrate_Util.GET_TAX_REGIME(

632: CASE WHEN codes.tax_type <> 'SALES_TAX' then
633: Zx_Migrate_Util.Get_Country(Codes.Org_Id)||'-Tax'
634: ELSE
635:
636: Zx_Migrate_Util.GET_TAX_REGIME(
637: codes.tax_type,
638: codes.org_id)
639: END
640: END tax_regime_code,

Line 660: CASE WHEN codes.tax_type = Zx_Migrate_Util.GET_TAX(

656: and org_id = codes.org_id)
657: ELSE
658: NULL
659: END,
660: CASE WHEN codes.tax_type = Zx_Migrate_Util.GET_TAX(
661: codes.tax_code,
662: codes.tax_type)
663: THEN
664: RTRIM(SUBSTRB(Zx_Migrate_Util.GET_TAX(

Line 664: RTRIM(SUBSTRB(Zx_Migrate_Util.GET_TAX(

660: CASE WHEN codes.tax_type = Zx_Migrate_Util.GET_TAX(
661: codes.tax_code,
662: codes.tax_type)
663: THEN
664: RTRIM(SUBSTRB(Zx_Migrate_Util.GET_TAX(
665: codes.tax_code,
666: codes.tax_type),1,30))
667: ELSE
668: CASE WHEN LENGTHB(Zx_Migrate_Util.GET_TAX(

Line 668: CASE WHEN LENGTHB(Zx_Migrate_Util.GET_TAX(

664: RTRIM(SUBSTRB(Zx_Migrate_Util.GET_TAX(
665: codes.tax_code,
666: codes.tax_type),1,30))
667: ELSE
668: CASE WHEN LENGTHB(Zx_Migrate_Util.GET_TAX(
669: codes.tax_code,
670: codes.tax_type)||'-'||codes.tax_type) > 30
671: THEN
672: RTRIM(SUBSTRB(Zx_Migrate_Util.GET_TAX(

Line 672: RTRIM(SUBSTRB(Zx_Migrate_Util.GET_TAX(

668: CASE WHEN LENGTHB(Zx_Migrate_Util.GET_TAX(
669: codes.tax_code,
670: codes.tax_type)||'-'||codes.tax_type) > 30
671: THEN
672: RTRIM(SUBSTRB(Zx_Migrate_Util.GET_TAX(
673: codes.tax_code,
674: codes.tax_type)||'-'||codes.tax_type,1,30))
675: ELSE
676: Zx_Migrate_Util.GET_TAX(

Line 676: Zx_Migrate_Util.GET_TAX(

672: RTRIM(SUBSTRB(Zx_Migrate_Util.GET_TAX(
673: codes.tax_code,
674: codes.tax_type)||'-'||codes.tax_type,1,30))
675: ELSE
676: Zx_Migrate_Util.GET_TAX(
677: codes.tax_code,
678: codes.tax_type)||'-'||codes.tax_type
679: END
680: END

Line 691: zx_migrate_util.get_country(codes.org_id) country_code,

687: 'I', 'STANDARD-AR-INPUT',
688: 'STANDARD')) tax_status_code,
689: NULL recovery_type_code,
690: 'N' frozen,
691: zx_migrate_util.get_country(codes.org_id) country_code,
692: codes.start_date effective_from,
693: codes.end_date effective_to,
694: fnd_global.user_id created_by,
695: sysdate creation_date,

Line 757: Zx_Migrate_Util.Get_Country(Codes.Org_Id)||'-Tax'

753: 'JL.CO.ARXSYSPA.SYS_PARAMETERS') THEN
754: asp.global_attribute13 || '-' || codes.tax_type
755: ELSE
756: CASE WHEN codes.tax_type <> 'SALES_TAX' then
757: Zx_Migrate_Util.Get_Country(Codes.Org_Id)||'-Tax'
758: ELSE
759:
760: Zx_Migrate_Util.GET_TAX_REGIME(
761: codes.tax_type,

Line 760: Zx_Migrate_Util.GET_TAX_REGIME(

756: CASE WHEN codes.tax_type <> 'SALES_TAX' then
757: Zx_Migrate_Util.Get_Country(Codes.Org_Id)||'-Tax'
758: ELSE
759:
760: Zx_Migrate_Util.GET_TAX_REGIME(
761: codes.tax_type,
762: codes.org_id)
763: END
764: END tax_regime_code,

Line 783: CASE WHEN codes.tax_type = Zx_Migrate_Util.GET_TAX(

779: and org_id = codes.org_id)
780: ELSE
781: NULL
782: END,
783: CASE WHEN codes.tax_type = Zx_Migrate_Util.GET_TAX(
784: codes.tax_code,
785: codes.tax_type)
786: THEN
787: RTRIM(SUBSTRB(Zx_Migrate_Util.GET_TAX(

Line 787: RTRIM(SUBSTRB(Zx_Migrate_Util.GET_TAX(

783: CASE WHEN codes.tax_type = Zx_Migrate_Util.GET_TAX(
784: codes.tax_code,
785: codes.tax_type)
786: THEN
787: RTRIM(SUBSTRB(Zx_Migrate_Util.GET_TAX(
788: codes.tax_code,
789: codes.tax_type),1,30))
790: ELSE
791: CASE WHEN LENGTHB(Zx_Migrate_Util.GET_TAX(

Line 791: CASE WHEN LENGTHB(Zx_Migrate_Util.GET_TAX(

787: RTRIM(SUBSTRB(Zx_Migrate_Util.GET_TAX(
788: codes.tax_code,
789: codes.tax_type),1,30))
790: ELSE
791: CASE WHEN LENGTHB(Zx_Migrate_Util.GET_TAX(
792: codes.tax_code,
793: codes.tax_type)||'-'||codes.tax_type) > 30
794: THEN
795: RTRIM(SUBSTRB(Zx_Migrate_Util.GET_TAX(

Line 795: RTRIM(SUBSTRB(Zx_Migrate_Util.GET_TAX(

791: CASE WHEN LENGTHB(Zx_Migrate_Util.GET_TAX(
792: codes.tax_code,
793: codes.tax_type)||'-'||codes.tax_type) > 30
794: THEN
795: RTRIM(SUBSTRB(Zx_Migrate_Util.GET_TAX(
796: codes.tax_code,
797: codes.tax_type)||'-'||codes.tax_type,1,30))
798: ELSE
799: Zx_Migrate_Util.GET_TAX(

Line 799: Zx_Migrate_Util.GET_TAX(

795: RTRIM(SUBSTRB(Zx_Migrate_Util.GET_TAX(
796: codes.tax_code,
797: codes.tax_type)||'-'||codes.tax_type,1,30))
798: ELSE
799: Zx_Migrate_Util.GET_TAX(
800: codes.tax_code,
801: codes.tax_type)||'-'||codes.tax_type
802: END
803:

Line 813: zx_migrate_util.get_country(codes.org_id) country_code,

809: 'I', 'STANDARD-AR-INPUT',
810: 'STANDARD')) tax_status_code,
811: NULL recovery_type_code,
812: 'N' frozen,
813: zx_migrate_util.get_country(codes.org_id) country_code,
814: codes.start_date effective_from,
815: codes.end_date effective_to,
816: fnd_global.user_id created_by,
817: sysdate creation_date,

Line 914: Zx_Migrate_Util.Get_Country(Codes.Org_Id)||'-Tax'

910: codes.org_id org_id,
911: codes.tax_code tax_code,
912: 'OUTPUT' tax_class,
913: CASE WHEN codes.tax_type = 'VAT' then
914: Zx_Migrate_Util.Get_Country(Codes.Org_Id)||'-Tax'
915: ELSE
916:
917: Zx_Migrate_Util.GET_TAX_REGIME(
918: codes.tax_type,

Line 917: Zx_Migrate_Util.GET_TAX_REGIME(

913: CASE WHEN codes.tax_type = 'VAT' then
914: Zx_Migrate_Util.Get_Country(Codes.Org_Id)||'-Tax'
915: ELSE
916:
917: Zx_Migrate_Util.GET_TAX_REGIME(
918: codes.tax_type,
919: codes.org_id)
920: END
921: tax_regime_code,

Line 933: zx_migrate_util.get_country(codes.org_id) country_code,

929: 'I', 'STANDARD-AR-INPUT',
930: 'STANDARD')) tax_status_code,
931: NULL recovery_type_code,
932: 'N' frozen,
933: zx_migrate_util.get_country(codes.org_id) country_code,
934: codes.start_date effective_from,
935: codes.end_date effective_to,
936: fnd_global.user_id created_by,
937: sysdate creation_date,

Line 996: Zx_Migrate_Util.Get_Country(Codes.Org_Id)||'-Tax'

992: codes.org_id org_id,
993: codes.tax_code tax_code,
994: 'OUTPUT' tax_class,
995: CASE WHEN codes.tax_type = 'VAT' then
996: Zx_Migrate_Util.Get_Country(Codes.Org_Id)||'-Tax'
997: ELSE
998:
999: Zx_Migrate_Util.GET_TAX_REGIME(
1000: codes.tax_type,

Line 999: Zx_Migrate_Util.GET_TAX_REGIME(

995: CASE WHEN codes.tax_type = 'VAT' then
996: Zx_Migrate_Util.Get_Country(Codes.Org_Id)||'-Tax'
997: ELSE
998:
999: Zx_Migrate_Util.GET_TAX_REGIME(
1000: codes.tax_type,
1001: codes.org_id)
1002: END
1003: tax_regime_code,

Line 1015: zx_migrate_util.get_country(codes.org_id) country_code,

1011: 'I', 'STANDARD-AR-INPUT',
1012: 'STANDARD')) tax_status_code,
1013: NULL recovery_type_code,
1014: 'N' frozen,
1015: zx_migrate_util.get_country(codes.org_id) country_code,
1016: codes.start_date effective_from,
1017: codes.end_date effective_to,
1018: fnd_global.user_id created_by,
1019: sysdate creation_date,

Line 1107: Zx_Migrate_Util.GET_TAX_REGIME(

1103: ap_codes.tax_id tax_code_id,
1104: ap_codes.org_id org_id,
1105: ap_codes.name tax_code,
1106: 'INPUT' tax_class,
1107: Zx_Migrate_Util.GET_TAX_REGIME(
1108: ap_codes.tax_type,
1109: ap_codes.org_id) tax_regime_code,
1110: DECODE(ap_codes.global_attribute_category,
1111: 'JE.CZ.ARXSUVAT.TAX_ORIGIN',

Line 1123: RTRIM(SUBSTRB(Zx_Migrate_Util.GET_TAX(

1119: 'JE.PL.ARXSUVAT.TAX_ORIGIN',
1120: CASE WHEN LENGTHB(ap_codes.global_attribute1) > 30 THEN
1121: RTRIM(SUBSTRB(ap_codes.global_attribute1,1,24))
1122: ELSE ap_codes.global_attribute1 END,
1123: RTRIM(SUBSTRB(Zx_Migrate_Util.GET_TAX(
1124: ap_codes.name,
1125: ap_codes.tax_type),1,30))
1126: ) tax,
1127: DECODE(ap_codes.global_attribute_category,

Line 1133: zx_migrate_util.get_country(ap_codes.org_id) country_code,

1129: nvl(ap_codes.global_attribute1,'STANDARD'),
1130: 'STANDARD') tax_status_code,
1131: 'STANDARD' recovery_type_code,
1132: 'N' frozen,
1133: zx_migrate_util.get_country(ap_codes.org_id) country_code,
1134: fnd_global.user_id created_by,
1135: sysdate creation_date,
1136: fnd_global.user_id last_updated_by,
1137: sysdate last_updated_date,

Line 1222: Zx_Migrate_Util.GET_TAX_REGIME(

1218: ar_codes.vat_tax_id tax_code_id,
1219: decode(l_multi_org_flag,'N',l_org_id,ar_codes.org_id) org_id,
1220: ar_codes.tax_code tax_code,
1221: 'OUTPUT' tax_class,
1222: Zx_Migrate_Util.GET_TAX_REGIME(
1223: ar_codes.tax_type,
1224: decode(l_multi_org_flag,'N',l_org_id,ar_codes.org_id)) tax_regime_code,
1225: -- YK:02/09/2005:Needs substrb
1226: NVL(CASE WHEN ar_codes.global_attribute_category IN ('JE.CZ.ARXSUVAT.TAX_ORIGIN',

Line 1243: RTRIM(SUBSTRB(Zx_Migrate_Util.GET_TAX(

1239: and org_id = ar_codes.org_id)
1240: ELSE
1241: NULL
1242: END,
1243: RTRIM(SUBSTRB(Zx_Migrate_Util.GET_TAX(
1244: ar_codes.tax_code,
1245: ar_codes.tax_type),1,30))) tax,
1246: DECODE(ar_codes.global_attribute_category,
1247: 'JA.TW.ARXSUVAT.VAT_TAX', nvl(ar_codes.global_attribute1,'STANDARD'),

Line 1254: zx_migrate_util.get_country(decode(l_multi_org_flag,'N',l_org_id,ar_codes.org_id)) country_code,

1250: 'I', 'STANDARD-AR-INPUT',
1251: 'STANDARD')) tax_status_code,
1252: NULL recovery_type_code,
1253: 'N' frozen,
1254: zx_migrate_util.get_country(decode(l_multi_org_flag,'N',l_org_id,ar_codes.org_id)) country_code,
1255: fnd_global.user_id created_by,
1256: sysdate creation_date,
1257: fnd_global.user_id last_updated_by,
1258: sysdate last_updated_date,

Line 1564: IF zx_migrate_util.is_installed('AP') = 'Y' THEN

1560:
1561: );
1562:
1563:
1564: IF zx_migrate_util.is_installed('AP') = 'Y' THEN
1565: /*------------------------------------------------------------------------------------
1566: |
1567: | For Brazilian Regimes : BR-IPI when BR-ICMS Regime exists
1568: |

Line 1911: IF zx_migrate_util.is_installed('AR') = 'Y' THEN

1907: WHERE tax_regime_code = 'BR-ISS');
1908:
1909: END IF;
1910:
1911: IF zx_migrate_util.is_installed('AR') = 'Y' THEN
1912: /*-------------------------------------------------------------------------
1913: |
1914: | For GTE US Sales Tax Regimes
1915: | It also inserts zx_regimes_tl.