web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

Method on Data entitiy

(2) ShareShare
ReportReport
Posted on by 382
Hello experts,
 
For example, the employeeResponsibleWorker on CustCustomerV3Entity, what is it used for? Is it similar to display method, or we can map this method to import the data?
 
Thanks,
Categories:
I have the same question (0)
  • Verified answer
    Martin Dráb Profile Picture
    237,807 Most Valuable Professional on at
    You should check Computed columns and virtual fields in data entities in F&O documentation.
     
    employeeResponsibleWorker() defines a computed column (CustCustomerV3Entity.EmployeeResponsibleNumber). It returns a piece of T-SQL code which is then included in the underlying view definition.
     
    It defines just a return value for export; it says nothing about how a value could be imported or whether it's possible or not. You can use both virtual fields and computed columns in import mapping, but you need custom code to define how the value should be processed.
  • Sohaib Cheema Profile Picture
    49,438 User Group Leader on at
    Martin has provided you with a good explanation.
     
    Additionally I have tested the entity and this is the behaviour it shows.
     
    1) On-Export: it export the worker-id(employee Id), for field Employee Responsible of Customer Master record.
     
    2) On-Import: you can specify the a worker-id in the field EMPLOYEERESPONSIBLENUMBER of data entity and that would imported as Employee Responsible of customer master data.
     
     
  • Martin Dráb Profile Picture
    237,807 Most Valuable Professional on at
    The logic for import is implemented in CustCustomerV3Entity.mapEntityToDataSource().
  • Suggested answer
    Cyrille Nembot Profile Picture
    149 on at

    The employeeResponsibleWorker
    in CustCustomerV3Entity is not just a display method - it serves a
    different purpose and has different capabilities than a display method.

    Key Differences from Display Methods

    1. Data Structure: Unlike display methods which are computed at runtime, employeeResponsibleWorker is part of the entity's data model and represents a relationship to a worker (employee).

    2. Import Capability:
      Yes, you can map and import data to this field. It's designed to store a
      reference to the responsible worker/employee for a customer.

    3. Database Storage: This field is persisted in the database, whereas display methods are not.

    Usage

    This field is typically used to:

    • Track which employee is primarily responsible for managing the customer relationship

    • Enable filtering/reporting by responsible employee

    • Drive workflows or assignments based on the responsible worker

    Import Considerations

    When importing:

    • You would typically map this to the worker/employee ID

    • The system expects a valid worker reference that exists in the system

    • You may need to use the worker's personnel number or other unique identifier depending on your import setup

  • Martin Dráb Profile Picture
    237,807 Most Valuable Professional on at
    @Cyrille Nembot It seems to me that when responding to the already answered question, you let AI to generate it and you forgot to follow Responsible AI policies, such as mentioning the use of AI and checking whether the reply is correct. The reply assumes that is employeeResponsibleWorker a field, not a method of a computed column, and therefore all parts of the answer are wrong (and there are other mistakes as well). Next time, please make sure you follow the rules of this forum and, which the most important, you provide a valueable reply.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 522 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans