Thanks
--
Fliehigh
{-------------------------------------------------------------------------------
RW_GetTaxDetailHeading(nSeries)
Returns the line item heading for a tax detail
-------------------------------------------------------------------------------}
function returns string GetTaxDetailHeading;
in integer nSeries;
in integer nColumn;
nSeries values can be 3 (Sales) and 4 (Purchasing) and; nColumn values can
be 1, 2, 3 for columns 1 through 3.
Now, if you are calculating term discounts before taxes or you have
Australian GST or Canadian GST enabled, then the function will disregard the
series and return the following string values for column values 1 through 3:
1 - Tax Analysis:
2 - Gross Amount
3 - Tax Amount
If you are not using GST or calculating term discounts before taxes, then
the function will look at the series and the column values and return the
following strings:
If the series is Purchasing (nSeries = 4), the function returns the
following string values for column values 1 through 3:
1 - Total Line Taxes
2 - Taxable Purchases
3 - Tax Amount
If the series is Sales (nSeries = 3), the function returns the following
string values for column values 1 through 3:
1 - Total Line Taxes
2 - Taxable Sales
3 - Tax Amount
I don't have any specific samples on how this function is used, but it
sounds it is probably use on some tax report somewhere.
Best regards,
--
MG.-
Mariano Gomez, MIS, MCP, PMP
Maximum Global Business, LLC
http://www.maximumglobalbusiness.com
The Dynamics GP Blogster at http://dynamicsgpblogster.blogspot.com