DavidFeldhoff / al-codeactions

MIT License
17 stars 8 forks source link

Possibility to create a procedure in table when you are using the CodeAction from a page #66

Closed wbrakowski closed 3 years ago

wbrakowski commented 4 years ago

Hi David, would it be possible to extend the functionality a bit to also create a procedure in the Source Table of a Page? When I am in a custom page, I would like to have the business logic in my custom table instead of the page.

image

Maybe by adding a second option "Create Procedure 'XYZ' in Table 'CustomTable'"?

Not sure if that is too complicated, but I had two cases where I needed that :-)

DavidFeldhoff commented 4 years ago

Let me see what I can do, but this week is again quite busy, so please give me some time :)

DavidFeldhoff commented 3 years ago

Hi Waldemar, it seems this issue was postponed a bit ^^ Sorry for that. I picked it up last week and just published a new version. It should work now. If you're on a page and the feature "NoImplicitWith" is not activated in the app.json, then you do now have an action "Create procedure xy on source table". If the feature is set in the appjson, then the code action will not appear as it would result in an error (as then the Rec. would be necessary of course).

Best regards David