microsoft / ALAppExtensions

Repository for collaboration on Microsoft AL application add-on and localization extensions for Microsoft Dynamics 365 Business Central.
MIT License
785 stars 620 forks source link

[Enum Request] - Table 740 "VAT Report Header" - Field 2 "VAT Report Config. Code" #21107

Closed oldmat closed 1 year ago

oldmat commented 1 year ago

Hello,

we ask you to transform the Option field

2 "VAT Report Config. Code"

on Table 740 "VAT Report Header" to "Enum", in order to allow us to extend it with custom values.

Thank you !

RadoArvay commented 1 year ago

What version of BC are you talking about?? Because "VAT Report Configuration" enum already exists some time in W1.

oldmat commented 1 year ago

Business Central IT 21.0.46384.46844

740 "VAT Report Header":

table 740 "VAT Report Header"
{
    Caption = 'VAT Report Header';
    LookupPageID = "VAT Report List";

    fields
    {
        field(1; "No."; Code[20])
        {
            Caption = 'No.';

            trigger OnValidate()
            begin
                if "No." <> xRec."No." then begin
                    NoSeriesMgt.TestManual(GetNoSeriesCode());
                    "No. Series" := '';
                end;
            end;
        }
        field(2; "VAT Report Config. Code"; Option)
        {
            Caption = 'VAT Report Config. Code';
            Editable = true;
            **OptionCaption = ' ,VAT Transactions Report,Datifattura';
            OptionMembers = " ","VAT Transactions Report",Datifattura;**

            trigger OnValidate()
            begin
                CheckEditingAllowed();
            end;
        }
        field(3; "VAT Report Type"; Option)
        {
            Caption = 'VAT Report Type';
            OptionCaption = 'Standard,Corrective,,,,,,,,,Cancellation ';
            OptionMembers = Standard,Corrective,,,,,,,,,"Cancellation ";

            trigger OnValidate()
            var
AlexanderYakunin commented 1 year ago

Hello! We cannot make this change as IT option list is very different from W1. Can you share why do you need this change? We have Regulatory Feature team who is responsible for local requirements and VAT Reporting is not an area which should be updated by partners, this is MS responsibility. What are legal requirements we are missing here?

oldmat commented 1 year ago

Hello! We use the field 2 "VAT Report Config. Code" of the 740 table to manage the data to fulfill the italian fiscal requirement called "Esterometro". An italian company has to declare the received foreign purchase invoices choosing one method between the ordinary electronic invoicing and the "Esterometro".

AlexanderYakunin commented 1 year ago

Are you aware what we have special team responsible for legal requirements support and you simply need to create an idea on aka.ms/bcideas to request it? We cannot make this as extensibility request.

oldmat commented 1 year ago

Ok, I'll follow that way.