Announcements
Hello,
I'm working on 3 extensions controlled by 3 boolean fields in company information.
Those extensions have no dependencies.
In each extension, I created a page extension to company information and I put that field in new group named "X Pack".
The result is that the same group name showed 3 time in company information page !!
Is there any way to check the page group already exist or not ?? or any idea how to group all those field in same page group ?
Hi Amit,
Application Area is not allowed inside the group
Thanks
/Extension A:
pageextension 50801 "Company Information LUX" extends "Company Information"
{
layout
{
addafter("User Experience")
{
group("X Pack")
{
CaptionML = ENU = 'X Pack', FRB = 'X Pack';
ApplicationArea = All
field(DD; Rec.DC) { ApplicationArea = All; }
}
}
}
}
//Extension B:
pageextension 50801 "Company Information LUX" extends "Company Information"
{
layout
{
addafter("User Experience")
{
group("X Pack")
{
CaptionML = ENU = 'X Pack', FRB = 'X Pack';
ApplicationArea = All;
field(INT; Rec.INT) { ApplicationArea = All; }
}
}
}
}
Pls deployed the updated
Regards
Amit Sharm
www.erpconsultors.com
Thanks for your reply, in fact the code is quite simple.
I would like to check the group already exist then add the field in that existing one, do not create new..
//Extension A:
pageextension 50801 "Company Information LUX" extends "Company Information"
{
layout
{
addafter("User Experience")
{
group("X Pack")
{
CaptionML = ENU = 'X Pack', FRB = 'X Pack';
field(DD; Rec.DC) { ApplicationArea = All; }
}
}
}
}
//Extension B:
pageextension 50801 "Company Information LUX" extends "Company Information"
{
layout
{
addafter("User Experience")
{
group("X Pack")
{
CaptionML = ENU = 'X Pack', FRB = 'X Pack';
field(INT; Rec.INT) { ApplicationArea = All; }
}
}
}
}
Hi,
Please share your code.
André Arnaud de Cal... 291,359 Super User 2024 Season 2
Martin Dráb 230,370 Most Valuable Professional
nmaenpaa 101,156