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_item_id | bigint | 8 | 19 | 0 | True |
False |
False |
|||||
| part_no | varchar | 255 | 0 | 0 | False |
False |
False |
|||||
| part_name | varchar | 255 | 0 | 0 | False |
False |
False |
|||||
| base_part_no | varchar | 255 | 0 | 0 | False |
False |
False |
|||||
| ms_item_h_price_id | bigint | 8 | 19 | 0 | True |
1 - 1 | False |
False |
||||
| category_id | bigint | 8 | 19 | 0 | False |
False |
False |
|||||
| category_name | varchar | 255 | 0 | 0 | False |
False |
False |
|||||
| ms_cost_final_avg_id | bigint | 8 | 19 | 0 | False |
False |
False |
|||||
| sta_qty | decimal | 17 | 38 | 5 | False |
False |
False |
|||||
| sta_price_idr | decimal | 17 | 38 | 5 | False |
False |
False |
|||||
| sta_price_usd | decimal | 17 | 38 | 5 | False |
False |
False |
|||||
| incomming_qty | decimal | 17 | 38 | 5 | False |
False |
False |
|||||
| incomming_price_idr | decimal | 17 | 38 | 5 | False |
False |
False |
|||||
| incomming_price_usd | decimal | 17 | 38 | 5 | False |
False |
False |
|||||
| total_qty | decimal | 17 | 38 | 5 | False |
False |
False |
|||||
| total_price | decimal | 17 | 38 | 5 | False |
False |
False |
|||||
| total_price_usd | decimal | 17 | 38 | 5 | False |
False |
False |
|||||
| final_avg_price | decimal | 17 | 38 | 5 | False |
False |
False |
|||||
| final_avg_price_usd | decimal | 17 | 38 | 5 | False |
False |
False |
|||||
| UOM | varchar | 255 | 0 | 0 | False |
False |
False |
SQL Script
CREATE TYPE dbo.tp_ms_item_incoming_list AS TABLE (
ms_item_id bigint NOT NULL,
part_no varchar(255) NULL,
part_name varchar(255) NULL,
base_part_no varchar(255) NULL,
ms_item_h_price_id bigint IDENTITY,
category_id bigint NULL,
category_name varchar(255) NULL,
ms_cost_final_avg_id bigint NULL,
sta_qty decimal(38, 5) NULL,
sta_price_idr decimal(38, 5) NULL,
sta_price_usd decimal(38, 5) NULL,
incomming_qty decimal(38, 5) NULL,
incomming_price_idr decimal(38, 5) NULL,
incomming_price_usd decimal(38, 5) NULL,
total_qty decimal(38, 5) NULL,
total_price decimal(38, 5) NULL,
total_price_usd decimal(38, 5) NULL,
final_avg_price decimal(38, 5) NULL,
final_avg_price_usd decimal(38, 5) NULL,
UOM varchar(255) NULL,
PRIMARY KEY CLUSTERED (ms_item_id)
)
GO
ms_item_id bigint NOT NULL,
part_no varchar(255) NULL,
part_name varchar(255) NULL,
base_part_no varchar(255) NULL,
ms_item_h_price_id bigint IDENTITY,
category_id bigint NULL,
category_name varchar(255) NULL,
ms_cost_final_avg_id bigint NULL,
sta_qty decimal(38, 5) NULL,
sta_price_idr decimal(38, 5) NULL,
sta_price_usd decimal(38, 5) NULL,
incomming_qty decimal(38, 5) NULL,
incomming_price_idr decimal(38, 5) NULL,
incomming_price_usd decimal(38, 5) NULL,
total_qty decimal(38, 5) NULL,
total_price decimal(38, 5) NULL,
total_price_usd decimal(38, 5) NULL,
final_avg_price decimal(38, 5) NULL,
final_avg_price_usd decimal(38, 5) NULL,
UOM varchar(255) NULL,
PRIMARY KEY CLUSTERED (ms_item_id)
)
GO
Depends On
No items found
Used By
No items found