Represents payment locations (spr) in Business Central.
Methods
Method | Return Type | Description |
---|---|---|
GET sprPaymentLocations | sprPaymentLocations | Gets a payment location object. |
DELETE sprPaymentLocations | none | Deletes a payment location object. |
POST sprPaymentLocations | sprPaymentLocations | Creates a payment location object. |
PATCH sprPaymentLocations | sprPaymentLocations | Updates a payment location object. |
Navigation
Navigation | Return Type | Description |
---|---|---|
sprEmployee | sprEmployee | Gets the employee associated with the payment location. |
sprBank | sprBank | Gets the bank associated with the payment location. |
Properties
Property | Type | Description | Relation to |
---|---|---|---|
id | Guid | Specifies the payment location's ID. Non-editable. | |
employeeNumber | String[20] | Specifies the employee's number. | sprEmployees.number |
employeeId | Guid | Specifies the employee's id. | sprEmployees.id |
lineNo | Int32 | Specifies the line number. | |
paymentOrderType | Option | Specifies the payment order type. It can be: 0- " " 1- Salary 2- Deduct.Trans. 3- Business Trip |
|
recipientBankAccNo | String[30] | Specifies the recipient's bank account number. | sprBanks.bankAccountNo |
recipientBankCode | String[10] | Specifies the recipient's bank code. | sprBanks.code |
recipientBankId | Guid | Specifies the recipient's bank ID. | sprBanks.id |
companyBankCode | String[10] | Specifies the companies bank code. | sprBanks.bankCode |
companyBankId | Guid | Specifies the companies bank ID. | sprBanks.id |
includeToPmtOrdersFile | Boolean | Specifies if the payment location is included in the payment orders file. | |
lastModifiedDateTime | DateTimeOffset | Specifies the payment location's last modified date. Read-Only. |
Examples
Create sprPaymentLocations
POST URI: /companies({{companyId}})/sprPaymentLocations