Hello Community - We have DAX 2012 R3 CU13 was implemented without any issue but recently we discovered a big issue where the sales order invoice can be posted without financial dimension validation stop. Some financial dimensions are configured to be filled for Sales Invoice before posting, if not the system should warn the user and a pop up error appears at the end of the warn message for stopping the post: the warn appears but not the error
not the system is post in this case the invoice but without a voucher.
Can you please help where the issue could be?
Thanks;
*This post is locked for comments
Hi Odai,
Thanks for your additional input. You mentioned that you did prepare another environment and removed the customizations. Did you then also create a new CIL build? If not, the code may run on the old version including customizations.
If you did do the CIL build and it was completed without errors, you can check if probably some localizations might cause this behavior. In the past, I had seen an issue where the coding was wrong. Each validation should take a previous validation result into account. So, the coding should look like:
ret = ret && this.validate....();
In the past I had seen a validation at the end where it only did this:
ret = this.validateMyLocalization();
In that case the previous errors were ignored. If the validation in this last action resulted in true, the previous 'ret' value was lost.
Hi Andre - If you check the message in my first post you will find the error message is not appears at the end but it is appears in the second post (it is from another environment because I just want to mention an example how it should be), anyway the below invoice is posted but without a voucher created because of the financial dimension is not filled in the sales header:
I am sure it is some code in a class or method but I am not sure which one.
I checked already ledgervoucher and ledgervoucherobject classes and found no change what else please?
Thanks indeed
Hi Odai,
The last message shows that the posting has been cancelled. Do you have a posted invoice without the financial voucher? Can you share some more screenshots how you have made the decision that the invoice was posted without the financial impact?
Hi Ludwig - it could be that the invoices posted before the upgrade? I believe this is not to any parameter because the system should stop the posting if the dimension not specified as in the below message;
if one of the financial dimension not specified on the SO then the error message should appears yes? in my case it does not and the invoice is posted but without voucher!!
can you please just tell me which class or table is affected because i think it is related to the code rather than setup.
BTW: I have prepared another similar environment and when I restore a backup for the model store database only, the issue re-produced and I removed all the customization but still the issue remains!! any help will be appreciated.
Thanks
Hi,
Could similar been invoices been posted before you made the upgrade?
Do you know if some parameter changes have been made?
Have you double check the specific SO and checked that findims are filled in the header and the line section?
Best regards,
Ludwig
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,188 Super User 2024 Season 2
Martin Dráb 230,030 Most Valuable Professional
nmaenpaa 101,156