SBX - Search With Button

SBX - Forum Post Title

The page could not be edit

Dynamics 365 Business Central Forum

Ruining asked a question on 9 Aug 2018 5:50 AM
My Badges

Question Status

Suggested Answer

Hi everyone,

I have create an action to open a new page in sales order. The new page type is standardialog. Howeve, even I set editable to true everywhere. The page is still no editable. I also want to know how to trigger an action or procedure after click the ok button for this standardialog. Thank you guys so much.

table 50139 TRCshipmentAutomaion
{
DataClassification = ToBeClassified;

fields
{
field(50000; NO; Integer)
{
AutoIncrement = true;
Editable=true;
}

field(50001; OderNoStart; Code[30])
{
TableRelation = "Sales Header"."No.";

}
field(50002; OrderNoEnd; Code[30])
{
TableRelation = "Sales Header"."No.";
}
field(50003; AutoPack; Option)
{
OptionMembers = "Yes","No";
}
}

keys
{
key(PK; NO)
{
Clustered = true;
}
}

var
myInt: Integer;

trigger OnInsert()
begin

end;

trigger OnModify()
begin

end;

trigger OnDelete()
begin

end;

trigger OnRename()
begin

end;
}

page 50133 TRCShipmentAutomation
{
PageType = StandardDialog;
SourceTable = TRCshipmentAutomaion;
Editable=true;
layout
{
area(content)
{
group(Detail)
{
field(OderNoStart; OderNoStart)
{
ApplicationArea = All;
Lookup = true;
}
field(OrderNoEnd; OrderNoEnd)
{
ApplicationArea = All;
Lookup = true;
}
field(AutoPack; AutoPack)
{
DrillDown = true;
ApplicationArea = All;
}
}
}
}

actions
{
area(processing)
{
action(ActionName)
{
trigger OnAction()
begin

end;
}
}
}
}
Reply
Suggested Answer

Hi, 

Did you try changing the page type to Card?

Reply
Suggested Answer

Hi, 

Did you try changing the page type to Card?

Reply

SBX - Two Col Forum

SBX - Migrated JS