Field help (TFOLEG) 

Only the 'Automatic journals' formula types are used according to the legislations recorded in the folder.
When an automatic journal is run, the legislation code deduced from the context (usually the company code) leads to the appropriate formula.