-
Notifications
You must be signed in to change notification settings - Fork 687
Added purchasers & return reasons to existing purchase documents #29345
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
base: main
Are you sure you want to change the base?
Added purchasers & return reasons to existing purchase documents #29345
Conversation
|
Processing this PR. The branch is now locked 🔒 Please don't push updates unless otherwise agreed. |
.../ContosoCoffeeDemoDataset/app/DemoData/Purchases/1.Setup Data/CreateReturnReason.Codeunit.al
Outdated
Show resolved
Hide resolved
|
I'm getting build errors: |
@JesperSchulz Thank you, I've addressed these errors. |
I've pushed your latest changes, but I get the exact same errors from the build system 😔 |
@JesperSchulz The error pointed to this breaking change that I fixed in this commit already: 4f2f38d |
Not entirely sure what's going on. Let me start by changing the ReturnReasonCode to length 10 rather than 20. That's not what it's complaining about, but its a mistake nonetheless and it will retrigger a new run. |
|
OK, now I got past those build errors. Unfortunately I'm now running into similar local database build issues as in #29347 :-( Here the message: That roughly translates into: You must enter the document number from the vendor document in the Vendor Credit Note Number field so that this document remains |
|
@JesperSchulz Great catch, I will also investigate this build error and push new update for ReturnReasonCode Text[10]. |
1890ef5
but CZ is giving me another error which seems irrelevant to my PR changes. Upon investigation, I found the purchase document dates in this codeunit are in 2023. My understanding is the CZ Localization app only creates VAT Periods records for 2 years from today's date which is from 2024 up until now. And this error didn't come up before the Christmas break because it was still 2025 and would have created VAT Period entries 2 years from 2025, so the app still created VAT Period for 2023. Can you test if you are getting the same issue in CZ? |
Sure can! Stay tuned :-) |
|
Looks like we've got a ton of merge issues :-( Other changes were made to the same objects to address a different issue. Let me sync the repos. Maybe it just looks bad, but is easy to merge? I'll do a sync right away. |
Change log:
Fixes #29344
Fixes AB#599397