17
The function AssignLotNo is marked as local scope, no other page actions can be created to use this function.

My requirement is that we need a new action for 'Assign Lot No. and then Do Something', so the idea is to create a new action called AssignLotNoAndDoSomething in a page extension and call the base BC AssignLotNo function, then after that call my DoSomething function. This is currently not possible because of the local scope. We need both actions since they both would serve similar, but different purposes.

action(AssignLotNoAndDoSomething)
{
trigger OnAction()
begin
AssignLotNo();
DoSomething();
end;
}
}

The above code give this error "error AL0118: The name 'AssignLotNo' does not exist in the current context"
Category: Development
STATUS DETAILS
Declined
Ideas Administrator

Thank you for this suggestion! This is an app extensibility request that should be copied/filed as an 

issue of type "make function external" in https://github.com/microsoft/alappextensions/issues 

Resolving this idea as rejected

Best regards,
Business Central Team