80 |
# the physical building or whatever (cash point, etc.) |
# the physical building or whatever (cash point, etc.) |
81 |
own_entity -> entity |
own_entity -> entity |
82 |
|
|
|
# what bonus did we grant the customer on this document as a |
|
|
# whole (q.v. Item.bonus) |
|
|
bonus (numeric(12,4)) |
|
|
|
|
83 |
# have we had to void this document? |
# have we had to void this document? |
84 |
is_void (char(1)) |
is_void (char(1)) |
85 |
|
|
237 |
:entry: |
:entry: |
238 |
|
|
239 |
/* |
/* |
240 |
own_proditem |
own_product_item |
241 |
Items of own documents that refer to products |
Items of own documents that refer to products |
242 |
is a own_item |
is a own_item |
243 |
*/ |
*/ |
244 |
own_proditem(own_item): |
own_product_item(own_item): |
245 |
id (bigserial) |
id (bigserial) |
246 |
|
|
247 |
# # of products |
# # of products |
256 |
:entry: |
:entry: |
257 |
|
|
258 |
/* |
/* |
259 |
own_serv_item |
own_service_item |
260 |
Items of own documents |
Items of own documents |
261 |
is a own_item |
is a own_item |
262 |
*/ |
*/ |
263 |
own_serv_item(own_item): |
own_service_item(own_item): |
264 |
id (bigserial) |
id (bigserial) |
265 |
description (varchar(255)) |
description (varchar(255)) |
266 |
|
|
293 |
:entry: |
:entry: |
294 |
|
|
295 |
/* |
/* |
296 |
alien_prod_item |
alien_product_item |
297 |
*/ |
*/ |
298 |
alien_prod_item: |
alien_product_item: |
299 |
id (bigserial) |
id (bigserial) |
300 |
qty (numeric(12,4)) |
qty (numeric(12,4)) |
301 |
unit_price (numeric(12,4)) |
unit_price (numeric(12,4)) |
306 |
|
|
307 |
|
|
308 |
/* |
/* |
309 |
alien_serv_item |
alien_service_item |
310 |
*/ |
*/ |
311 |
alien_serv_item: |
alien_service_item: |
312 |
id (bigserial) |
id (bigserial) |
313 |
description (varchar(255)) |
description (varchar(255)) |
314 |
amount (numeric(12,4)) |
amount (numeric(12,4)) |