to get a personalized navigation.
to get a personalized navigation.
How would one go about getting the ClaimId from Expense in the WageRunAccountingResult?
trying to create contents similar to the VismaBusiness xml exportfile:
<voucherLine>
<voucherLineDate>2023-08-25</voucherLineDate>
<debitAccountNo>5500</debitAccountNo>
<claimID>22513093</claimID>
<lineAmount>500.00</lineAmount>
<costUnit>
<costUnitType>1</costUnitType>
<costUnitID>100</costUnitID>
</costUnit>
<costUnit>
<costUnitType>2</costUnitType>
<costUnitID>600</costUnitID>
</costUnit>
</voucherLine>
Getting the transactionid from accountingresult:
{
"accountIdentifier": "5500",
"paycodeId": "026f65f5-d255-40f6-a640-7c01888f61a3",
"transactionId": "50b86ffc-3cc2-43e5-a167-58da25c1b82f",
"result": 500,
"dimensions": [
{
"identifier": "1",
"value": "100"
},
{
"identifier": "2",
"value": "600"
}
],
"level": {
"positionId": "131abbfb-4b61-494c-9182-de8026a3870f"
}
}
But transaction does not contain claimId from Expense
{
"id": "50b86ffc-3cc2-43e5-a167-58da25c1b82f",
"ownerClientId": "expense",
"positionId": "131abbfb-4b61-494c-9182-de8026a3870f",
"employeeId": "ee37d3a3-789d-438c-8362-f4d8bb19b9d6",
"paycodeId": "026f65f5-d255-40f6-a640-7c01888f61a3",
"paycodeIdentifier": 33340,
"runAtLevel": "Position",
"quantity": 1.00,
"price": 500.00,
"totalPrice": 500.00,
"activeStart": "2023-08-01",
"activeEnd": "2023-08-01",
"accountingDimensions": [
{
"identifier": "1",
"value": "100"
},
{
"identifier": "2",
"value": "600"
}
]
}
Copyright © 2022 Visma.com. All rights reserved.