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, ...
Suggested Answer

How to automatically post a field when a new record is created.

(0) ShareShare
ReportReport
Posted on by

Hi am Trainee Technical consultant. I started my carrier two months back.... please help me in creating the below table as per logic:

There are two tables:

Asset Parameter table: Fields-IDNo,Enable,Disable

Asset Master Table: Fields-AssetIdNo,Description.

1.Create two flag field in Asset parameter table. Name of field is ‘Enable auto posting of assets’, ‘Enable auto posting for floors’.

2.-f field ‘Enable ’ of asset parameter table is enabled. It should automatically post the asset in Asset master table whenever a new record is created.

these are two logics are asked please help how can I achieve this.

I have the same question (0)
  • Suggested answer
    ergun sahin Profile Picture
    8,826 Moderator on at

    The following page has a job to create journal fix assets. You can get an idea of creating a journal by examining these and similar codes.

    "Post automatically when an asset record is created" sounds like "the insert method". But I do not recommend writing code like this in the insert method. If the journal does not created for any reason, it will not allow it to be created your asset. It is a bit related to the details of your request, but if possible (if the asset is created with code, etc.), I recommend you add it after the insert is completed.

    community.dynamics.com/.../how-to-create-acquisition-proposal-through-x

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
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 422 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans