Hi All,
I am able to create a Journal Voucher from custom BO via AccountingEntry create/submitforposting/post along with Cost Centre ID assignment.
However, I am unable to assign value to the Project Task field - there is no sub node for it and after populating the possible element FinancialAccountingViewOfProjectTaskReference I find that it doesn't get passed into the item when the JV document is created.
Some of the coding I use is as follows (lines 73-75 do not seem to work).
During Debugging I see that these fields do get the values I expect to pass.
An attempt to post these values resulted in the following - Type PRO / Project task value did not get assigned:
Maybe I am using the wrong element - from the repository explorer I used:
Hoping someone might be able to help!!
Regards
Jay