Description
Properties
| Name | Value |
|---|---|
| Collation | SQL_Latin1_General_CP1_CI_AS |
| File Group | |
| Filestream File Group | |
| Is Partitioned | |
| Partitioned Column | |
| Partition Scheme | |
| File Groups | |
| Filestream Partition Scheme | |
| Filestream File Groups | |
| Heap | False |
| Full Text Catalog | |
| Full Text | |
| Compression | |
| Row Count (~) | |
| Created | |
| Last Modified |
Columns
| Key | Name | Data Type | Length | Precision | Scale | Not Null | Identity | Rule | Default | Computed | Persisted | Description |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| id | bigint | 8 | 19 | 0 | True |
1 - 1 | False |
False |
||||
| ms_memo_type_id | int | 4 | 10 | 0 | False |
False |
False |
|||||
| ms_memo_type_name | varchar | 255 | 0 | 0 | False |
False |
False |
|||||
| memo_code | varchar | 255 | 0 | 0 | False |
False |
False |
|||||
| memo_date | date | 3 | 10 | 0 | False |
False |
False |
|||||
| ms_item_id | bigint | 8 | 19 | 0 | False |
False |
False |
|||||
| part_no | varchar | 255 | 0 | 0 | False |
False |
False |
|||||
| part_name | varchar | 255 | 0 | 0 | False |
False |
False |
|||||
| uom | varchar | 255 | 0 | 0 | False |
False |
False |
|||||
| category_id | int | 4 | 10 | 0 | False |
False |
False |
|||||
| category_name | varchar | 255 | 0 | 0 | False |
False |
False |
|||||
| total_out | decimal | 17 | 38 | 5 | False |
False |
False |
|||||
| supplier_customer_id | varchar | 255 | 0 | 0 | False |
False |
False |
|||||
| supplier_customer_code | varchar | 255 | 0 | 0 | False |
False |
False |
|||||
| supplier_customer_name | varchar | 255 | 0 | 0 | False |
False |
False |
|||||
| is_affilete | bit | 1 | 1 | 0 | False |
False |
False |
|||||
| is_adjustment | bit | 1 | 1 | 0 | False |
False |
False |
|||||
| ms_date_business_id | bigint | 8 | 19 | 0 | False |
False |
False |
|||||
| ms_date_business_id_from | bigint | 8 | 19 | 0 | False |
False |
False |
SQL Script
CREATE TYPE dbo.tp_ms_avg_stock_to_memo AS TABLE (
id bigint IDENTITY,
ms_memo_type_id int NULL,
ms_memo_type_name varchar(255) NULL,
memo_code varchar(255) NULL,
memo_date date NULL,
ms_item_id bigint NULL,
part_no varchar(255) NULL,
part_name varchar(255) NULL,
uom varchar(255) NULL,
category_id int NULL,
category_name varchar(255) NULL,
total_out decimal(38, 5) NULL,
supplier_customer_id varchar(255) NULL,
supplier_customer_code varchar(255) NULL,
supplier_customer_name varchar(255) NULL,
is_affilete bit NULL,
is_adjustment bit NULL,
ms_date_business_id bigint NULL,
ms_date_business_id_from bigint NULL,
PRIMARY KEY CLUSTERED (id)
)
GO
id bigint IDENTITY,
ms_memo_type_id int NULL,
ms_memo_type_name varchar(255) NULL,
memo_code varchar(255) NULL,
memo_date date NULL,
ms_item_id bigint NULL,
part_no varchar(255) NULL,
part_name varchar(255) NULL,
uom varchar(255) NULL,
category_id int NULL,
category_name varchar(255) NULL,
total_out decimal(38, 5) NULL,
supplier_customer_id varchar(255) NULL,
supplier_customer_code varchar(255) NULL,
supplier_customer_name varchar(255) NULL,
is_affilete bit NULL,
is_adjustment bit NULL,
ms_date_business_id bigint NULL,
ms_date_business_id_from bigint NULL,
PRIMARY KEY CLUSTERED (id)
)
GO
Depends On
No items found
Used By
No items found