sprEDCodes

Prev Next

Represents earnings/deductions codes (spr) in Business Central.

Methods

Method Return Type Description
GET sprEDCodes Collection(sprEDCode) Gets a collection of sprEDCode objects.
DELETE sprEDCode none Deletes a sprEDCode object.
POST sprEDCode sprEDCode Creates a sprEDCode object.
PATCH sprEDCode sprEDCode Updates a sprEDCode object.

Properties

Property Type Description
id Guid Specifies the earnings/deductions code's ID. Non-editable.
code String[10] Specifies the earnings/deductions code's code.
description String[50] Specifies the earnings/deductions code's description.
edType NAV.spredType Specifies the earnings/deductions code's type. It can be:
0- " "
1- Advance
2- Earnings
3- Deduction
4- Earn. Comp.
5- Deduct. Comp.
6- Income in Kind
lastModifiedDateTime DateTimeOffset Specifies the earnings/deductions code's last modified date. Read-Only.

Examples

Get sprEDCodes with filtering

GET URI: /companies({{companyId}})/sprEDCodes({{edId}})/