<?php
global $runnerTableSettings;
$runnerTableSettings['sales'] = array(
	'name' => 'sales',
	'shortName' => 'sales',
	'pagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'edit' => array( 
			'edit' 
		),
		'view' => array( 
			'view' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'masterlist' => array( 
			'masterlist' 
		),
		'masterprint' => array( 
			'masterprint' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'pageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'defaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'afterEditDetails' => 'sales',
	'afterAddDetail' => 'sales',
	'detailsBadgeColor' => '3cb371',
	'sql' => 'SELECT
	id,
	sales_uuid,
	company_id,
	branch_id,
	branch_scope_id,
	accounting_period_id,
	transaction_type,
	original_sales_id,
	document_no,
	registered_document_series_id,
	draft_reference,
	transaction_date,
	due_date,
	customer_id,
	customer_name_snapshot,
	customer_tin_snapshot,
	customer_branch_code_snapshot,
	payment_terms_days,
	billing_address,
	shipping_address,
	currency_code,
	base_currency_code,
	exchange_rate,
	sales_agent_id,
	campaign_id,
	department_id,
	cost_center_id,
	project_id,
	project_task_id,
	subtotal_amount,
	commercial_discount_amount,
	statutory_discount_amount,
	vatable_amount,
	vat_exempt_amount,
	zero_rated_amount,
	vat_amount,
	withholding_amount,
	grand_total_amount,
	base_grand_total_amount,
	benefit_type,
	beneficiary_name,
	beneficiary_id_no,
	beneficiary_id_type,
	approval_status,
	document_status,
	posting_status,
	eis_status,
	electronic_invoice_issued_at,
	remarks,
	created_by_platform_user_id,
	approved_by_platform_user_id,
	posted_by_platform_user_id,
	created_at,
	updated_at,
	approved_at,
	posted_at,
	cancelled_at
FROM
	sales',
	'keyFields' => array( 
		'id' 
	),
	'deviceHideFields' => array(
		'1' => array( 
			 
		),
		'5' => array( 
			 
		) 
	),
	'fields' => array(
		'id' => array(
			'name' => 'id',
			'goodName' => 'id',
			'strField' => 'id',
			'index' => 1,
			'type' => 3,
			'autoinc' => true,
			'sqlExpression' => 'id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'sales_uuid' => array(
			'name' => 'sales_uuid',
			'goodName' => 'sales_uuid',
			'strField' => 'sales_uuid',
			'index' => 2,
			'type' => 129,
			'sqlExpression' => 'sales_uuid',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'company_id' => array(
			'name' => 'company_id',
			'goodName' => 'company_id',
			'strField' => 'company_id',
			'index' => 3,
			'type' => 3,
			'sqlExpression' => 'company_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'branch_id' => array(
			'name' => 'branch_id',
			'goodName' => 'branch_id',
			'strField' => 'branch_id',
			'index' => 4,
			'type' => 3,
			'sqlExpression' => 'branch_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'branch',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'branch_name',
					'lookupOrderBy' => 'branch_name' 
				) 
			),
			'tableName' => 'sales',
			'viewLinkTable' => 'branch',
			'viewLinkLookup' => true 
		),
		'branch_scope_id' => array(
			'name' => 'branch_scope_id',
			'goodName' => 'branch_scope_id',
			'strField' => 'branch_scope_id',
			'index' => 5,
			'type' => 3,
			'sqlExpression' => 'branch_scope_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'accounting_period_id' => array(
			'name' => 'accounting_period_id',
			'goodName' => 'accounting_period_id',
			'strField' => 'accounting_period_id',
			'index' => 6,
			'type' => 3,
			'sqlExpression' => 'accounting_period_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'transaction_type' => array(
			'name' => 'transaction_type',
			'goodName' => 'transaction_type',
			'strField' => 'transaction_type',
			'index' => 7,
			'sqlExpression' => 'transaction_type',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'defaultValue' => 'SALES_INVOICE',
					'lookupType' => 0,
					'lookupValues' => array( 
						'SALES_INVOICE' 
					) 
				) 
			),
			'tableName' => 'sales' 
		),
		'original_sales_id' => array(
			'name' => 'original_sales_id',
			'goodName' => 'original_sales_id',
			'strField' => 'original_sales_id',
			'index' => 8,
			'type' => 3,
			'sqlExpression' => 'original_sales_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'document_no' => array(
			'name' => 'document_no',
			'goodName' => 'document_no',
			'strField' => 'document_no',
			'index' => 9,
			'sqlExpression' => 'document_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'registered_document_series_id' => array(
			'name' => 'registered_document_series_id',
			'goodName' => 'registered_document_series_id',
			'strField' => 'registered_document_series_id',
			'index' => 10,
			'type' => 3,
			'sqlExpression' => 'registered_document_series_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'draft_reference' => array(
			'name' => 'draft_reference',
			'goodName' => 'draft_reference',
			'strField' => 'draft_reference',
			'index' => 11,
			'sqlExpression' => 'draft_reference',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'transaction_date' => array(
			'name' => 'transaction_date',
			'goodName' => 'transaction_date',
			'strField' => 'transaction_date',
			'index' => 12,
			'type' => 7,
			'sqlExpression' => 'transaction_date',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'sales' 
		),
		'due_date' => array(
			'name' => 'due_date',
			'goodName' => 'due_date',
			'strField' => 'due_date',
			'index' => 13,
			'type' => 7,
			'sqlExpression' => 'due_date',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'sales' 
		),
		'customer_id' => array(
			'name' => 'customer_id',
			'goodName' => 'customer_id',
			'strField' => 'customer_id',
			'index' => 14,
			'type' => 3,
			'sqlExpression' => 'customer_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupType' => 2,
					'lookupTable' => 'customer',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'id',
					'lookupDisplayField' => 'registered_name',
					'lookupOrderBy' => 'registered_name',
					'lookupAutofillEdit' => true,
					'lookupAutofillFields' => array( 
						array(
							'masterField' => 'customer_name_snapshot',
							'lookupField' => 'registered_name' 
						),
						array(
							'masterField' => 'customer_tin_snapshot',
							'lookupField' => 'tin' 
						),
						array(
							'masterField' => 'customer_branch_code_snapshot',
							'lookupField' => 'bir_branch_code' 
						),
						array(
							'masterField' => 'payment_terms_days',
							'lookupField' => 'payment_terms_days' 
						),
						array(
							'masterField' => 'billing_address',
							'lookupField' => 'billing_address' 
						),
						array(
							'masterField' => 'shipping_address',
							'lookupField' => 'shipping_address' 
						),
						array(
							'masterField' => 'currency_code',
							'lookupField' => 'default_currency_code' 
						),
						array(
							'masterField' => 'sales_agent_id',
							'lookupField' => 'default_sales_agent_id' 
						) 
					) 
				) 
			),
			'tableName' => 'sales',
			'viewLinkTable' => 'customer',
			'viewLinkLookup' => true 
		),
		'customer_name_snapshot' => array(
			'name' => 'customer_name_snapshot',
			'goodName' => 'customer_name_snapshot',
			'strField' => 'customer_name_snapshot',
			'index' => 15,
			'sqlExpression' => 'customer_name_snapshot',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'customer_tin_snapshot' => array(
			'name' => 'customer_tin_snapshot',
			'goodName' => 'customer_tin_snapshot',
			'strField' => 'customer_tin_snapshot',
			'index' => 16,
			'sqlExpression' => 'customer_tin_snapshot',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'customer_branch_code_snapshot' => array(
			'name' => 'customer_branch_code_snapshot',
			'goodName' => 'customer_branch_code_snapshot',
			'strField' => 'customer_branch_code_snapshot',
			'index' => 17,
			'sqlExpression' => 'customer_branch_code_snapshot',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'payment_terms_days' => array(
			'name' => 'payment_terms_days',
			'goodName' => 'payment_terms_days',
			'strField' => 'payment_terms_days',
			'index' => 18,
			'type' => 3,
			'sqlExpression' => 'payment_terms_days',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'billing_address' => array(
			'name' => 'billing_address',
			'goodName' => 'billing_address',
			'strField' => 'billing_address',
			'index' => 19,
			'type' => 201,
			'sqlExpression' => 'billing_address',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Text area' 
				) 
			),
			'tableName' => 'sales' 
		),
		'shipping_address' => array(
			'name' => 'shipping_address',
			'goodName' => 'shipping_address',
			'strField' => 'shipping_address',
			'index' => 20,
			'type' => 201,
			'sqlExpression' => 'shipping_address',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Text area' 
				) 
			),
			'tableName' => 'sales' 
		),
		'currency_code' => array(
			'name' => 'currency_code',
			'goodName' => 'currency_code',
			'strField' => 'currency_code',
			'index' => 21,
			'type' => 129,
			'sqlExpression' => 'currency_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Lookup wizard',
					'lookupTable' => 'currency',
					'lookupTableConnection' => 'conn',
					'lookupLinkField' => 'currency_code',
					'lookupDisplayField' => 'currency_code',
					'lookupOrderBy' => 'currency_code' 
				) 
			),
			'tableName' => 'sales' 
		),
		'base_currency_code' => array(
			'name' => 'base_currency_code',
			'goodName' => 'base_currency_code',
			'strField' => 'base_currency_code',
			'index' => 22,
			'type' => 129,
			'sqlExpression' => 'base_currency_code',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'exchange_rate' => array(
			'name' => 'exchange_rate',
			'goodName' => 'exchange_rate',
			'strField' => 'exchange_rate',
			'index' => 23,
			'type' => 14,
			'sqlExpression' => 'exchange_rate',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'sales_agent_id' => array(
			'name' => 'sales_agent_id',
			'goodName' => 'sales_agent_id',
			'strField' => 'sales_agent_id',
			'index' => 24,
			'type' => 3,
			'sqlExpression' => 'sales_agent_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'campaign_id' => array(
			'name' => 'campaign_id',
			'goodName' => 'campaign_id',
			'strField' => 'campaign_id',
			'index' => 25,
			'type' => 3,
			'sqlExpression' => 'campaign_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'department_id' => array(
			'name' => 'department_id',
			'goodName' => 'department_id',
			'strField' => 'department_id',
			'index' => 26,
			'type' => 3,
			'sqlExpression' => 'department_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'cost_center_id' => array(
			'name' => 'cost_center_id',
			'goodName' => 'cost_center_id',
			'strField' => 'cost_center_id',
			'index' => 27,
			'type' => 3,
			'sqlExpression' => 'cost_center_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'project_id' => array(
			'name' => 'project_id',
			'goodName' => 'project_id',
			'strField' => 'project_id',
			'index' => 28,
			'type' => 3,
			'sqlExpression' => 'project_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'project_task_id' => array(
			'name' => 'project_task_id',
			'goodName' => 'project_task_id',
			'strField' => 'project_task_id',
			'index' => 29,
			'type' => 3,
			'sqlExpression' => 'project_task_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'subtotal_amount' => array(
			'name' => 'subtotal_amount',
			'goodName' => 'subtotal_amount',
			'strField' => 'subtotal_amount',
			'index' => 30,
			'type' => 14,
			'sqlExpression' => 'subtotal_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Readonly' 
				) 
			),
			'tableName' => 'sales' 
		),
		'commercial_discount_amount' => array(
			'name' => 'commercial_discount_amount',
			'goodName' => 'commercial_discount_amount',
			'strField' => 'commercial_discount_amount',
			'index' => 31,
			'type' => 14,
			'sqlExpression' => 'commercial_discount_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Readonly',
					'defaultValue' => '0' 
				) 
			),
			'tableName' => 'sales' 
		),
		'statutory_discount_amount' => array(
			'name' => 'statutory_discount_amount',
			'goodName' => 'statutory_discount_amount',
			'strField' => 'statutory_discount_amount',
			'index' => 32,
			'type' => 14,
			'sqlExpression' => 'statutory_discount_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Readonly',
					'defaultValue' => '0' 
				) 
			),
			'tableName' => 'sales' 
		),
		'vatable_amount' => array(
			'name' => 'vatable_amount',
			'goodName' => 'vatable_amount',
			'strField' => 'vatable_amount',
			'index' => 33,
			'type' => 14,
			'sqlExpression' => 'vatable_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'vat_exempt_amount' => array(
			'name' => 'vat_exempt_amount',
			'goodName' => 'vat_exempt_amount',
			'strField' => 'vat_exempt_amount',
			'index' => 34,
			'type' => 14,
			'sqlExpression' => 'vat_exempt_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'zero_rated_amount' => array(
			'name' => 'zero_rated_amount',
			'goodName' => 'zero_rated_amount',
			'strField' => 'zero_rated_amount',
			'index' => 35,
			'type' => 14,
			'sqlExpression' => 'zero_rated_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'vat_amount' => array(
			'name' => 'vat_amount',
			'goodName' => 'vat_amount',
			'strField' => 'vat_amount',
			'index' => 36,
			'type' => 14,
			'sqlExpression' => 'vat_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Readonly',
					'defaultValue' => '0' 
				) 
			),
			'tableName' => 'sales' 
		),
		'withholding_amount' => array(
			'name' => 'withholding_amount',
			'goodName' => 'withholding_amount',
			'strField' => 'withholding_amount',
			'index' => 37,
			'type' => 14,
			'sqlExpression' => 'withholding_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Readonly',
					'defaultValue' => '0' 
				) 
			),
			'tableName' => 'sales' 
		),
		'grand_total_amount' => array(
			'name' => 'grand_total_amount',
			'goodName' => 'grand_total_amount',
			'strField' => 'grand_total_amount',
			'index' => 38,
			'type' => 14,
			'sqlExpression' => 'grand_total_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Readonly',
					'defaultValue' => '0' 
				) 
			),
			'tableName' => 'sales' 
		),
		'base_grand_total_amount' => array(
			'name' => 'base_grand_total_amount',
			'goodName' => 'base_grand_total_amount',
			'strField' => 'base_grand_total_amount',
			'index' => 39,
			'type' => 14,
			'sqlExpression' => 'base_grand_total_amount',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Number' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'benefit_type' => array(
			'name' => 'benefit_type',
			'goodName' => 'benefit_type',
			'strField' => 'benefit_type',
			'index' => 40,
			'sqlExpression' => 'benefit_type',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'beneficiary_name' => array(
			'name' => 'beneficiary_name',
			'goodName' => 'beneficiary_name',
			'strField' => 'beneficiary_name',
			'index' => 41,
			'sqlExpression' => 'beneficiary_name',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'beneficiary_id_no' => array(
			'name' => 'beneficiary_id_no',
			'goodName' => 'beneficiary_id_no',
			'strField' => 'beneficiary_id_no',
			'index' => 42,
			'sqlExpression' => 'beneficiary_id_no',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'beneficiary_id_type' => array(
			'name' => 'beneficiary_id_type',
			'goodName' => 'beneficiary_id_type',
			'strField' => 'beneficiary_id_type',
			'index' => 43,
			'sqlExpression' => 'beneficiary_id_type',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'approval_status' => array(
			'name' => 'approval_status',
			'goodName' => 'approval_status',
			'strField' => 'approval_status',
			'index' => 44,
			'sqlExpression' => 'approval_status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'document_status' => array(
			'name' => 'document_status',
			'goodName' => 'document_status',
			'strField' => 'document_status',
			'index' => 45,
			'sqlExpression' => 'document_status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'posting_status' => array(
			'name' => 'posting_status',
			'goodName' => 'posting_status',
			'strField' => 'posting_status',
			'index' => 46,
			'sqlExpression' => 'posting_status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'eis_status' => array(
			'name' => 'eis_status',
			'goodName' => 'eis_status',
			'strField' => 'eis_status',
			'index' => 47,
			'sqlExpression' => 'eis_status',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'electronic_invoice_issued_at' => array(
			'name' => 'electronic_invoice_issued_at',
			'goodName' => 'electronic_invoice_issued_at',
			'strField' => 'electronic_invoice_issued_at',
			'index' => 48,
			'type' => 135,
			'sqlExpression' => 'electronic_invoice_issued_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'sales' 
		),
		'remarks' => array(
			'name' => 'remarks',
			'goodName' => 'remarks',
			'strField' => 'remarks',
			'index' => 49,
			'type' => 201,
			'sqlExpression' => 'remarks',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Text area' 
				) 
			),
			'tableName' => 'sales' 
		),
		'created_by_platform_user_id' => array(
			'name' => 'created_by_platform_user_id',
			'goodName' => 'created_by_platform_user_id',
			'strField' => 'created_by_platform_user_id',
			'index' => 50,
			'type' => 3,
			'sqlExpression' => 'created_by_platform_user_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'approved_by_platform_user_id' => array(
			'name' => 'approved_by_platform_user_id',
			'goodName' => 'approved_by_platform_user_id',
			'strField' => 'approved_by_platform_user_id',
			'index' => 51,
			'type' => 3,
			'sqlExpression' => 'approved_by_platform_user_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'posted_by_platform_user_id' => array(
			'name' => 'posted_by_platform_user_id',
			'goodName' => 'posted_by_platform_user_id',
			'strField' => 'posted_by_platform_user_id',
			'index' => 52,
			'type' => 3,
			'sqlExpression' => 'posted_by_platform_user_id',
			'viewFormats' => array(
				'view' => array(
					 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					 
				) 
			),
			'tableName' => 'sales' 
		),
		'created_at' => array(
			'name' => 'created_at',
			'goodName' => 'created_at',
			'strField' => 'created_at',
			'index' => 53,
			'type' => 135,
			'sqlExpression' => 'created_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'sales' 
		),
		'updated_at' => array(
			'name' => 'updated_at',
			'goodName' => 'updated_at',
			'strField' => 'updated_at',
			'index' => 54,
			'type' => 135,
			'sqlExpression' => 'updated_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'sales' 
		),
		'approved_at' => array(
			'name' => 'approved_at',
			'goodName' => 'approved_at',
			'strField' => 'approved_at',
			'index' => 55,
			'type' => 135,
			'sqlExpression' => 'approved_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'sales' 
		),
		'posted_at' => array(
			'name' => 'posted_at',
			'goodName' => 'posted_at',
			'strField' => 'posted_at',
			'index' => 56,
			'type' => 135,
			'sqlExpression' => 'posted_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'sales' 
		),
		'cancelled_at' => array(
			'name' => 'cancelled_at',
			'goodName' => 'cancelled_at',
			'strField' => 'cancelled_at',
			'index' => 57,
			'type' => 135,
			'sqlExpression' => 'cancelled_at',
			'viewFormats' => array(
				'view' => array(
					'format' => 'Short Date' 
				) 
			),
			'editFormats' => array(
				'edit' => array(
					'format' => 'Date',
					'dateEditType' => 11 
				) 
			),
			'tableName' => 'sales' 
		) 
	),
	'detailsTables' => array( 
		'sales_detail' 
	),
	'query' => array(
		'sql' => 'SELECT
	id,
	sales_uuid,
	company_id,
	branch_id,
	branch_scope_id,
	accounting_period_id,
	transaction_type,
	original_sales_id,
	document_no,
	registered_document_series_id,
	draft_reference,
	transaction_date,
	due_date,
	customer_id,
	customer_name_snapshot,
	customer_tin_snapshot,
	customer_branch_code_snapshot,
	payment_terms_days,
	billing_address,
	shipping_address,
	currency_code,
	base_currency_code,
	exchange_rate,
	sales_agent_id,
	campaign_id,
	department_id,
	cost_center_id,
	project_id,
	project_task_id,
	subtotal_amount,
	commercial_discount_amount,
	statutory_discount_amount,
	vatable_amount,
	vat_exempt_amount,
	zero_rated_amount,
	vat_amount,
	withholding_amount,
	grand_total_amount,
	base_grand_total_amount,
	benefit_type,
	beneficiary_name,
	beneficiary_id_no,
	beneficiary_id_type,
	approval_status,
	document_status,
	posting_status,
	eis_status,
	electronic_invoice_issued_at,
	remarks,
	created_by_platform_user_id,
	approved_by_platform_user_id,
	posted_by_platform_user_id,
	created_at,
	updated_at,
	approved_at,
	posted_at,
	cancelled_at
FROM
	sales',
		'parsed' => true,
		'type' => 'SQLQuery',
		'fieldList' => array( 
			array(
				'sql' => 'id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'id' 
				),
				'encrypted' => false,
				'columnName' => 'id' 
			),
			array(
				'sql' => 'sales_uuid',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'sales_uuid' 
				),
				'encrypted' => false,
				'columnName' => 'sales_uuid' 
			),
			array(
				'sql' => 'company_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'company_id' 
				),
				'encrypted' => false,
				'columnName' => 'company_id' 
			),
			array(
				'sql' => 'branch_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'branch_id' 
				),
				'encrypted' => false,
				'columnName' => 'branch_id' 
			),
			array(
				'sql' => 'branch_scope_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'branch_scope_id' 
				),
				'encrypted' => false,
				'columnName' => 'branch_scope_id' 
			),
			array(
				'sql' => 'accounting_period_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'accounting_period_id' 
				),
				'encrypted' => false,
				'columnName' => 'accounting_period_id' 
			),
			array(
				'sql' => 'transaction_type',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'transaction_type' 
				),
				'encrypted' => false,
				'columnName' => 'transaction_type' 
			),
			array(
				'sql' => 'original_sales_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'original_sales_id' 
				),
				'encrypted' => false,
				'columnName' => 'original_sales_id' 
			),
			array(
				'sql' => 'document_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'document_no' 
				),
				'encrypted' => false,
				'columnName' => 'document_no' 
			),
			array(
				'sql' => 'registered_document_series_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'registered_document_series_id' 
				),
				'encrypted' => false,
				'columnName' => 'registered_document_series_id' 
			),
			array(
				'sql' => 'draft_reference',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'draft_reference' 
				),
				'encrypted' => false,
				'columnName' => 'draft_reference' 
			),
			array(
				'sql' => 'transaction_date',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'transaction_date' 
				),
				'encrypted' => false,
				'columnName' => 'transaction_date' 
			),
			array(
				'sql' => 'due_date',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'due_date' 
				),
				'encrypted' => false,
				'columnName' => 'due_date' 
			),
			array(
				'sql' => 'customer_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'customer_id' 
				),
				'encrypted' => false,
				'columnName' => 'customer_id' 
			),
			array(
				'sql' => 'customer_name_snapshot',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'customer_name_snapshot' 
				),
				'encrypted' => false,
				'columnName' => 'customer_name_snapshot' 
			),
			array(
				'sql' => 'customer_tin_snapshot',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'customer_tin_snapshot' 
				),
				'encrypted' => false,
				'columnName' => 'customer_tin_snapshot' 
			),
			array(
				'sql' => 'customer_branch_code_snapshot',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'customer_branch_code_snapshot' 
				),
				'encrypted' => false,
				'columnName' => 'customer_branch_code_snapshot' 
			),
			array(
				'sql' => 'payment_terms_days',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'payment_terms_days' 
				),
				'encrypted' => false,
				'columnName' => 'payment_terms_days' 
			),
			array(
				'sql' => 'billing_address',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'billing_address' 
				),
				'encrypted' => false,
				'columnName' => 'billing_address' 
			),
			array(
				'sql' => 'shipping_address',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'shipping_address' 
				),
				'encrypted' => false,
				'columnName' => 'shipping_address' 
			),
			array(
				'sql' => 'currency_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'currency_code' 
				),
				'encrypted' => false,
				'columnName' => 'currency_code' 
			),
			array(
				'sql' => 'base_currency_code',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'base_currency_code' 
				),
				'encrypted' => false,
				'columnName' => 'base_currency_code' 
			),
			array(
				'sql' => 'exchange_rate',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'exchange_rate' 
				),
				'encrypted' => false,
				'columnName' => 'exchange_rate' 
			),
			array(
				'sql' => 'sales_agent_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'sales_agent_id' 
				),
				'encrypted' => false,
				'columnName' => 'sales_agent_id' 
			),
			array(
				'sql' => 'campaign_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'campaign_id' 
				),
				'encrypted' => false,
				'columnName' => 'campaign_id' 
			),
			array(
				'sql' => 'department_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'department_id' 
				),
				'encrypted' => false,
				'columnName' => 'department_id' 
			),
			array(
				'sql' => 'cost_center_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'cost_center_id' 
				),
				'encrypted' => false,
				'columnName' => 'cost_center_id' 
			),
			array(
				'sql' => 'project_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'project_id' 
				),
				'encrypted' => false,
				'columnName' => 'project_id' 
			),
			array(
				'sql' => 'project_task_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'project_task_id' 
				),
				'encrypted' => false,
				'columnName' => 'project_task_id' 
			),
			array(
				'sql' => 'subtotal_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'subtotal_amount' 
				),
				'encrypted' => false,
				'columnName' => 'subtotal_amount' 
			),
			array(
				'sql' => 'commercial_discount_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'commercial_discount_amount' 
				),
				'encrypted' => false,
				'columnName' => 'commercial_discount_amount' 
			),
			array(
				'sql' => 'statutory_discount_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'statutory_discount_amount' 
				),
				'encrypted' => false,
				'columnName' => 'statutory_discount_amount' 
			),
			array(
				'sql' => 'vatable_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'vatable_amount' 
				),
				'encrypted' => false,
				'columnName' => 'vatable_amount' 
			),
			array(
				'sql' => 'vat_exempt_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'vat_exempt_amount' 
				),
				'encrypted' => false,
				'columnName' => 'vat_exempt_amount' 
			),
			array(
				'sql' => 'zero_rated_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'zero_rated_amount' 
				),
				'encrypted' => false,
				'columnName' => 'zero_rated_amount' 
			),
			array(
				'sql' => 'vat_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'vat_amount' 
				),
				'encrypted' => false,
				'columnName' => 'vat_amount' 
			),
			array(
				'sql' => 'withholding_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'withholding_amount' 
				),
				'encrypted' => false,
				'columnName' => 'withholding_amount' 
			),
			array(
				'sql' => 'grand_total_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'grand_total_amount' 
				),
				'encrypted' => false,
				'columnName' => 'grand_total_amount' 
			),
			array(
				'sql' => 'base_grand_total_amount',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'base_grand_total_amount' 
				),
				'encrypted' => false,
				'columnName' => 'base_grand_total_amount' 
			),
			array(
				'sql' => 'benefit_type',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'benefit_type' 
				),
				'encrypted' => false,
				'columnName' => 'benefit_type' 
			),
			array(
				'sql' => 'beneficiary_name',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'beneficiary_name' 
				),
				'encrypted' => false,
				'columnName' => 'beneficiary_name' 
			),
			array(
				'sql' => 'beneficiary_id_no',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'beneficiary_id_no' 
				),
				'encrypted' => false,
				'columnName' => 'beneficiary_id_no' 
			),
			array(
				'sql' => 'beneficiary_id_type',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'beneficiary_id_type' 
				),
				'encrypted' => false,
				'columnName' => 'beneficiary_id_type' 
			),
			array(
				'sql' => 'approval_status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'approval_status' 
				),
				'encrypted' => false,
				'columnName' => 'approval_status' 
			),
			array(
				'sql' => 'document_status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'document_status' 
				),
				'encrypted' => false,
				'columnName' => 'document_status' 
			),
			array(
				'sql' => 'posting_status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'posting_status' 
				),
				'encrypted' => false,
				'columnName' => 'posting_status' 
			),
			array(
				'sql' => 'eis_status',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'eis_status' 
				),
				'encrypted' => false,
				'columnName' => 'eis_status' 
			),
			array(
				'sql' => 'electronic_invoice_issued_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'electronic_invoice_issued_at' 
				),
				'encrypted' => false,
				'columnName' => 'electronic_invoice_issued_at' 
			),
			array(
				'sql' => 'remarks',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'remarks' 
				),
				'encrypted' => false,
				'columnName' => 'remarks' 
			),
			array(
				'sql' => 'created_by_platform_user_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'created_by_platform_user_id' 
				),
				'encrypted' => false,
				'columnName' => 'created_by_platform_user_id' 
			),
			array(
				'sql' => 'approved_by_platform_user_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'approved_by_platform_user_id' 
				),
				'encrypted' => false,
				'columnName' => 'approved_by_platform_user_id' 
			),
			array(
				'sql' => 'posted_by_platform_user_id',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'posted_by_platform_user_id' 
				),
				'encrypted' => false,
				'columnName' => 'posted_by_platform_user_id' 
			),
			array(
				'sql' => 'created_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'created_at' 
				),
				'encrypted' => false,
				'columnName' => 'created_at' 
			),
			array(
				'sql' => 'updated_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'updated_at' 
				),
				'encrypted' => false,
				'columnName' => 'updated_at' 
			),
			array(
				'sql' => 'approved_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'approved_at' 
				),
				'encrypted' => false,
				'columnName' => 'approved_at' 
			),
			array(
				'sql' => 'posted_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'posted_at' 
				),
				'encrypted' => false,
				'columnName' => 'posted_at' 
			),
			array(
				'sql' => 'cancelled_at',
				'parsed' => true,
				'type' => 'FieldListItem',
				'alias' => '',
				'expression' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'SQLField',
					'table' => 'sales',
					'name' => 'cancelled_at' 
				),
				'encrypted' => false,
				'columnName' => 'cancelled_at' 
			) 
		),
		'fromList' => array( 
			array(
				'sql' => 'sales',
				'parsed' => true,
				'type' => 'FromListItem',
				'table' => array(
					'sql' => 'sales',
					'parsed' => true,
					'type' => 'SQLTable',
					'columns' => array( 
						'id',
						'sales_uuid',
						'company_id',
						'branch_id',
						'branch_scope_id',
						'accounting_period_id',
						'transaction_type',
						'original_sales_id',
						'document_no',
						'registered_document_series_id',
						'draft_reference',
						'transaction_date',
						'due_date',
						'customer_id',
						'customer_name_snapshot',
						'customer_tin_snapshot',
						'customer_branch_code_snapshot',
						'payment_terms_days',
						'billing_address',
						'shipping_address',
						'currency_code',
						'base_currency_code',
						'exchange_rate',
						'sales_agent_id',
						'campaign_id',
						'department_id',
						'cost_center_id',
						'project_id',
						'project_task_id',
						'subtotal_amount',
						'commercial_discount_amount',
						'statutory_discount_amount',
						'vatable_amount',
						'vat_exempt_amount',
						'zero_rated_amount',
						'vat_amount',
						'withholding_amount',
						'grand_total_amount',
						'base_grand_total_amount',
						'benefit_type',
						'beneficiary_name',
						'beneficiary_id_no',
						'beneficiary_id_type',
						'approval_status',
						'document_status',
						'posting_status',
						'eis_status',
						'electronic_invoice_issued_at',
						'remarks',
						'created_by_platform_user_id',
						'approved_by_platform_user_id',
						'posted_by_platform_user_id',
						'created_at',
						'updated_at',
						'approved_at',
						'posted_at',
						'cancelled_at' 
					),
					'name' => 'sales' 
				),
				'joinOn' => array(
					'sql' => '',
					'parsed' => false,
					'type' => 'LogicalExpression',
					'contained' => array( 
						 
					),
					'unionType' => 0,
					'column' => null 
				),
				'joinList' => array(
					'sql' => '',
					'parsed' => true,
					'type' => 'JoinOn',
					'field1' => array( 
						 
					),
					'field2' => array( 
						 
					) 
				),
				'link' => 0 
			) 
		),
		'where' => array(
			'sql' => '',
			'parsed' => false,
			'type' => 'LogicalExpression',
			'contained' => array( 
				 
			),
			'unionType' => 0,
			'column' => null 
		),
		'groupBy' => array( 
			 
		),
		'having' => array(
			'sql' => '',
			'parsed' => false,
			'type' => 'LogicalExpression',
			'contained' => array( 
				 
			),
			'unionType' => 0,
			'column' => null 
		),
		'orderBy' => array( 
			 
		),
		'colsIndex' => array( 
			array(
				'fieldIndex' => 0,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 1,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 2,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 3,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 4,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 5,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 6,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 7,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 8,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 9,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 10,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 11,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 12,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 13,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 14,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 15,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 16,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 17,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 18,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 19,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 20,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 21,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 22,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 23,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 24,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 25,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 26,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 27,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 28,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 29,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 30,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 31,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 32,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 33,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 34,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 35,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 36,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 37,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 38,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 39,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 40,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 41,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 42,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 43,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 44,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 45,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 46,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 47,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 48,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 49,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 50,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 51,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 52,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 53,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 54,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 55,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			),
			array(
				'fieldIndex' => 56,
				'orderByIndex' => -1,
				'groupByIndex' => -1,
				'whereIndex' => -1,
				'havingIndex' => -1 
			) 
		),
		'headSql' => 'SELECT',
		'fieldListSql' => 'id,
	sales_uuid,
	company_id,
	branch_id,
	branch_scope_id,
	accounting_period_id,
	transaction_type,
	original_sales_id,
	document_no,
	registered_document_series_id,
	draft_reference,
	transaction_date,
	due_date,
	customer_id,
	customer_name_snapshot,
	customer_tin_snapshot,
	customer_branch_code_snapshot,
	payment_terms_days,
	billing_address,
	shipping_address,
	currency_code,
	base_currency_code,
	exchange_rate,
	sales_agent_id,
	campaign_id,
	department_id,
	cost_center_id,
	project_id,
	project_task_id,
	subtotal_amount,
	commercial_discount_amount,
	statutory_discount_amount,
	vatable_amount,
	vat_exempt_amount,
	zero_rated_amount,
	vat_amount,
	withholding_amount,
	grand_total_amount,
	base_grand_total_amount,
	benefit_type,
	beneficiary_name,
	beneficiary_id_no,
	beneficiary_id_type,
	approval_status,
	document_status,
	posting_status,
	eis_status,
	electronic_invoice_issued_at,
	remarks,
	created_by_platform_user_id,
	approved_by_platform_user_id,
	posted_by_platform_user_id,
	created_at,
	updated_at,
	approved_at,
	posted_at,
	cancelled_at',
		'fromListSql' => 'FROM
	sales',
		'orderBySql' => '',
		'tailSql' => '' 
	),
	'hasEvents' => true,
	'hasJsEvents' => true,
	'originalTable' => 'sales',
	'originalPagesByType' => array(
		'add' => array( 
			'add' 
		),
		'export' => array( 
			'export' 
		),
		'import' => array( 
			'import' 
		),
		'edit' => array( 
			'edit' 
		),
		'view' => array( 
			'view' 
		),
		'list' => array( 
			'list' 
		),
		'print' => array( 
			'print' 
		),
		'masterlist' => array( 
			'masterlist' 
		),
		'masterprint' => array( 
			'masterprint' 
		),
		'search' => array( 
			'search' 
		) 
	),
	'originalPageTypes' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'originalDefaultPages' => array(
		'add' => 'add',
		'export' => 'export',
		'import' => 'import',
		'edit' => 'edit',
		'view' => 'view',
		'list' => 'list',
		'print' => 'print',
		'masterlist' => 'masterlist',
		'masterprint' => 'masterprint',
		'search' => 'search' 
	),
	'searchSettings' => array(
		'caseSensitiveSearch' => false,
		'searchableFields' => array( 
			'id',
			'sales_uuid',
			'company_id',
			'branch_id',
			'branch_scope_id',
			'accounting_period_id',
			'transaction_type',
			'original_sales_id',
			'document_no',
			'registered_document_series_id',
			'draft_reference',
			'transaction_date',
			'due_date',
			'customer_id',
			'customer_name_snapshot',
			'customer_tin_snapshot',
			'customer_branch_code_snapshot',
			'payment_terms_days',
			'billing_address',
			'shipping_address',
			'currency_code',
			'base_currency_code',
			'exchange_rate',
			'sales_agent_id',
			'campaign_id',
			'department_id',
			'cost_center_id',
			'project_id',
			'project_task_id',
			'subtotal_amount',
			'commercial_discount_amount',
			'statutory_discount_amount',
			'vatable_amount',
			'vat_exempt_amount',
			'zero_rated_amount',
			'vat_amount',
			'withholding_amount',
			'grand_total_amount',
			'base_grand_total_amount',
			'benefit_type',
			'beneficiary_name',
			'beneficiary_id_no',
			'beneficiary_id_type',
			'approval_status',
			'document_status',
			'posting_status',
			'eis_status',
			'electronic_invoice_issued_at',
			'remarks',
			'created_by_platform_user_id',
			'approved_by_platform_user_id',
			'posted_by_platform_user_id',
			'created_at',
			'updated_at',
			'approved_at',
			'posted_at',
			'cancelled_at' 
		),
		'searchSuggest' => true,
		'highlightSearchResults' => true,
		'hideDataUntilSearch' => false,
		'hideFilterUntilSearch' => false,
		'googleLikeSearchFields' => array( 
			'id',
			'sales_uuid',
			'company_id',
			'branch_id',
			'branch_scope_id',
			'accounting_period_id',
			'transaction_type',
			'original_sales_id',
			'document_no',
			'registered_document_series_id',
			'draft_reference',
			'transaction_date',
			'due_date',
			'customer_id',
			'customer_name_snapshot',
			'customer_tin_snapshot',
			'customer_branch_code_snapshot',
			'payment_terms_days',
			'billing_address',
			'shipping_address',
			'currency_code',
			'base_currency_code',
			'exchange_rate',
			'sales_agent_id',
			'campaign_id',
			'department_id',
			'cost_center_id',
			'project_id',
			'project_task_id',
			'subtotal_amount',
			'commercial_discount_amount',
			'statutory_discount_amount',
			'vatable_amount',
			'vat_exempt_amount',
			'zero_rated_amount',
			'vat_amount',
			'withholding_amount',
			'grand_total_amount',
			'base_grand_total_amount',
			'benefit_type',
			'beneficiary_name',
			'beneficiary_id_no',
			'beneficiary_id_type',
			'approval_status',
			'document_status',
			'posting_status',
			'eis_status',
			'electronic_invoice_issued_at',
			'remarks',
			'created_by_platform_user_id',
			'approved_by_platform_user_id',
			'posted_by_platform_user_id',
			'created_at',
			'updated_at',
			'approved_at',
			'posted_at',
			'cancelled_at' 
		) 
	),
	'connId' => 'conn',
	'clickActions' => array(
		'row' => array(
			'action' => 'noaction' 
		),
		'fields' => array(
			 
		) 
	),
	'geoCoding' => array(
		'enabled' => false,
		'latField' => '',
		'lonField' => '',
		'addressFields' => array( 
			 
		) 
	),
	'whereTabs' => array( 
		 
	),
	'labels' => array(
		 
	),
	'chartSettings' => array(
		 
	),
	'dataSourceOperations' => array(
		 
	),
	'calendarSettings' => array(
		'categoryColors' => array( 
			 
		) 
	),
	'ganttSettings' => array(
		'categoryColors' => array( 
			 
		) 
	) 
);

global $runnerTableLabels;
if( mlang_getcurrentlang() === 'English' ) {
	$runnerTableLabels['sales'] = array(
	'tableCaption' => 'Sales',
	'fieldLabels' => array(
		'id' => 'Id',
		'sales_uuid' => 'Sales Uuid',
		'company_id' => 'Company Id',
		'branch_id' => 'Branch',
		'branch_scope_id' => 'Branch Scope Id',
		'accounting_period_id' => 'Accounting Period Id',
		'transaction_type' => 'Transaction Type',
		'original_sales_id' => 'Original Sales Id',
		'document_no' => 'Document No',
		'registered_document_series_id' => 'Registered Document Series Id',
		'draft_reference' => 'Draft Reference',
		'transaction_date' => 'Transaction Date',
		'due_date' => 'Due Date',
		'customer_id' => 'Customer',
		'customer_name_snapshot' => 'Customer Name',
		'customer_tin_snapshot' => 'TIN',
		'customer_branch_code_snapshot' => 'Branch Code',
		'payment_terms_days' => 'Payment Terms',
		'billing_address' => 'Billing Address',
		'shipping_address' => 'Shipping Address',
		'currency_code' => 'Currency',
		'base_currency_code' => 'Base Currency Code',
		'exchange_rate' => 'Exchange Rate',
		'sales_agent_id' => 'Sales Agent ',
		'campaign_id' => 'Campaign',
		'department_id' => 'Department',
		'cost_center_id' => 'Cost Center',
		'project_id' => 'Project',
		'project_task_id' => 'Project Task',
		'subtotal_amount' => 'Subtotal Amount',
		'commercial_discount_amount' => 'Commercial Discount Amount',
		'statutory_discount_amount' => 'Statutory Discount Amount',
		'vatable_amount' => 'Vatable Amount',
		'vat_exempt_amount' => 'Vat Exempt Amount',
		'zero_rated_amount' => 'Zero Rated Amount',
		'vat_amount' => 'Vat Amount',
		'withholding_amount' => 'Withholding Amount',
		'grand_total_amount' => 'Grand Total Amount',
		'base_grand_total_amount' => 'Base Grand Total Amount',
		'benefit_type' => 'Benefit Type',
		'beneficiary_name' => 'Beneficiary Name',
		'beneficiary_id_no' => 'Beneficiary Id No',
		'beneficiary_id_type' => 'Beneficiary Id Type',
		'approval_status' => 'Approval Status',
		'document_status' => 'Document Status',
		'posting_status' => 'Posting Status',
		'eis_status' => 'Eis Status',
		'electronic_invoice_issued_at' => 'Electronic Invoice Issued At',
		'remarks' => 'Remarks',
		'created_by_platform_user_id' => 'Created By Platform User Id',
		'approved_by_platform_user_id' => 'Approved By Platform User Id',
		'posted_by_platform_user_id' => 'Posted By Platform User Id',
		'created_at' => 'Created At',
		'updated_at' => 'Updated At',
		'approved_at' => 'Approved At',
		'posted_at' => 'Posted At',
		'cancelled_at' => 'Cancelled At' 
	),
	'fieldTooltips' => array(
		'id' => '',
		'sales_uuid' => '',
		'company_id' => '',
		'branch_id' => '',
		'branch_scope_id' => '',
		'accounting_period_id' => '',
		'transaction_type' => '',
		'original_sales_id' => '',
		'document_no' => '',
		'registered_document_series_id' => '',
		'draft_reference' => '',
		'transaction_date' => '',
		'due_date' => '',
		'customer_id' => '',
		'customer_name_snapshot' => '',
		'customer_tin_snapshot' => '',
		'customer_branch_code_snapshot' => '',
		'payment_terms_days' => '',
		'billing_address' => '',
		'shipping_address' => '',
		'currency_code' => '',
		'base_currency_code' => '',
		'exchange_rate' => '',
		'sales_agent_id' => '',
		'campaign_id' => '',
		'department_id' => '',
		'cost_center_id' => '',
		'project_id' => '',
		'project_task_id' => '',
		'subtotal_amount' => '',
		'commercial_discount_amount' => '',
		'statutory_discount_amount' => '',
		'vatable_amount' => '',
		'vat_exempt_amount' => '',
		'zero_rated_amount' => '',
		'vat_amount' => '',
		'withholding_amount' => '',
		'grand_total_amount' => '',
		'base_grand_total_amount' => '',
		'benefit_type' => '',
		'beneficiary_name' => '',
		'beneficiary_id_no' => '',
		'beneficiary_id_type' => '',
		'approval_status' => '',
		'document_status' => '',
		'posting_status' => '',
		'eis_status' => '',
		'electronic_invoice_issued_at' => '',
		'remarks' => '',
		'created_by_platform_user_id' => '',
		'approved_by_platform_user_id' => '',
		'posted_by_platform_user_id' => '',
		'created_at' => '',
		'updated_at' => '',
		'approved_at' => '',
		'posted_at' => '',
		'cancelled_at' => '' 
	),
	'fieldPlaceholders' => array(
		'id' => '',
		'sales_uuid' => '',
		'company_id' => '',
		'branch_id' => '',
		'branch_scope_id' => '',
		'accounting_period_id' => '',
		'transaction_type' => '',
		'original_sales_id' => '',
		'document_no' => '',
		'registered_document_series_id' => '',
		'draft_reference' => '',
		'transaction_date' => '',
		'due_date' => '',
		'customer_id' => '',
		'customer_name_snapshot' => '',
		'customer_tin_snapshot' => '',
		'customer_branch_code_snapshot' => '',
		'payment_terms_days' => '',
		'billing_address' => '',
		'shipping_address' => '',
		'currency_code' => '',
		'base_currency_code' => '',
		'exchange_rate' => '',
		'sales_agent_id' => '',
		'campaign_id' => '',
		'department_id' => '',
		'cost_center_id' => '',
		'project_id' => '',
		'project_task_id' => '',
		'subtotal_amount' => '',
		'commercial_discount_amount' => '',
		'statutory_discount_amount' => '',
		'vatable_amount' => '',
		'vat_exempt_amount' => '',
		'zero_rated_amount' => '',
		'vat_amount' => '',
		'withholding_amount' => '',
		'grand_total_amount' => '',
		'base_grand_total_amount' => '',
		'benefit_type' => '',
		'beneficiary_name' => '',
		'beneficiary_id_no' => '',
		'beneficiary_id_type' => '',
		'approval_status' => '',
		'document_status' => '',
		'posting_status' => '',
		'eis_status' => '',
		'electronic_invoice_issued_at' => '',
		'remarks' => '',
		'created_by_platform_user_id' => '',
		'approved_by_platform_user_id' => '',
		'posted_by_platform_user_id' => '',
		'created_at' => '',
		'updated_at' => '',
		'approved_at' => '',
		'posted_at' => '',
		'cancelled_at' => '' 
	),
	'pageTitles' => array(
		 
	) 
);
}
?>