Columns
| Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | |||
|---|---|---|---|---|---|---|---|---|---|---|---|
| id_barang | int4 | 10 | null |
|
|
||||||
| id_supplier | int4 | 10 | null |
|
|
||||||
| harga_jual_tender | numeric | 0 | '0'::numeric |
|
|
||||||
| harga_jual | numeric | 0 | '0'::numeric |
|
|
||||||
| persen_jual_grosir | numeric | 0 | '0'::numeric |
|
|
||||||
| harga_jual_grosir | numeric | 0 | '0'::numeric |
|
|
||||||
| persen_jual_luar_kota | numeric | 0 | '0'::numeric |
|
|
||||||
| harga_jual_luar_kota | numeric | 0 | '0'::numeric |
|
|
||||||
| persen_jual_penawaran | numeric | 0 | '0'::numeric |
|
|
||||||
| harga_jual_penawaran | numeric | 0 | '0'::numeric |
|
|
||||||
| harga_beli | numeric | 0 | '0'::numeric |
|
|
||||||
| profit_discount | numeric | 0 | '0'::numeric |
|
|
||||||
| harga_beli_jatuh | numeric | 0 | '0'::numeric |
|
|
||||||
| id_tipe_diskon | int4 | 10 | null |
|
|
||||||
| diskon_persen_1 | numeric | 0 | null |
|
|
||||||
| diskon_rp_1 | numeric | 0 | null |
|
|
||||||
| diskon_persen_2 | numeric | 0 | null |
|
|
||||||
| diskon_rp_2 | numeric | 0 | null |
|
|
||||||
| diskon_persen_3 | numeric | 0 | null |
|
|
||||||
| diskon_rp_3 | numeric | 0 | null |
|
|
||||||
| profit_margin | numeric | 0 | '0'::numeric |
|
|
||||||
| total | numeric | 0 | '0'::numeric |
|
|
||||||
| created_by | int4 | 10 | null |
|
|
||||||
| created_at | timestamp | 29,6 | √ | now() |
|
|
|||||
| updated_by | int4 | 10 | null |
|
|
||||||
| updated_at | timestamp | 29,6 | √ | now() |
|
|
|||||
| deleted_by | int4 | 10 | √ | null |
|
|
|||||
| deleted_at | timestamp | 29,6 | √ | null |
|
|
|||||
| deleted_reason | text | 2147483647 | ''::text |
|
|
||||||
| id_ketentuan_retur | int4 | 10 | √ | null |
|
|
Indexes
| Constraint Name | Type | Sort | Column(s) |
|---|---|---|---|
| barang_supplier_id_barang_id_supplier_pk | Primary key | Asc/Asc | id_barang + id_supplier |

