Frosty the Coder
Legendary Poster
List,
I'm trying to use the bsfns "F4211 Accumulate Sales Tax Summary" and
"Tax, Calculate for Sales and Purchasing" in some custom code.
Using Online Invoice (P42230) as a model, I call the F4211 Accumulate twice.
First passing a "4" to destroy the arrays, and then passing a "3" to initialize them.
W/in a loop, I read F4211.
For each row, I call "Tax, Calculate for Sales and Purchasing".
I then call "F4211 Accumulate..." passing a 1 to accumulate.
About hafl of my test orders match to online invoice.
The others return errors from "Tax, Calc..." stating
"Taxable Amount greater than Gross" and "Pay Item out of Balance".
I don't know what causes these errors, from w/in the "Tax, Calc", and am stuck on it.
Any suggestions would be appreciated.
TIA
Gene
I'm trying to use the bsfns "F4211 Accumulate Sales Tax Summary" and
"Tax, Calculate for Sales and Purchasing" in some custom code.
Using Online Invoice (P42230) as a model, I call the F4211 Accumulate twice.
First passing a "4" to destroy the arrays, and then passing a "3" to initialize them.
W/in a loop, I read F4211.
For each row, I call "Tax, Calculate for Sales and Purchasing".
I then call "F4211 Accumulate..." passing a 1 to accumulate.
About hafl of my test orders match to online invoice.
The others return errors from "Tax, Calc..." stating
"Taxable Amount greater than Gross" and "Pay Item out of Balance".
I don't know what causes these errors, from w/in the "Tax, Calc", and am stuck on it.
Any suggestions would be appreciated.
TIA
Gene