<?php
global $runnerDbTableInfo;
$runnerDbTableInfo['augmentation_request_item'] = array(
	'type' => 0,
	'foreignKeys' => array( 
		 
	),
	'fields' => array( 
		array(
			'name' => 'augmentation_request_item_id',
			'type' => 20,
			'size' => 20,
			'scale' => 0,
			'typeName' => 'bigint(20)',
			'nullable' => false,
			'autoinc' => true,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'augmentation_request_id',
			'type' => 20,
			'size' => 20,
			'scale' => 0,
			'typeName' => 'bigint(20)',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'line_no',
			'type' => 3,
			'size' => 11,
			'scale' => 0,
			'typeName' => 'int(11)',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => '1',
			'defaultValue' => '1' 
		),
		array(
			'name' => 'dromic_line_no',
			'type' => 3,
			'size' => 11,
			'scale' => 0,
			'typeName' => 'int(11)',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'dromic_category',
			'type' => 200,
			'size' => 100,
			'scale' => 0,
			'typeName' => 'varchar(100)',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'dromic_requested_item_description',
			'type' => 200,
			'size' => 255,
			'scale' => 0,
			'typeName' => 'varchar(255)',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'dromic_original_unit',
			'type' => 200,
			'size' => 50,
			'scale' => 0,
			'typeName' => 'varchar(50)',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'dromic_original_quantity',
			'type' => 14,
			'size' => 14,
			'scale' => 2,
			'typeName' => 'decimal(14,2)',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'dromic_payload_json',
			'type' => 201,
			'size' => 0,
			'scale' => 0,
			'typeName' => 'longtext',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'item_id',
			'type' => 3,
			'size' => 11,
			'scale' => 0,
			'typeName' => 'int(11)',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'requested_batch_no',
			'type' => 200,
			'size' => 100,
			'scale' => 0,
			'typeName' => 'varchar(100)',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'requested_sku',
			'type' => 200,
			'size' => 50,
			'scale' => 0,
			'typeName' => 'varchar(50)',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'warehouse_id',
			'type' => 3,
			'size' => 11,
			'scale' => 0,
			'typeName' => 'int(11)',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'warehouse_code',
			'type' => 200,
			'size' => 50,
			'scale' => 0,
			'typeName' => 'varchar(50)',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'warehouse_name',
			'type' => 200,
			'size' => 150,
			'scale' => 0,
			'typeName' => 'varchar(150)',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'stock_no',
			'type' => 200,
			'size' => 50,
			'scale' => 0,
			'typeName' => 'varchar(50)',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'item_code',
			'type' => 200,
			'size' => 50,
			'scale' => 0,
			'typeName' => 'varchar(50)',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'item_description',
			'type' => 200,
			'size' => 255,
			'scale' => 0,
			'typeName' => 'varchar(255)',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'requested_category',
			'type' => 200,
			'size' => 100,
			'scale' => 0,
			'typeName' => 'varchar(100)',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'unit',
			'type' => 200,
			'size' => 50,
			'scale' => 0,
			'typeName' => 'varchar(50)',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'requested_qty',
			'type' => 14,
			'size' => 14,
			'scale' => 2,
			'typeName' => 'decimal(14,2)',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => '0.00',
			'defaultValue' => '0.00' 
		),
		array(
			'name' => 'stock_available_status',
			'type' => 129,
			'size' => 0,
			'scale' => 0,
			'typeName' => 'enum(\'YES\',\'NO\',\'PARTIAL\')',
			'enumValues' => array( 
				'YES',
				'NO',
				'PARTIAL' 
			),
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'stock_available_qty',
			'type' => 14,
			'size' => 14,
			'scale' => 2,
			'typeName' => 'decimal(14,2)',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => '0.00',
			'defaultValue' => '0.00' 
		),
		array(
			'name' => 'approved_qty',
			'type' => 14,
			'size' => 14,
			'scale' => 2,
			'typeName' => 'decimal(14,2)',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => '0.00',
			'defaultValue' => '0.00' 
		),
		array(
			'name' => 'approval_status',
			'type' => 129,
			'size' => 0,
			'scale' => 0,
			'typeName' => 'enum(\'PENDING\',\'APPROVED\',\'PARTIALLY_APPROVED\',\'DISAPPROVED\')',
			'enumValues' => array( 
				'PENDING',
				'APPROVED',
				'PARTIALLY_APPROVED',
				'DISAPPROVED' 
			),
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => 'PENDING',
			'defaultValue' => '' 
		),
		array(
			'name' => 'approval_remarks',
			'type' => 200,
			'size' => 500,
			'scale' => 0,
			'typeName' => 'varchar(500)',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'approved_by',
			'type' => 3,
			'size' => 11,
			'scale' => 0,
			'typeName' => 'int(11)',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'approved_at',
			'type' => 135,
			'size' => 0,
			'scale' => 0,
			'typeName' => 'datetime',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'issued_qty',
			'type' => 14,
			'size' => 14,
			'scale' => 2,
			'typeName' => 'decimal(14,2)',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => '0.00',
			'defaultValue' => '0.00' 
		),
		array(
			'name' => 'received_qty',
			'type' => 14,
			'size' => 14,
			'scale' => 2,
			'typeName' => 'decimal(14,2)',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => '0.00',
			'defaultValue' => '0.00' 
		),
		array(
			'name' => 'cancelled_qty',
			'type' => 14,
			'size' => 14,
			'scale' => 2,
			'typeName' => 'decimal(14,2)',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => '0.00',
			'defaultValue' => '0.00' 
		),
		array(
			'name' => 'returned_qty',
			'type' => 14,
			'size' => 14,
			'scale' => 2,
			'typeName' => 'decimal(14,2)',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => '0.00',
			'defaultValue' => '0.00' 
		),
		array(
			'name' => 'item_status',
			'type' => 129,
			'size' => 0,
			'scale' => 0,
			'typeName' => 'enum(\'REQUESTED\',\'AVAILABLE\',\'PARTIAL\',\'NOT_AVAILABLE\',\'APPROVED\',\'PARTIALLY_APPROVED\',\'DISAPPROVED\',\'ISSUED\',\'CANCELLED\',\'RETURNED\')',
			'enumValues' => array( 
				'REQUESTED',
				'AVAILABLE',
				'PARTIAL',
				'NOT_AVAILABLE',
				'APPROVED',
				'PARTIALLY_APPROVED',
				'DISAPPROVED',
				'ISSUED',
				'CANCELLED',
				'RETURNED' 
			),
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => 'REQUESTED',
			'defaultValue' => '' 
		),
		array(
			'name' => 'remarks',
			'type' => 200,
			'size' => 255,
			'scale' => 0,
			'typeName' => 'varchar(255)',
			'nullable' => true,
			'autoinc' => false,
			'defaultValueSQL' => null,
			'defaultValue' => '' 
		),
		array(
			'name' => 'created_at',
			'type' => 135,
			'size' => 0,
			'scale' => 0,
			'typeName' => 'datetime',
			'nullable' => false,
			'autoinc' => false,
			'defaultValueSQL' => 'current_timestamp()',
			'defaultValue' => 'CURRENT_TIMESTAMP' 
		) 
	),
	'primaryKeys' => array( 
		'augmentation_request_item_id' 
	),
	'uniqueFields' => array( 
		 
	),
	'name' => 'augmentation_request_item' 
);
?>