Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

rw_GetTaxDetailheading

17 views
Skip to first unread message

Fliehigh

unread,
Jan 8, 2010, 10:43:01 AM1/8/10
to
Does anyone know where I can find out how to use this report writer function?
It is not listed in the SDK.

Thanks
--
Fliehigh

Mariano Gomez

unread,
Jan 8, 2010, 2:36:01 PM1/8/10
to
This is the function signature:

{-------------------------------------------------------------------------------
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

0 new messages