Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

On disabling my custom ConfigurationKey, and on creating an Invoice Journal through my custom Data Entity, the invoice journal is created in company dat

$
0
0

Hi All,

I have created a custom Configuration Key say MyConfKey.

I have also created a data entity named VendorInvoiceJournalEntity which fetches Vendor InvoiceJournal records. I can use this entity to create invoice journals even (POST call). I have tagged this data entity with MyConfKey as well.

Now, when I disable this configuration key, and POST a call to my VendorInvoiceJournalEntity (with dataAreaId = usmf), then a new record is created, but its created under dat company.

I understand that disabling configuration key disables all your custom-code which are under this configuration key and hence the AX compiler cant see them. So I expected a 404 Not found error. But the actual behavior is quite strange. Even if (for some strange reason) the invoice journal does get created, it should have been created inside the originally passed usmf company. Why its created in dat company?

Any reasons / suggestion?


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>