Process to add fields in the Data Entity and Updating the methods in Data Entity Property




Process to add fields in the Data Entity and Updating the methods in Data Entity Property:

We can create a new data entity by duplicating the standard data entity or you can create the  extension of the standard Data Entity.

Please find the below example:

Step(1) Duplicate the standard Data Entity SalesOpenSalesPriceJournalLineEntity.

Say Test_SalesOpenSalesPriceJournalLineEntity and regenerate the  staging table.

Add a new field  say Test_ItemPriceGroupCode.


Step(2) Go to the property of the field-Test_ItemPriceGroupCode and add the new method say Test_SalesOpenSalesPriceJournalLineEntiy_Extension in the Data Entity View Method as  Test_SalesOpenSalesPriceJournalLineEntiy_Extension::ItemPriceGroupCode.



Thanks
Dynamics 365 Learner

Comments

Popular posts from this blog

Identifying the Database Synchronization Issue in D 365 FO

Steps to create new cheque layout in D365 FO

SSRS Reports using the QueryInsertRecordSet in D 365 FO