I am creating PA employee expenses through eConnect stored procs. The only issue I am having is that the distribution for the tax component has the same value for both the originating and functional currencies. The document seems to integrate fine. When I post it, it goes through the PA module and runs into problems in the PM module. I then have to manually go into the the voucher in PM, amend the distribution and post the batch again through PM.
The tax amount is 2 euros (originating), which is 1 gbp (functional). I pass in the value of 2 for the tax amount, and GP stores this value in doc line and doc header tables just fine, and also stores the correct tax amount and originating tax amount in the PA EE tax work table. But the distribution shows both 1 for originating, and 1 for functional.
Everything seems correct, not a single other issue. When I create a transaction in the functional amount, no errors. eConnect allows the currency ID to be passed through in the header and lines but not the tax insert proc. I don't want to modify the post proc.
Any ideas anyone?
*This post is locked for comments