Fixed Asset Addition Complete Process

Automated Testing Tools are used to assure modifications are always backward compatible and safe for production
Forum rules
This forum is personally pruned to avoid redundant posts. Related topics are moved to the same sub-forum. Language will be corrected for readability.

Fixed Asset Addition Complete Process

Postby red1 » Thu Mar 05, 2020 12:59 pm

I am manually debugging and tracing what actually happens inside Fixed Assets. Here i trace out the Asset Addition CompleteIt() process in the code.

Screenshot from 2020-03-05 12.35.59.jpeg
Screenshot from 2020-03-05 12.35.59.jpeg (105.93 KiB) Viewed 1005 times

1. It updates Asset Product to accumulate its Qty there, or create if not existing.
2. If IsCreateAsset, in this case, it is true, sets AssetProduct to the Asset Master.
3. If IsCreateAsset, sets ServiceDate to Document Date (both in Asset Addition).
4. If there is an AssetActivationDate value, then setAssetActivationDate of Asset Master to same date, or to Acct Date.

Screenshot from 2020-03-05 12.51.54.jpeg
Screenshot from 2020-03-05 12.51.54.jpeg (182.97 KiB) Viewed 1005 times

5. After saving Asset Master, it gets or create Depreciation WorkFile.
6. It then goes thru all its WorkFiles to adjust cost.

(to be cont'd)
red1
Site Admin
 
Posts: 2762
Joined: Tue Jul 06, 2004 3:01 pm
Location: Kuala Lumpur, Malaysia

Re: Fixed Asset Addition Complete Process

Postby red1 » Thu Mar 05, 2020 3:17 pm

As seen in last screen, we come to the Depreciation WorkFile processing. All existing ones including the one just created are processed.
At the WorkFile (Fetch means take from lookup table. Get means within the WorkFile):
1. Fetch Asset Accounts
2. Fetch Depreciation record
3. Fetch Fiscal Depreciation record
4. Get Actual Cost
5. Get Accumulated Depreciation
6. Truncate not processed depreciation entries (A_Depreciation_Exp)
7. Get Current Period
8. Fetch Depreciation Type and Method

Below is the data set up if Depreciation Method exists

Screenshot from 2020-03-05 15.16.44.jpeg
Screenshot from 2020-03-05 15.16.44.jpeg (78.85 KiB) Viewed 1000 times
red1
Site Admin
 
Posts: 2762
Joined: Tue Jul 06, 2004 3:01 pm
Location: Kuala Lumpur, Malaysia


Return to Quality Assurance

Who is online

Users browsing this forum: No registered users and 2 guests

cron