Skip to Content
0
Former Member
May 27, 2010 at 08:00 AM

Error running default logic (Duplicate formula found:

22 Views

Hi Experts

I get the following code with the following code and I cannot see the reason why...

Error running default logic (Duplicate formula found: "[EMPLOYEE].[#392]


XDIM_MEMBERSET EMPLOYEE = %EMPLOYEE_SET%
//Determines Salaries/Wages allocation.
*WHEN EMPLOYEE.EMPLSGROUP    //Determines Salaries/Wages allocation.
         *IS "1","5","8","11","12","15","18","26","27"
             *REC (EXPRESSION=%VALUE%,P_ACCT="IKR0000621100")    //Wages Account Norma
          *IS "2","3","4","6","7","9","10","13","14","16","17","19","20","21","22","23","24","25","28"
              *REC (EXPRESSION=%VALUE%,P_ACCT="IKR0000630000")   //Salaries Account Normal.
*ENDWHEN

*SELECT (%EMPLOYEE%, ID, EMPLOYEE, [COSTCENTER]  = %COSTCENTER_SET%) 

//Wages Account Overtime
*XDIM_MEMBERSET P_ACCT = "IKR0000622100"  

*FOR %EMP% = %EMPLOYEE%
         [EMPLOYEE].[#%EMP%] = ( [P_ACCT].[P00213],[EMPLOYEE].[DUMMY ]) * ( [P_ACCT].[IKR0000621100],[EMPLOYEE].[%EMP%] )
*NEXT

//Salaries Account Normal
*XDIM_MEMBERSET P_ACCT = "IKR0000630010"  

*FOR %EMP% = %EMPLOYEE%
         [EMPLOYEE].[#%EMP%] = ( [P_ACCT].[P00212],[EMPLOYEE].[DUMMY ]) * ( [P_ACCT].[IKR0000630000],[EMPLOYEE].[%EMP%] )
*NEXT


Any ideas or help would he appreciated.

L.