
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.
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