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

Intrastat issue(?) - Handling with temporary salesheader #23041

Closed
NAVFreak opened this issue Apr 19, 2023 · 2 comments
Closed

Intrastat issue(?) - Handling with temporary salesheader #23041

NAVFreak opened this issue Apr 19, 2023 · 2 comments
Labels
extensibility-bug Something in the public APIs isn't working the way it should be ships-in-future-update Fix ships in a future update

Comments

@NAVFreak
Copy link

I was investigating which ways led to Session.LogMessage('0000G95' and then I discoved that I ended up there via the intrastat app.

Suggestion is to add so this code won't execute if the salesheader.isTemporary() in tableextension "Intrastat Report Sales head."

tableextension 4815 "Intrastat Report Sales Head." extends "Sales Header" 
{
    fields
    {
        modify("Sell-to Customer No.")
        {
            trigger OnAfterValidate()
            begin
                if IntrastatReportSetup.Get() and (IntrastatReportSetup."VAT No. Based On" = IntrastatReportSetup."VAT No. Based On"::"Sell-to VAT") then
                    UpdateIntrastatFields("Sell-to Customer No.");
            end;
        }
@AlexanderYakunin AlexanderYakunin added the extensibility-bug Something in the public APIs isn't working the way it should be label Apr 21, 2023
@JesperSchulz JesperSchulz added the ships-in-future-update Fix ships in a future update label May 23, 2023
@JesperSchulz
Copy link
Contributor

Availability update: We will publish a fix for this issue in the next update for release 22.

Build ID to track: 56913.

@JesperSchulz
Copy link
Contributor

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

Build ID: 10881.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extensibility-bug Something in the public APIs isn't working the way it should be ships-in-future-update Fix ships in a future update
Projects
None yet
Development

No branches or pull requests

3 participants