FORMAT==100
FEEDSTRINGS;
SKIPCHECK;

#******************************************************
# Check if rules apply to this scenario
#******************************************************
[]=N:
  IF(ATTRS('Version', !Version, 'Link to Drivers') @= 'Y',
    CONTINUE,
    STET
  );

#********************************************
# Stets
#********************************************
['Actual']=STET;
['2006']=STET;
['2007']=STET;
['2008']=STET;

['Local','Existing FTEs']=N:
  DB('LabourExistingCosts',!Currency,!Version,!FiscalYear,!Period,!Department,!Region,'All HR Regions','FTE');

['Local','New FTEs']=N:
  DB('LabourNewCosts',!Currency,!Version,!FiscalYear,!Period,!Department,!Region,'TOTAL','FTE');

['Local','Planned Salaries']=N:
  DB('LabourExistingCosts',!Currency,!Version,!FiscalYear,!Period,!Department,!Region,'All HR Regions','Monthly Salary After Inc')

  + DB('LabourNewCosts',!Currency,!Version,!FiscalYear,!Period,!Department,!Region,'TOTAL','Monthly Salary');

['Local','Superannuation']=N:
  DB('LabourExistingCosts',!Currency,!Version,!FiscalYear,!Period,!Department,!Region,'All HR Regions','Superannuation')
  + DB('LabourNewCosts',!Currency,!Version,!FiscalYear,!Period,!Department,!Region,'TOTAL','Superannuation');

['Local','Workcover']=N:
  DB('LabourExistingCosts',!Currency,!Version,!FiscalYear,!Period,!Department,!Region,'All HR Regions','Workcover')
  + DB('LabourNewCosts',!Currency,!Version,!FiscalYear,!Period,!Department,!Region,'TOTAL','Workcover');

['Local','LSL']=N:
  DB('LabourExistingCosts',!Currency,!Version,!FiscalYear,!Period,!Department,!Region,'All HR Regions','LSL')
  + DB('LabourNewCosts',!Currency,!Version,!FiscalYear,!Period,!Department,!Region,'TOTAL','LSL');

['Local','Payroll Tax']=N:
  DB('LabourExistingCosts',!Currency,!Version,!FiscalYear,!Period,!Department,!Region,'All HR Regions','Payroll Tax')
  + DB('LabourNewCosts',!Currency,!Version,!FiscalYear,!Period,!Department,!Region,'TOTAL','Payroll Tax');

['Local','Other']=N:
  DB('LabourExistingCosts',!Currency,!Version,!FiscalYear,!Period,!Department,!Region,'All HR Regions','Other')
  + DB('LabourNewCosts',!Currency,!Version,!FiscalYear,!Period,!Department,!Region,'TOTAL','Other');

['Local','Communication Costs']=N:
  DB('LabourExistingCosts',!Currency,!Version,!FiscalYear,!Period,!Department,!Region,'All HR Regions','Communication Costs')
  + DB('LabourNewCosts',!Currency,!Version,!FiscalYear,!Period,!Department,!Region,'TOTAL','Communication Costs');

['Local','Motor Vehicle Costs']=N:
  DB('LabourExistingCosts',!Currency,!Version,!FiscalYear,!Period,!Department,!Region,'All HR Regions','Motor Vehicle Costs')
  + DB('LabourNewCosts',!Currency,!Version,!FiscalYear,!Period,!Department,!Region,'TOTAL','Motor Vehicle Costs');

['Local','Staff Expenses']=N:
  DB('LabourExistingCosts',!Currency,!Version,!FiscalYear,!Period,!Department,!Region,'All HR Regions','Staff Expenses')
  + DB('LabourNewCosts',!Currency,!Version,!FiscalYear,!Period,!Department,!Region,'TOTAL','Staff Expenses');

FEEDERS;

#*******************************************************
# EXTERNAL FEEDERS - GL
#*******************************************************
['Local','Planned Salaries']=>
  DB('GL',!Currency,!Version,!FiscalYear,!Period,!Department,!Region,'0500','Amount');

['Local','Award Rate']=>
  DB('GL',!Currency,!Version,!FiscalYear,!Period,!Department,!Region,'0510','Amount');

['Local','Bonuses']=>
  DB('GL',!Currency,!Version,!FiscalYear,!Period,!Department,!Region,'0550','Amount');

['Local','Payroll Tax']=>
  DB('GL',!Currency,!Version,!FiscalYear,!Period,!Department,!Region,'0551','Amount');

['Local','Superannuation']=>
  DB('GL',!Currency,!Version,!FiscalYear,!Period,!Department,!Region,'0560','Amount');

['Local','Workcover']=>
  DB('GL',!Currency,!Version,!FiscalYear,!Period,!Department,!Region,'0578','Amount');

['Local','LSL']=>
  DB('GL',!Currency,!Version,!FiscalYear,!Period,!Department,!Region,'0579','Amount');

['Local','Motor Vehicle Costs']=>
  DB('GL',!Currency,!Version,!FiscalYear,!Period,!Department,!Region,'0580','Amount');

['Local','Communication Costs']=>
  DB('GL',!Currency,!Version,!FiscalYear,!Period,!Department,!Region,'0590','Amount');

['Local','Staff Expenses']=>
  DB('GL',!Currency,!Version,!FiscalYear,!Period,!Department,!Region,'0591','Amount');

['Local','Other']=>
  DB('GL',!Currency,!Version,!FiscalYear,!Period,!Department,!Region,'0592','Amount');
