Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error processing #1

Open
TrudAX opened this issue Jun 1, 2020 · 5 comments
Open

Error processing #1

TrudAX opened this issue Jun 1, 2020 · 5 comments

Comments

@TrudAX
Copy link

TrudAX commented Jun 1, 2020

That looks good, but how do you work with validation errors? Like you import file with 100 lines, execute data project for it, then 3 lines don’t pass validation(for example – item not found) and you will have a journal with 97 lines as a result. How do you notify a user that this journal doesn’t contain all lines from the file?

@ganroman
Copy link
Owner

ganroman commented Jun 2, 2020

Hello TrudAX. Thanks for your response. In the newer version of LogicApp (which I haven't released yet), I check the execution status of package import. If it's "Partly succeeded", then there is something to look into and a notification mail can be sent to an administrator. Would it be a suitable solution for you?

@TrudAX
Copy link
Author

TrudAX commented Jun 2, 2020

Yes, some notification will be very helpful, thank you.
But what will be a full user story in this case? I am a user, I login to D365 and see some price journals. Before starting working with a journal I need to call an administrator and ask him to check the mailbox?

@ganroman
Copy link
Owner

ganroman commented Jun 2, 2020

Well, in case, when no all price lines were imported correctly, one could mark the price journal with some token (like "*") in the name from out logic app (will try to integrate this one too). I would treat each and every scenario depending on it's severity and situation. What would you suggest, looking forward your feedback

@TrudAX
Copy link
Author

TrudAX commented Jun 3, 2020

ok, imagine you are a user and you see a journal with a "*". Your next question probably will be - what is wrong(for example Item doesn't exist). Then you need to either correct this error(by creating an item and process the file again) or just ignore it. Something like that

@ganroman
Copy link
Owner

ganroman commented Jun 3, 2020

Well, again, depending on scenario, one could try to count number of rows in CSV vs. number of lines in Trade agreement journal. But DIXF integration is always like that: you don't have an immediate control over all lines, you're trying to import. In goes smooth as long as you have a strong data contract

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants