The API Version 2.1 has been updated yesterday. We would like to inform you about new methods and solved bugs.
We added new method SalaryDocuments_GetEmployeePayslipsInOnePDFByRunCompany on Company Service. Use this method to get a payslip in one PDF document in case an employee has more than one payslip in a run.
We added new method WageComponent_Update on Employee Service. Use this method to update a variable or a fixed wage component. In case of a fixed wage component the parameters <EndYear> and <EndPeriod> inside the method can be specified. If the period is before the company's current period, unprotected mode flag is required, else a TWK exception is thrown. Parameters <CostCenterId>, <Comment>, <DocumentName> and <Attachment>are optional.
Method Debtor_IsOwner was not returning the right value when checking the user on Business environment. This method has been corrected to return the right value.
- Journals Get methods
Journals get methods were returning error 9999 Unknown in case journal entries were split per period. Methods below are corrected: