
Hi experts ;)
I'm struggling with the following. I've a custom page (AL Extension) based on Integer table.
On the page I've a Code field wich is linked to Customer Table by a OnLookUp.
But...I'd like that the code behaves like the Quick Entry option when you use this customer data directly like on a Customer Card or any other page where you use a field with a Tablerelation to Customer.
Could anyone tell me if this is possible and what I'm missing now?
Thanks in advance
Frank
page 50028 "RNB Shipping Wizard Header"
{
Caption = 'Shipping Wizard', Comment = '[NLD = Expeditie verzendwizard]';
PageType = Card;
UsageCategory = Tasks;
ApplicationArea = All;
SourceTable = Integer;
SaveValues = true;
SourceTableTemporary = true;
LinksAllowed = false;
ShowFilter = false;
layout
{
area(Content)
{
group(Filters)
{
field("Customer_No_Filter"; CustomerNoFilter)
{
Caption = 'Customer No. Filter', Comment = '[NLD = Klantnr. filter]';
ApplicationArea = All;
QuickEntry = true;
trigger OnValidate()
begin
GetRecords();
end;
trigger OnLookup(var Text: Text): Boolean
var
Customer: Record Customer;
begin
if not Customer.Get(CopyStr(CustomerNoFilter, 1, MaxStrLen(Customer."No."))) then
Clear(Customer);
if Page.RunModal(page::"Customer List", Customer) = Action::LookupOK then begin
CustomerNoFilter := Customer."No.";
GetRecords();
end;
end;
} Hello,
We currently do not have dedicated Dev support via the Dynamics 365 Business Central forums, but I wanted to provide you some additional resources to assist. If you need assistance with debugging or coding I would recommend discussing this on one of our communities.
dynamicsuser.net/.../developers
I will open this up to the community in case they have something to add.
Thanks