ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

Item Charge Assignment (Purch) - CreateSalesShptChargeAssgnt no longer works

Open tfbtrading opened this issue 6 years ago • 5 comments

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.

tfbtrading avatar Jan 21 '20 21:01 tfbtrading

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.

RomanZanizdra avatar Feb 20 '20 06:02 RomanZanizdra

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.

tfbtrading avatar Feb 20 '20 22:02 tfbtrading

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.

RomanZanizdra avatar Feb 21 '20 06:02 RomanZanizdra

Hi @tfbtrading , any update from your side?

RomanZanizdra avatar Feb 25 '20 07:02 RomanZanizdra

@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.

RomanZanizdra avatar Feb 27 '20 07:02 RomanZanizdra