Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for Tracking Category in settings #767

Merged
merged 1 commit into from
Sep 25, 2020

Conversation

Healyhatman
Copy link
Contributor

The documentation was not very helpful for getting TrackingCategories from the Payroll AU \ Settings. This commit fixes that and enables you to get the EmployeeGroups tracking category setting and the TimesheetCategories setting.

The documentation was not very helpful for getting TrackingCategories from the Payroll AU \ Settings. This commit fixes that and enables you to get the EmployeeGroups tracking category setting and the TimesheetCategories setting.
@Healyhatman
Copy link
Contributor Author

Here's a demonstration response from PayrollAU\Setting showing why this was necessary

<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Id>d271ce45-98a5-4e24-ad12-14bde9a2b5fc</Id>
  <Status>OK</Status>
  <ProviderName>--------</ProviderName>
  <DateTimeUTC>2020-09-24T03:32:27.4542388Z</DateTimeUTC>
  <Settings>
    <Accounts>
      ------
    </Accounts>
    <TrackingCategories>
      <EmployeeGroups>
        <TrackingCategoryID>093af706-c2aa-4d97-a4ce-2d205a017eac</TrackingCategoryID>
        <TrackingCategoryName>Region</TrackingCategoryName>
      </EmployeeGroups>
      <TimesheetCategories>
        <TrackingCategoryID>4e22fd08-1827-4ee6-8f10-c9a7512f69a0</TrackingCategoryID>
        <TrackingCategoryName>Second Category</TrackingCategoryName>
      </TimesheetCategories>
    </TrackingCategories>
    <DaysInPayrollYear>365</DaysInPayrollYear>
  </Settings>
</Response>

@calcinai calcinai merged commit 057502c into calcinai:master Sep 25, 2020
@calcinai
Copy link
Owner

Wonderful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants