For the type, "OM" stand for the namespace prefix "Winbooks.TORM.OM"
Decimal separator is a point
Date are given in Unix Timestamp. Example: "/Date(1520491871000)/" = GMT: Thursday, March 8, 2018 6:51:11 AM
Schema
The customer entity is referencing several other entities. The schema is this one:
Customer
Third
DefautAddress
Addresses (List of OM.Address)
Contacts (List of OM.Third_Contact)
Customer
Type: OM.Accounting.Customer
Property | Type | Id field | Friendly property 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 | |||
ConditionalDiscountRate | decimal | Ex: 2.5 | ||
ConditionalDiscountDays | decimal | Ex: 7 | ||
CommodityCode | string | Default intrastat code for the goods delivered (ex: "01022961") | ||
Properties used for Logistics only | ||||
DiscountRate | ||||
GlobalDiscountRate | ||||
IsPartialDelivery | ||||
IsPartialDeliveryClosed | ||||
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" | ||