Question

API call to insert expense with employee information

  • 21 March 2024
  • 0 replies
  • 24 views

Badge +3

Hi,

We are inserting expenses on worktasks using /main/ifsapplications/projection/v1/WorkTaskExecutionHandling.svc/JtTaskTransactionSet

This generally works well, but we fail to connect a user to the transaction. An example of a payload:

{

      "TaskSeq": 23030729,

      "TransactionType": "Expenses",

      "Site": "NO-01",

      "Quantity": 2.0,

      "CostCategoryId": "6000",

      "UnitCode": "pcs",

      "CostAmount": 150.0,

      "TransactionDate": "2024-03-11T00:00:00Z",

      "ReportComment": "Fein Cutter Blad (Stk)",

      "CExternalSystemId": 623703,

      "Company": "100",

      "OrganizationSite": "NO-01",

      "TaskMaintOrg": "522145",

      "OrganizationId": "522145",

      "ResourceId": "GEOARV",

      "ResourceSeq": 1353,

      "EmpCompany": "100",

      "EmployeeId": "80211"

}

This create a transaction, but Resource remains empty on the transaction.
Why is this not working?

We’re running IFSCloud 23R1 SU8. 


0 replies

Be the first to reply!

Reply