* Определения для документов

* Биты по полю CUSTOMER.BITS

#define BIT_LOCKED		0
#define BIT_WORKER		1
#define BIT_FILIAL		2
#define BIT_BARTER		3


#define BIT_OWNER		30


#define SUP_REST		1
#define SUP_SUPPLY		2
#define SUP_RETURN		3
#define SUP_RESERVED	4

#define INV_CASH		1
#define INV_REALIZE		2
#define INV_DISMISS		3
#define INV_RETURN		4
#define INV_RESERVED	5

#define TYPE_CASH		1
#define TYPE_BANK		2
#define TYPE_BARTER		3


****** Support Datatypes *****

#define SDT_TMGROUP		"TmGroup"


