Hello all,
I have the need to modify the originals methods JmgJobBundle\makeRegistration() and JmgJobBundle\postTime() in order to insert a new custom column (AKS_CostCategory) value in the JmgTermReg and JmgStampJournalTrans tables respectively.
the obstacule I have is that the values I need are declared in \Forms\JobRegistration which are ProdId prodId and RouteCostCategoryId costCatId . bypassing those values into jmgJobBundle class requires to change a lot parameters from many methods.
I wonder you guys can advice me if creating some kind of temporary table (AKS_CostCategoryTEMP) would be a good idea so i can store those values there and the access those values globally inside those methods by calling
IF (aks_CostCategoryTEMP)
AKS_CostCategoryTEMP::find().CostCatId
or is there a better way?