Schema
The customer entity is referencing several other entities. The schema is this one:
Customer
Third
DefautAddress
Addresses (List of TORM.OM.Address)
Contacts (List of TORM.OM.Third_Contact)
For the type, "OM" stand for "Winbooks.TORM.OM"
Customer
Type: OM.Accounting.Customer
Property | Type | Id field | Friendly code | Comment |
---|---|---|---|---|
Code | string | Should be the same as the code of the Third | ||
Vat | OM.Accounting.VatAccount | Vat_Id | VatCode | Default Vat (ex: 21) |
Category | OM.CustomerCategory | CustomerCategory_Id | CategoryCode | |
GLAccountDefault | OM.Accounting.GLAccount | GLAccount_Id | GLAccountDefaultCode | Default account for the base (ex: "700000") |
GLAccountCentral | OM.Accounting.GLAccount | GLAccount2_Id | GLAccountCentralCode | Central account for the clients (ex: "400000") |
GLTemplate | OM.Accounting.GLTemplate | GLTemplate_Id | GLTemplateCode | Booking template |
PayCode | OM.Accounting.PayCode | PayCode_Id | PayCodeCode | Payment conditions (ex: "30") |
VatApplicable | int | 0 - Undefined | ||
LastReminderLevel | short | |||
LastReminderDate | DateTime | |||
IsReminderBlocked | bool | true - the customer will not receive any reminder of payment | ||
IsLocked | bool | true - we cannot book anymore on this Customer | ||
IsHidden | bool | true - we don't see the customer anymore | ||
MemoType | short | 0 - None 1 - Green 5 - Yellow 9 - Red | ||
Memo | string |
Third
Property | Type | Id field | Friendly code | Comment |
---|---|---|---|---|
Code | string | Should be the same as the code of the Customer | ||
ThirdCivility | TORM.OM.ThirdCivility | ThirdCivility_Id | CivilityCode | Ex: "NV" |
VatCountry | TORM.OM.Country | VatCountry_Id | VatCountryCode | Ex: "BE" |
Language | TORM.OM.Language | Language_Id | LanguageCode | Ex: "nl" |
Currency | TORM.OM.Currency | Currency_Id | CurrencyCode | Ex: "EUR" |
DefautAddress | TORM.OM.DefaultAddress | |||
Addresses | List of OM.Address | |||
Contacts | List of TORM.OM.Third_Contact | |||
VatNumber | string | Ex: "0000000196" (without formating) | ||
WebSite | string | Ex: "www.bebop.be" | ||