web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Business Central forum

The page could not be edit

(0) ShareShare
ReportReport
Posted on by

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.

WeChat-Screenshot_5F00_20180809184852.png

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;
}
}
}
}
Categories:
  • Suggested answer
    Tharanga Chandrasekara Profile Picture
    23,118 on at

    Hi, 

    Did you try changing the page type to Card?

  • Community Member Profile Picture
    on at

    Yes, I did. I try change the page type to card as well. Only  changing to List and link to another page could be edited. I'm not sure is that related to the page which I add action on? Thank you for replying.

  • Verified answer
    Community Member Profile Picture
    on at

    Remove the source table and use Temp veriable to display could solve the problem in my case.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans