Currently the retirement accounts picks up the value for member and region from the default Book Controls in our current business scenario.
Business needs to modify this, as there is a commitment of this asset to a particular member and region. So at the time of retirement the associated accounts for proceeds of sale on Gain or Loss account should have the values relevent to where the asset was assigned just prior to retirement. The Account generator needs to be modified so as to pick up the values of both Member and Region from the Asset Assignments.

1. Modified the "Generate Book Level Account" process to fetch the Member and Region Segments from Distribution CCID for the corresponding account types.
2. Modified the "Generate Category Level Account" process to fetch the Member and Region Segments from Distribution CCID for the corresponding account types.

Tested the scenario after implementing the custom workflow, But there was some mismatch with the expected results.
- Select and Retire one Asset
- Executed depreciatin without closing the period
- Ran "Create Journal Entries" Process.

Queried the journal transfered from Assets using the period and source.
The Account Code combination for the retired assets is not correct.
Still it shows account code combinationfor the retired asset as old logic. Infacg FA Account Generator Workflow processed and generated new code combination, But it does not reflect in the journal transfer.

Could you please help me to resolve this issue or am i missing some steps in the workflow customization.