In Service module, first we creates Service Contract → Sign Contract → Create Service Invoice → Post Service Invoice.
For one of our client we have develop new table and page - Contract Accrual Details. When we Post these accrual entries G L Entries get created. We are flowing dimension to GL Entries from Service Contract Header and Line while posting accrual entries. Dimensions are updating properly.
After that user runs Analysis by Dimension page and get the data.
Now my problem is here.
Process 1 :When we follow steps : creates Service Contract → Sign Contract → Create Service Invoice → Post Accrual Entries → Post Service Invoice. that time values of Accrual amount is updating correctly in Analysis by Dimension.
Process2 :But if I follow steps creates Service Contract → Sign Contract → Create Service Invoice → Post Service Invoice → Post Accrual Entries then value of Accrual amount not updating.
If I post Service Invoice(either same invoice for next period or another invoice) then values of accrual amount is updating properly for process 2.
If I check GL Entries for accrual entries for both the process, dimensions are updating properly.
I am not able to find why this is happening. Can someone help?
Thanks in advance.