Configuring journal entry templates
Journal entry templates allow you to map source values to each journal entry attribute in the header and line within the context of a transaction, and use them to create journal entries.
You will use this only if the source values do not vary for each journal entry line, and the methods of deriving the values do not involve complex conditions and business rules. Attributes that only require fixed values are appropriate to be defined in the journal entry templates.
For this sample scenario, you could use the journal entry templates to map the source value to the journal line posting date, since there are no special conditions for deriving its value. It simply copies the document date attribute of the transaction to each line.
Attributes whose source values vary for each journal entry line and are defined with complex conditions and business rules are handled in the rules. These attributes are defined in journal entry templates under the "Default" transaction type.