DBA Data[Home] [Help]

APPS.ZX_TDS_TAXABLE_BASIS_DETM_PKG dependencies on STANDARD

Line 595: IF l_formula_code IN ('STANDARD_TB', 'STANDARD_QUANTITY') THEN

591: parameter_tbl(l_tax_id).basiscoef:= 1;
592: parameter_tbl(l_tax_id).constcoef:= 0;
593: parameter_tbl(l_tax_id).overrideconst:= 0;
594:
595: IF l_formula_code IN ('STANDARD_TB', 'STANDARD_QUANTITY') THEN
596:
597: -- When formula code is STANDARD_TB, the rate type should be PERCENT.
598: -- When formula code is STANDARD_QUANTITY, the rate type should be QUANTITY. Otherwise
599: -- multiplying taxable basis by tax rate will give incorrect result.

Line 597: -- When formula code is STANDARD_TB, the rate type should be PERCENT.

593: parameter_tbl(l_tax_id).overrideconst:= 0;
594:
595: IF l_formula_code IN ('STANDARD_TB', 'STANDARD_QUANTITY') THEN
596:
597: -- When formula code is STANDARD_TB, the rate type should be PERCENT.
598: -- When formula code is STANDARD_QUANTITY, the rate type should be QUANTITY. Otherwise
599: -- multiplying taxable basis by tax rate will give incorrect result.
600: IF ( l_formula_code = 'STANDARD_TB' AND
601: ZX_TDS_CALC_SERVICES_PUB_PKG.g_detail_tax_lines_tbl(i).tax_rate_type <> 'PERCENTAGE' )

Line 598: -- When formula code is STANDARD_QUANTITY, the rate type should be QUANTITY. Otherwise

594:
595: IF l_formula_code IN ('STANDARD_TB', 'STANDARD_QUANTITY') THEN
596:
597: -- When formula code is STANDARD_TB, the rate type should be PERCENT.
598: -- When formula code is STANDARD_QUANTITY, the rate type should be QUANTITY. Otherwise
599: -- multiplying taxable basis by tax rate will give incorrect result.
600: IF ( l_formula_code = 'STANDARD_TB' AND
601: ZX_TDS_CALC_SERVICES_PUB_PKG.g_detail_tax_lines_tbl(i).tax_rate_type <> 'PERCENTAGE' )
602: -- add following condition for bug fix 5481559

Line 600: IF ( l_formula_code = 'STANDARD_TB' AND

596:
597: -- When formula code is STANDARD_TB, the rate type should be PERCENT.
598: -- When formula code is STANDARD_QUANTITY, the rate type should be QUANTITY. Otherwise
599: -- multiplying taxable basis by tax rate will give incorrect result.
600: IF ( l_formula_code = 'STANDARD_TB' AND
601: ZX_TDS_CALC_SERVICES_PUB_PKG.g_detail_tax_lines_tbl(i).tax_rate_type <> 'PERCENTAGE' )
602: -- add following condition for bug fix 5481559
603: OR ( l_formula_code = 'STANDARD_QUANTITY' AND
604: ZX_TDS_CALC_SERVICES_PUB_PKG.g_detail_tax_lines_tbl(i).tax_rate_type <> 'QUANTITY' )

Line 603: OR ( l_formula_code = 'STANDARD_QUANTITY' AND

599: -- multiplying taxable basis by tax rate will give incorrect result.
600: IF ( l_formula_code = 'STANDARD_TB' AND
601: ZX_TDS_CALC_SERVICES_PUB_PKG.g_detail_tax_lines_tbl(i).tax_rate_type <> 'PERCENTAGE' )
602: -- add following condition for bug fix 5481559
603: OR ( l_formula_code = 'STANDARD_QUANTITY' AND
604: ZX_TDS_CALC_SERVICES_PUB_PKG.g_detail_tax_lines_tbl(i).tax_rate_type <> 'QUANTITY' )
605: THEN
606:
607: p_return_status:= FND_API.G_RET_STS_ERROR;

Line 638: -- When formula code is STANDARD_TB then no discounts or charges are

634: RETURN;
635:
636: END IF;
637:
638: -- When formula code is STANDARD_TB then no discounts or charges are
639: -- applicable. Base rate modifier is set to 1
640: parameter_tbl(l_tax_id).discount:= 0;
641: parameter_tbl(l_tax_id).base_rate_modifier:= 1;
642:

Line 660: ELSIF l_formula_code <> 'STANDARD_QUANTITY' THEN

656: -- parameter_tbl(l_tax_id).constcoef:= 0;
657: -- parameter_tbl(l_tax_id).overrideconst:= 0;
658: -- end if;
659:
660: ELSIF l_formula_code <> 'STANDARD_QUANTITY' THEN
661:
662: open getFormulaInfoH(l_formula_code,l_tax_date);
663: fetch getFormulaInfoH
664: into l_FORMULA_ID,

Line 1127: IF parameter_tbl(l_tax_id).formula_code = 'STANDARD_QUANTITY' THEN

1123:
1124: ZX_TDS_CALC_SERVICES_PUB_PKG.g_detail_tax_lines_tbl(i).taxable_basis_formula:=
1125: parameter_tbl(l_tax_id).formula_code;
1126:
1127: IF parameter_tbl(l_tax_id).formula_code = 'STANDARD_QUANTITY' THEN
1128: -- For quantity based taxes, the calculation is not performed using
1129: -- the regular calculation cycle. Hence calculate the taxable amt
1130: -- and tax amt for quantity based taxes.
1131: -- For quantity based taxes, taxable amt is set equal to quantity