Represents amounts journal line (spr) in Business Central.
Methods
Method | Return Type | Description |
---|---|---|
GET sprAmountsEntries | sprAmountsEntries | Gets a amounts entry object. |
Navigation
Navigation | Return Type | Description |
---|---|---|
sprAmountsJournals | sprAmountsJournal | Gets the Journal of entry. |
sprEmployees | sprEmployees | Gets the employee of entry. |
sprEDCodes | sprEDCode | Gets the earnings deduction code of entry. |
sprDimensionSetLines | sprDimensionSetLines | Gets the dimension set lines of entry. |
Properties
Property | Type | Description | Relation to |
---|---|---|---|
id | GUID | Specifies the amount entry's ID. Non-editable. | |
entryNumber | Int32 | Specifies the amount entry's number. | |
journalId | GUID | Specifies the amount journal's ID. | sprAmountsJournals.id |
journalName | String[10] | Specifies the amount journal's name. | sprAmountsJournals.name |
lineNo | Int32 | Specifies the amount entry's line number. | |
employeeId | GUID | Specifies the employee's ID. | sprEmployees.id |
employeeNumber | String[20] | Specifies the employee's number. | sprEmployees.number |
firstName | String[30] | Specifies the employee's first name. Read-Only. | sprEmployees.firstName |
surname | String[30] | Specifies the employee's surname. Read-Only. | sprEmployees.surname |
edId | GUID | Specifies the ED code's ID. | sprEDCodes.id |
edCode | String | Specifies the ED code's code. | sprEDCodes.code |
edType | NAV.sprEDType | Specifies the ED code's type. It can be: 0- " " 1- Advance 2- Earnings 3- Deduction 4- Earn. Comp. 5- Deduct. Comp. 6- Income in Kind Read-Only. |
|
description | String[50] | Specifies the amount entry's description. | |
month | Date | Specifies the amount entry's month. | |
amountType | NAV.sprAmountJnlAmountType | Specifies the amount's type. It can be: 0- " " 1- Gross 2- Total Net Pay 3- Bonus Net Pay 4- Long-Term ED 5- Allocation Base Pay Pct. |
|
amount | Decimal | Specifies the amount entry's amount. | |
amountPct | Decimal | Specifies the amount entry's amount percent. | |
inPropToWorkingTime | Boolean | Specifies if amount entry's amount should be adjusted to actual time worked. | |
lastModifiedDateTime | DateTimeOffset | Specifies the amount entry's last modified date. Read-Only. |
Examples
Get sprAmountsEntries
GET URI: /companies({{companyId}})/sprAmountsEntries