tfc - global payroll engine - v6
TRANSCRIPT
TFC – Global Payroll Engine
• Marcos Tito de Pardo Marques
https://br.linkedin.com/in/mrctito
• Eliane Vieira Sá
Marcos Tito, Eliane Vieira and Sérgio Gontijo are authors of the first book
in Portuguese on the development and customization of applications with
Microsoft Dynamics AX, the Brasport publisher. They are certified
professionals in DAX too.
http://www.slideshare.net/mrctito/IntroducaoaoMicrosoftDynamicsAX
TFC – Global Payroll EnginePayroll management is a fundamental business requirement in any organization. This is
often a tedious and slow process, that requires a high level of timeliness, accuracy and
agile. Most payroll solutions nowadays suffer with slow calculating process, taking several
hours to complete the task.
Developed as a global payroll engine, aligned with the payroll business standards, TFC is
ready for brazilian laws and supports any country-specific extensions extensions for
companies to better manage their regional payroll. It was designed to be highly flexible, able
to solve all payroll complexities and to process thousand of employees in a very fast fashion.
Due to its complexities, to develop payrolls do not worth, because generally produce very
complex source code, that are difficult to maintain. Talking about Brazil, payroll laws change
continuously, and it is needed a clean and very simple source code in order to not lose the
control.
Brazilian payroll complexity
http://thebrazilbusiness.com/article/payroll-tax-in-brazil
Basic Differences Between Brazil and the U.S.
http://thebrazilbusiness.com/article/comparing-employment-law-in-usa-and-brazil
Google Capital led a $60 million investment in a startup that solves every business owner’s
http://www.businessinsider.com/zenpayroll-raises-60-million-2015-4
TFC – Global Payroll EngineWhat is TFC?
• TFC Global Payroll Engine is a payroll calculation service ready for
Brazil. As it has no user interface, you should plug it to an ERP.
• TFC Global Payroll Engine allow you develop others payrolls to any
country through inheritance of business objects.
• TFC Global Payroll is made up more than 300 business classes,
240 payment calculations, and 700 source code files, developed in
Microsoft .NET/C#
• TFC Global Payroll is already used by one bigger software
developer of Brazil, in customers having more more than 100.000
employees and dozens of unions
public class VerbaAvisoPrevio: VerbaBase
{
public VerbaAvisoPrevio(CalculoBase calculoBase):base(calculoBase)
{
}
public override void DoCalcula()
{
this.Valor = 0;
Log.Append("Dias de Aviso: "+Funcionario.Rescisao.DiasAviso.ToString());
if (Funcionario.Rescisao.DiasAviso > 0)
this.Valor = Funcionario.Rescisao.DiasAviso *
Funcionario.SalarioDiarioCalculado(true, ConsIncSalario);
Log.Append("Valor do Aviso Prévio: "+valor.ToString());
}
}
Example: Termination payment
TFC – Global Payroll EngineSource code: Simplicity and power
By using oriented object notation, fix
bugs or improve specific country rules,
is a very easy task
public class VerbaAvisoPrevioNova: VerbaAvisoPrevio
{
public VerbaAvisoPrevioNova(CalculoBase calculoBase):base(calculoBase)
{
}
protected override void DoCalcula()
{
this.Valor = 0;
Log.Append("Dias de Aviso: "+Funcionario.Rescisao.DiasAviso.ToString());
if (Funcionario.Rescisao.DiasAviso > 10)
this.Valor = (Base.DoCalcula() * 2);
}
}
Example: Customizing Termination payment
TFC – Global Payroll EngineEasy to develop country-specific rules
Through inheritance you can reuse
global rules and adjust just what you
need
Business Object
Base
VacationsMonthly payments Christmas Bonus Terminations
BUT, if you want to develop your own payroll calculations:
Each business object has a unique calculation ID, lives in its own DLL
and are dinamicaly created when needed. You can develop new
business objects from scratch or inherited from system default
objects, assign them with the specific calculation ID and the Payroll
Engine will use your newly created business object transparently.
TFC – Global Payroll EngineBusiness Objects Calculation Architecture
All calculations for
Brazilian laws are ready
to use
1
2
All Busines process...
Monthly payments
Unions
Absenses
Family Allowance
Position
Transportation tickets
Alimony
Payments
Many objects...
Employess
Social Security
Income Tax
Average salary
Many objects...
Employee
TFC – Global Payroll EngineBusiness Objects Collections
The Payroll Engine
builds one tree of
business objects
You can replace or extend any business object
you want in order to develop your own country-
specific payroll
Navision
SAP/R3TFC
Database
Business Object
Base
VacationsMonthly payments Christmas Bonus Terminations
Any
Database
To connect the Payroll Engine to any ERP,
just load data from its database,
overwriting the “LoadData” method
TFC – Global Payroll EngineConnect to any ERP
TFC – Global Payroll EngineExecution log
TFC Global Payroll Engine generates a complete execution log, with all
calculations steps and variables, for each employee.
This log helps the help-desk team to find mistakes or performance
bottlenecks quickly.
TFC – Global Payroll EngineProcess scheduling
TFC Global Payroll Engine is "thread safe" and enabled to run several
calculation processes in parallel. All data are run in a isolated box and
protected from each other.
All calculation processes have a powerful filter to allow choose the set of
employees that it should process.
This allow running several calculations, for different companies, or any other
set of employees.
PeopleSoft
SAP/R3
Outos
TFC – Global Payroll EngineAs a payroll of other business solutions
The brazilian labor laws are very complex and all international
solutions have difficulties to localize its own payroll, and give
to the market a product that perfectly fits to Brazil.
Because this, TFC Payroll Engine is a perfect solution: it can
runs as a part of any solution and It is already ready for
Brazilian labor laws.
Portugal
Mexico
Argentina
Espanha
Itália
TFC – Global Payroll EngineAs a payroll of any other country
Because of its architecture, TFC Payroll Engine is a perfect
solution to allow developing specific country payrolls over the
same platform and technology.
Example of SAP Business One integrated with
TFC Payroll Engine
Example of SAP Business One integrated with
TFC Payroll Engine
Example of SAP Business One integrated with
TFC Payroll Engine
Example of SAP Business One integrated with
TFC Payroll Engine
• Marcos Tito de Pardo Marques
https://br.linkedin.com/in/mrctito
• Eliane Vieira Sá
Marcos Tito, Eliane Vieira and Sérgio Gontijo are authors of the first book
in Portuguese on the development and customization of applications with
Microsoft Dynamics AX, the Brasport publisher. They are certified
professionals in DAX too.
http://www.slideshare.net/mrctito/IntroducaoaoMicrosoftDynamicsAX
TFC – Payroll Engine