While traversing through the Default TDL, we have come across a Part MLV LedBody getting repeated over a Collection All Ledger within the Part MLV Body.
Similar to a Line, Part can also be repeated over a Collection and every new instance of the Part gets associated with subsequent Object in a Collection.
This can be useful at times when multiple Parts need to be rendered for every Object in a Collection.
This is implemented in Default TDL for Multi Ledger Printing where each ledger is associated with the Part MLV LedBody and Part MLV LedBody had earlier rendered two sub parts LV AccTitle and LV Body.
Part LV AccTitle renders the Ledger Name.
Part LV Body renders further ledger details i.e., Opening Balance, Vouchers and Closing Balance of the current Ledger.
Recently, the design in Default TDL is altered where:
Only Part LV AccTitle is rendered from the Part MLV LedBody.
Part LV Body is exploded from the Line LV AccTitle.
In TDL, there are many ways in which a requirement can be catered to. Based on the need, one needs to determine the best and the most optimum method from the available choices.