Uploaded image for project: 'New Features 2017'
  1. New Features 2017
  2. NF-593

TSR Integration->Add Employee->Employee is getting added without payroll schedule.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Integrations
    • Labels:
      None
    • Module:
      TSR
    • Reported by:
      Harbinger
    • Item State:
      Production Complete - Closed
    • Issue Importance:
      Q1

      Description

      1. Launch the Postman app.
      2. Select “Post” request from dropdwon.
      3. Select authorization type as “Basic Auth”.
      4. Enter valid User ID and Password.
      5. Enter below URL:
      http://10.0.2.120/api/employee/addEmployeeTour
      6. Pass the require parameter using body.
      (Do not mentioned payroll scheduled in parameter)
      "Company":"12480",
      "JobID":1245,
      "JobPosition":"test",
      "CandidateID":"13760",
      "FirstName":"Q",
      "LastName":"R",
      "EmailID":"s227458@test.com",
      "EmploymentStartDate":"03/17/2017",
      "AnnualSalary":"$120000.0",
      "TourID":28,

      7. Click on Send button.

      Actual Result:
      In output we are seeing message Invalid Payroll schedule message, but when we check in DB employee is added.
      Expected Result:
      Employee should not be get added without payroll schedule, and if it there is no such constraint then should employee added message on screen.

      Please note same issue exists if we mentioned in input : AssignDefaultPayrollSchedule":false

      Cc: Saurabh Sablaka, Prasad Pise

        Attachments

          Issue Links

            Activity

            No work has yet been logged on this issue.

              People

              Assignee:
              kunal.kedari Kunal Kedari (Inactive)
              Reporter:
              kunal.kedari Kunal Kedari (Inactive)
              QA:
              Kunal Kedari (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: