ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Enum Request] table 5092 Opportunity

Open akontos opened this issue 4 years ago • 1 comments

Please replace Option with enum in Table Opportunity field "Sales Document Type"

field(29; "Sales Document Type"; Enum "Opportunity Sales Doc. Type")
        {
            Caption = 'Sales Document Type';

            trigger OnValidate()
            begin
                if "Sales Document Type" = xRec."Sales Document Type" then
                    exit;
                if "Sales Document Type" = "Sales Document Type"::" " then
                    Validate("Sales Document No.", '');
            end;
        }
enum 1234 "Opportunity Sales Doc. Type"
{
    Extensible = true;
    value(0; " ") { Caption = ' '; }
    value(1; "Quote") { Caption = 'Quote'; }
    value(2; "Order") { Caption = 'Order'; }
    value(3; "Posted Invoice") { Caption = 'Posted Invoice'; }
}

akontos avatar Jan 04 '22 10:01 akontos

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.

JesperSchulz avatar Jan 12 '22 06:01 JesperSchulz