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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ms_in_item_detail_id | bigint | 8 | 19 | 0 | True |
False |
False |
|||||
| category_id | bigint | 8 | 19 | 0 | False |
False |
False |
|||||
| category_name | varchar | 255 | 0 | 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 |
|||||
| 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 |
|||||
| qty_pakai | decimal | 17 | 38 | 5 | False |
False |
False |
|||||
| uom | varchar | 255 | 0 | 0 | False |
False |
False |
|||||
| ori_amount_idr | decimal | 17 | 38 | 5 | False |
False |
False |
|||||
| ori_amount_usd | decimal | 17 | 38 | 5 | False |
False |
False |
|||||
| doc_code | varchar | 255 | 0 | 0 | False |
False |
False |
|||||
| doc_date | date | 3 | 10 | 0 | False |
False |
False |
|||||
| info | varchar | 1000 | 0 | 0 | False |
False |
False |
|||||
| bc_type | varchar | 255 | 0 | 0 | False |
False |
False |
|||||
| car | varchar | 255 | 0 | 0 | False |
False |
False |
|||||
| bc_no | varchar | 255 | 0 | 0 | False |
False |
False |
|||||
| bc_date | date | 3 | 10 | 0 | False |
False |
False |
|||||
| seri | int | 4 | 10 | 0 | False |
False |
False |
|||||
| is_adjustment | bit | 1 | 1 | 0 | False |
False |
False |
SQL Script
CREATE TYPE dbo.tp_ms_avg_in_from_adjustment AS TABLE (
ms_in_item_detail_id bigint NOT NULL,
category_id bigint NULL,
category_name varchar(255) NULL,
ms_date_business_id bigint NULL,
ms_date_business_id_from bigint NULL,
ms_item_id bigint NULL,
part_no varchar(255) NULL,
part_name varchar(255) NULL,
qty_pakai decimal(38, 5) NULL,
uom varchar(255) NULL,
ori_amount_idr decimal(38, 5) NULL,
ori_amount_usd decimal(38, 5) NULL,
doc_code varchar(255) NULL,
doc_date date NULL,
info varchar(1000) NULL,
bc_type varchar(255) NULL,
car varchar(255) NULL,
bc_no varchar(255) NULL,
bc_date date NULL,
seri int NULL,
is_adjustment bit NULL,
PRIMARY KEY CLUSTERED (ms_in_item_detail_id)
)
GO
ms_in_item_detail_id bigint NOT NULL,
category_id bigint NULL,
category_name varchar(255) NULL,
ms_date_business_id bigint NULL,
ms_date_business_id_from bigint NULL,
ms_item_id bigint NULL,
part_no varchar(255) NULL,
part_name varchar(255) NULL,
qty_pakai decimal(38, 5) NULL,
uom varchar(255) NULL,
ori_amount_idr decimal(38, 5) NULL,
ori_amount_usd decimal(38, 5) NULL,
doc_code varchar(255) NULL,
doc_date date NULL,
info varchar(1000) NULL,
bc_type varchar(255) NULL,
car varchar(255) NULL,
bc_no varchar(255) NULL,
bc_date date NULL,
seri int NULL,
is_adjustment bit NULL,
PRIMARY KEY CLUSTERED (ms_in_item_detail_id)
)
GO
Depends On
No items found
Used By
No items found