Multicurrency fixes, refactoring and simplifying ALLO_Allocations_TDTM.cls, incorporating code review feedback.