Páginas filhas
  • Protheus x RM Integration (Integrations)

Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

Protheus x RM Integration

Aiming to offer an HR solution that meets customer needs, better servicing their Personnel and Human Capital Management, TOTVS has integrated the Microsiga Protheus HR products with RM.

 


Image ModifiedImportant:

For the message of hours worked and for the time records, query table SPO - Annotation Periods to check the period(s) used to read the transaction.


Worked Hours - Single message sent by Protheus


Protheus receives in a single message (EAI), the registration and a period (initial and final date) and returns the registration and the total hours worked by employee in the period entered.



The hours worked by the employee are calculated by the CALTOTHR function, based on the period entered, besides the branch and the employee registration you wish to calculate. By setting the parameters, you can read the annotation file (SPC) or the annotation history (SPH), to get the hours worked by the employee.



The default time table (SPJ) is regarded if the employee(s) have no annotation(s).



Validations:



Validation

Message

Found in the company FROM/TO register.

-

If the value of field EployeeInternalId is null.

No registration is yet entered.

If the value of field StartDate is null.

Start date of search is required.

If the value of field FinishDate is null.

Finish date of search is required.


Attendance Time Records - Single message sent by Protheus


Protheus receives in a single message (EAI), the registration and a period (initial and final date) and returns the registration and the (attendance) time records by employee in the period entered.



Validations:



Validation

Message

Found in the company FROM/TO register.

-

If the value of field EployeeInternalId is null.

No registration is yet entered.

If the value of field TimeSheetStartDate is null.

Start date of search is required.

If the value of field TimeSheetFinishDate is null.

Finish date of search is required.


Tables


SRA - Employees Register



SPC - Annotations



SPJ – Default Time



SPH - Annotation History



SPG - Time Record History



SP8 – Time Record Transactions



SPO – Annotation Periods