FORMAT==100
#SKIPCHECK;

['Department 1']=S:
  IF(['FTE '] <> 0,
    DB('LabourExistingInputs',!Currency,!Version,!FiscalYear,!Region,!ExistingEmployees,'Department'),
    STET
  );

['% 1']=N:
  IF(['FTE '] <> 0,
    1 - ['% 2'] - ['% 3'],
    STET
  );

['FTE ']=N:
  DB('LabourExistingInputs',!Currency,!Version,!FiscalYear,!Region,!ExistingEmployees,'FTE');

['FTE 1']=N:
  ['FTE '] * ['% 1'];

['FTE 2']=N:
  ['FTE '] * ['% 2'];

['FTE 3']=N:
  ['FTE '] * ['% 3'];

['Salaries']=N:
  DB('LabourExistingInputs',!Currency,!Version,!FiscalYear,!Region,!ExistingEmployees,'Annual Salary');

['Salaries1']=N:
  ['Salaries'] * ['% 1'];

['Salaries2']=N:
  ['Salaries'] * ['% 2'];

['Salaries3']=N:
  ['Salaries'] * ['% 3'];

#FEEDERS;

#['% 1']=>
#  ['Salaries1'];

#['% 2']=>
#  ['Salaries2'];

#['% 3']=>
#  ['Salaries3'];

#['% 1']=>
#  ['FTE 1'];

#['% 2']=>
#  ['FTE 2'];

#['% 3']=>
#  ['FTE 3'];
