Hi,
I extended FreeTextInvoiceHeaderEntity and add a simple oData action method.
[ExtensionOf(tableStr(FreeTextInvoiceHeaderEntity))] final class FreeTextInvoiceHeaderEntity_Test_Extension { ////// Infolog /// [SysODataActionAttribute('Post', true)] public void post() { info('FreeTextInvoiceHeaderEntity-Post'); } }
Then I create a power automate flow with Fin & Ops connector. In Execute Action, I'm unable to see my custom method to run in the flow.
I made sure to refresh entity list, restart DIXF service in DEV environment, but still the action method is not visible.
What am I missing? As far as I know, adding SysODataActionAttribute to the method is the only thing we need to do.
I was referring to official documentation here https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/data-entities/odata#exposing-odata-entities .
Thank you.