to get a personalized navigation.
to get a personalized navigation.
Hey,
I'm unable to upload attachments to journal transactions for batches with the module "ModuleIN". "ModuleGL" works just fine.
I've tested in the web ui and I'm able to upload attachments perfectly fine.
When I try to upload an attachment to a journalTransaction with "ModuleIN" i receive a status 400 with a json body stating { "message": "Journal transaction not found: NN" }.
I have not tested with other modules.
Solved! Go to Solution.
Hello, just an update on the implementation plan, API will be following the ERP Financials UI structure so that the team is planning to extend the functionality of the journal transaction endpoint to cover attachment processes per Ledger / document type available.
Hello, we're able to reproduce the issue.
It appears all other Journal Transaction Modules than the General Ledger Type being returned the error "JT not found". This issue has been elevated to the relevant team to be fixed. Thank you for reporting this out.
POST > https://integration.visma.net/API/controller/api/v2/journaltransaction/xxxx/attachment
General Ledger - OK
Supplier Ledger - Failed
Customer Ledger - Failed
Currency Management - Failed
Cash Management - Failed
Inventory - Failed
Thanks, Ole !
Background
Journal transactions can only be created for the workspace/module General ledger (also from UI). The endpoint JournalTransactionV2 is created based on this principle. Other workspaces/modules documents are created in respective module (example AR, AP, IN etc) and just ends up in Journal transactions. The attachments (for example customer invoice) are created in these worksapces/modules but not visible and not following to the Journal transaction document.
So right now the design is only to be able to add Journal transaction attachments for General ledger. For example, it's possible to have same/colliding journalTransactionNumber for General ledger and other modules. In Swagger, there is right now missing the possibility to provide Workspace/module as parameter to handle this scenario.
On the other hand, from UI it's possible to add attachments in Journal transactions (both header and line) for transactions already created from other modules. One example is that You can use the customer invoice file and add it to the journal transaction.
Conclusion
Request of extending the functionality.
Solution:
To be discussed/decided by the team.
Hi!
We'll have a look and get back to you.
Copyright © 2022 Visma.com. All rights reserved.