Item Charge Assignment (Purch) - CreateSalesShptChargeAssgnt no longer works
We have code https://community.dynamics.com/business/f/dynamics-365-business-central-forum/377901/code-that-automatically-assigned-charges-worked-in-15-1-and-has-stopped-working-in-15-2-of-business-central documented here that creates item charge assignment. This has stopped working in 15.2 update without reporting errors at compile time or runtime. It just no longer creates an assignment.
Hi @tfbtrading . I would like to suggest you to go through your code by yourself (may be using debugger) and identify the particular place and root cause why item charge assignments are not inserted. And if this is an application bug then please log it in the relevant support channel. Let's close the current issue for now.
I have reviewed our code. I still believe that since the code works prior to an update and failed afterwards it is a genuine bug. We have traced it to the fact that it appears there is a delayed insert on the line. You can resolve the bug by first moving out of the row (forcing a line insert) and then back into it. For me the bug is that it doesn’t report any error and the code should actually first ensure the line is inserted and if not save that line.
Kind regards,
Russell Kallman Sales & Operations Mgr TFB Trading Australia Pty Ltd
From: RomanZanizdra [email protected] Sent: Thursday, 20 February 2020 5:59 PM To: microsoft/ALAppExtensions [email protected] Cc: Russell Kallman [email protected]; Mention [email protected] Subject: Re: [microsoft/ALAppExtensions] Item Charge Assignment (Purch) - CreateSalesShptChargeAssgnt no longer works (#5652)
Hi @tfbtradinghttps://github.com/tfbtrading . I would like to suggest you to go through your code by yourself (may be using debugger) and identify the particular place and root cause why item charge assignments are not inserted. And if this is an application bug then please log it in the relevant support channel. Let's close the current issue for now.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/microsoft/ALAppExtensions/issues/5652?email_source=notifications&email_token=AKFAGXQS7M2EVLE5JWQT6ULRDYS2NA5CNFSM4KJ3IOL2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMK72OQ#issuecomment-588643642, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AKFAGXVAFQFFGZ4BL55YI43RDYS2NANCNFSM4KJ3IOLQ.
Hi @tfbtrading . It's very difficult to discuss words about code. I kindly ask you to show me the particular code and place where you think there is a problem.
Hi @tfbtrading , any update from your side?
@tfbtrading , I suggest to close current issue. Feel free to re-open it when there will be enough information to discuss or log a bug in a relevant support channel.