Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.

Adding bound action to Table Api page to automatically add all fields#132

Open
RonKoppelaar wants to merge 3 commits intomicrosoft:mainfrom
cegeka-dsa:original-AddAllFields
Open

Adding bound action to Table Api page to automatically add all fields#132
RonKoppelaar wants to merge 3 commits intomicrosoft:mainfrom
cegeka-dsa:original-AddAllFields

Conversation

@RonKoppelaar
Copy link
Contributor

Adding a bound action called: addAllFields, which could be invoked from the API page ./adlseTables

begin
ADLSEFields.InsertForTable(Rec);
ADLSEFields.SetRange("Table ID", Rec."Table ID");
if ADLSEFields.FindSet() then

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Setting the parameter to true on if ADLSEFields.FindSet(true) then would increase performance.

https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/record/record-findset-boolean-method#parameters

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants