EConnect input multicurrency I / O entry
I am trying to use econnect to insert TimeSheet Entry packages from an external system via "taPATimeSheetLineInsert".
When using fuctionnal currency, everything works fine.
The problem is that when I use a different currency, ACCOUNTED INCOME is set to 0.
I tried to enter the same entry manually into GP and the accumulated earnings are fine. When you look at it in the UI, everything is the same in both schedule lists.
(I have specified a currency ID that is different from the functional currency, and I am providing PAUNITCOST on the eConnect request.)
If I look at the PA10001 table, there are differences between the manually inserted record and the one inserted using eConnect because the value of "PA_Base_Billing_Rate" and "PAORIGBSBILLRTE" is set to 0. The ACCORDED REVENUE column is obviously also different.
There is no option in taPATimeSheetLineInsert that can help me, so I don't know what to do to make it work!
Please, help!
a source to share
Just to report that we have resolved the issue "temporarily" and I would not be interested in finding an unanswered post about this issue if I were someone else having the same issue.
The problem with econnect storedproc (taPATimeSheetLineInsert) is that it does things differently than the schedule entry inside the GP.
It looks like it is trying to use the estimated profit amount instead of the profit amount set in the project budget.
It's funny that there is no data available in the Forecast and that the stored procedure tries to get it anyway.
At this point, we have added some code to get paprofitamt instead of paforecastbaseprofitamt.
I still don't remember why the code was created this way, but everything works fine.
Good luck!
a source to share