Notifications
Announcements
No record found.
I create custom entity to import time registration for employees to target table JmgTermReg and I done that easily but I have problem on clock in/out does not display in calculate form for any one of employees. I believe that JmgTermReg is not only table involved when import time registration and there others tables like JmgAttendanceRegistration, JmgStampTrans and JmgStampTransJournal.
How can make custom entity to insert data to more than one table at same time.
I use AX 2012 R3
Thank you in advance.
Hi Meshal,
You can take a look at creating a custom entity manually here.
You can take an example of Customer entity in which data insertion into multiple tables is handled.
Hi Gunjan
I really understanding most of how custom entity work. In customer entity it take payment id from paymentMethod table and put it in customer table not create new payment.
In my case when i use manually time registration it is updated 6 tables :
- JmgTermReg
- JmgAttendanceRegistration
- JmgTimecardTable
- JmgTimecardTran
- JmgStampJournalTable
- JmgStampJournalTrans
It seeming when insert new record to JmgTermReg it run insert function that found in JmgTermReg and that function update all another tables.
any way to like this using custom entity.
thank you agine
When you go to the target entity form, you can enable the execution logic for insert and update methods. Then on the processing group you can also enable it. In that case the custom entity will call the insert logic when copying the staging records to the target.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 664 Most Valuable Professional
André Arnaud de Cal... 522 Super User 2025 Season 2
Sohaib Cheema 303 User Group Leader