| id |
bigint(20)
|
|
|
|
| transaction_no |
varchar(80)
|
utf8mb4_unicode_ci
|
|
|
| transaction_type |
enum('purchase_inward', 'opening_stock_import', 'ho_to_branch_transfer', 'branch_to_ho_transfer', 'branch_to_branch_transfer', 'ho_to_noc', 'noc_to_branch', 'branch_to_field_engineer', 'field_engineer_to_customer_installation', 'customer_disconnect_return', 'customer_upgrade_replacement', 'faulty_replacement', 'warranty_return_to_supplier', 'repair_vendor_dispatch', 'repair_vendor_return', 'noc_testing', 'pop_installation', 'scrap', 'stock_adjustment')
|
utf8mb4_unicode_ci
|
|
|
| company_id |
bigint(20)
|
|
|
|
| from_location_id |
bigint(20)
|
|
|
Browse foreign values
|
| to_location_id |
bigint(20)
|
|
|
Browse foreign values
|
| customer_id |
bigint(20)
|
|
|
Browse foreign values
|
| pop_location_id |
bigint(20)
|
|
|
Browse foreign values
|
| engineer_id |
bigint(20)
|
|
|
|
| supplier_id |
bigint(20)
|
|
|
|
| repair_vendor_id |
bigint(20)
|
|
|
|
| related_transaction_id |
bigint(20)
|
|
|
Browse foreign values
|
| transaction_at |
timestamp
|
|
|
|
| dispatch_confirmed_at |
timestamp
|
|
|
|
| received_confirmed_at |
timestamp
|
|
|
|
| approval_status |
enum('not_required', 'pending', 'approved', 'rejected')
|
utf8mb4_unicode_ci
|
|
|
| approved_by |
bigint(20)
|
|
|
|
| approved_at |
timestamp
|
|
|
|
| status |
enum('draft', 'pending_dispatch', 'dispatched', 'pending_receive', 'received', 'completed', 'cancelled', 'rejected')
|
utf8mb4_unicode_ci
|
|
|
| remarks |
text
|
utf8mb4_unicode_ci
|
|
|
| supporting_document_path |
varchar(255)
|
utf8mb4_unicode_ci
|
|
|
| created_by |
bigint(20)
|
|
|
|
| updated_by |
bigint(20)
|
|
|
|
| ip_address |
varchar(45)
|
utf8mb4_unicode_ci
|
|
|
| device_info |
varchar(255)
|
utf8mb4_unicode_ci
|
|
|
| created_at |
timestamp
|
|
|
|
| updated_at |
timestamp
|
|
|
|
| deleted_at |
timestamp
|
|
|
|
| person_name |
varchar(150)
|
utf8mb4_unicode_ci
|
|
|
| last_visit_at |
datetime
|
|
|
|
| last_visit_outcome |
varchar(30)
|
utf8mb4_unicode_ci
|
|
|
| last_visit_reason |
varchar(255)
|
utf8mb4_unicode_ci
|
|
|
| last_visit_photo_path |
varchar(500)
|
utf8mb4_unicode_ci
|
|
|
| last_visit_latitude |
decimal(10,7)
|
|
|
|
| last_visit_longitude |
decimal(10,7)
|
|
|
|
| last_visit_accuracy |
decimal(10,2)
|
|
|
|
| last_visit_by |
bigint(20)
|
|
|
|