Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Dynamics 365 Community / Forums / Finance forum / Data Entity Unmapped F...
Finance forum

Data Entity Unmapped Field behaviour with postLoad()

(2) ShareShare
ReportReport
Posted on by 530

Hi All,

I am designing edit in excel experience wherein whatever field is displayed on form has to be made available in excel for editing and publishing. I have created an entity AVACoefficientsEntity for a custom table, since the form for the table AVACoefficients had two data methods, I added two unmapped string fields to the entity. I have set the IsComputedField property to No and to populate data into these two fields I overrode postLoad() method on entity as follows:-
public void postLoad()

    {

       

        this.RelationEdit=this.Description;                           

       

        this.ProductName=EcoResProduct::find(this.Product).productName();

       

        super();

    }

Now, this works fine when I open the excel, I find data in these two fields. Insert operation works fine but if I try to delete a row in excel it doesn’t works and throws error:-
Error Publishing Row Details: The deletion of a row in data set Coefficients was not published. Error message: 'No resources were found when selecting for update.'
Since delete doesn’t works so update also fails.  If I comment the postLoad method although I do not find data in the two columns in excel but delete, insert and update operations work fine.
The problem is that I can't skip those two unmapped fields and I need those two fields on my excel.


  • AS-30042044-0 Profile Picture
    60 on at
    Data Entity Unmapped Field behaviour with postLoad()
    #CFMR
  • tristansenk99 Profile Picture
    89 on at
    RE: Data Entity Unmapped Field behaviour with postLoad()

    Hi, 

    Did you ever resolve this issue?

    I have the same issue and could use your help.

    Thanks!

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Finance forum

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans