API GetCustomerSettings: Porovnání verzí
Z Podpora.nextis.cz
Řádka 31: | Řádka 31: | ||
|int | |int | ||
|Default payment type: | |Default payment type: | ||
− | + | 0 = Default - cash, | |
− | 2 = | + | 1 = cash, |
+ | |||
+ | 2 = transfer | ||
| | | | ||
|- | |- | ||
|DueType | |DueType | ||
|int | |int | ||
− | |Due type: | + | |IF DefaultPaymentType = 2. Due type: |
− | 1 = | + | |
+ | 0 = Default - Global setting, | ||
+ | |||
+ | 1 = Global setting, | ||
− | 2 = Individual | + | 2 = Individual setting |
| | | | ||
|- | |- | ||
|DueDays | |DueDays | ||
|int | |int | ||
− | |Due days | + | |If DefaultPaymentType = 2 and DueType = 2. Due days: |
+ | |||
+ | 0 = Default | ||
| | | | ||
|- | |- | ||
Řádka 52: | Řádka 59: | ||
|int | |int | ||
|Correction payment type: | |Correction payment type: | ||
− | 1 = | + | 1 = Default - cash, |
− | 2 = | + | 2 = transfer |
| | | | ||
|- | |- | ||
|CorrectionPaymentRange | |CorrectionPaymentRange | ||
|int | |int | ||
− | |Correction payment range: | + | |If CorrectionPaymentType = 2. Correction payment range: |
− | |||
− | 1 = Individual | + | 0 = Default - Global setting, |
+ | |||
+ | 1 = Individual setting | ||
| | | | ||
|- | |- | ||
|CorrectionPaymentRangeDays | |CorrectionPaymentRangeDays | ||
|int | |int | ||
− | |Correction payment range days | + | |If CorrectionPaymentType = 2 and CorrectionPaymentRange = 1. Correction payment range days: |
+ | |||
+ | 0 = Default | ||
| | | | ||
|} | |} |
Aktuální verze z 13. 8. 2020, 11:31
Description
Method gives You overview of existing customer settings in system.
Exact name
API_GetCustomerSettings
Type
Standard view.
Specification
Column | Data type | Description | Relation |
---|---|---|---|
CustomerID | int | Internal system id
ID of customer from customer list (see relation) |
API_GetCustomers.ID |
IsChildRegistrationEnabled | int | Is child registration enabled | |
IsBlocked | int | Is blocked | |
DefaultPaymentType | int | Default payment type:
0 = Default - cash, 1 = cash, 2 = transfer |
|
DueType | int | IF DefaultPaymentType = 2. Due type:
0 = Default - Global setting, 1 = Global setting, 2 = Individual setting |
|
DueDays | int | If DefaultPaymentType = 2 and DueType = 2. Due days:
0 = Default |
|
CorrectionPaymentType | int | Correction payment type:
1 = Default - cash, 2 = transfer |
|
CorrectionPaymentRange | int | If CorrectionPaymentType = 2. Correction payment range:
0 = Default - Global setting, 1 = Individual setting |
|
CorrectionPaymentRangeDays | int | If CorrectionPaymentType = 2 and CorrectionPaymentRange = 1. Correction payment range days:
0 = Default |
Example
SELECT TOP 1000 * FROM [API_GetCustomerSettings]
Notices
None.