	// ===============================================================
	// Global Var
	// ===============================================================
	
	// Edit Handler
	// _______________________________________________________________________
	var EDIT_HANDLER = function(){};	
	EDIT_HANDLER.REF_IS_MODIFIED = false;
	EDIT_HANDLER.HAS_NEWLY_SAVED_DATA = false;
	var PROPERTY_PARENT_ID = 0;
	var PROPERTY_PARENT_DESCRIPTION = "";
	var PROPERTY_PARENT_
	
	
	// Cache
	// _______________________________________________________________________
	var PROPERTY_REC_PORDER_ID = -1;
	var PROPERTY_REC_PORDER_CODE = -1;
	var PROPERTY_REC_STORAGE_ID = -1;
	var PROPERTY_EDIT_MODE = false;
	var PROPERTY_EDIT_ROW_INDEX = -1;
	var INPUT_INSTANCE = null;
	
	
	// Buttons [Optional]
	var SAVE_BBI = null;
	var COMPLETE_BBI = null;
	var SEARCH_CMD = null;
	
	
	// Dialog Controls [Optional]
	// _______________________________________________________________________
	var REC_PORDER_DATE_EXPECT_DTP = null;
	var REC_PORDER_REMARKS_TXT = null;
	var RECEIPT = '';
	
	
	// DGV Controls
	// _______________________________________________________________________
	var PO_ORDER_DGV = null;
	var PO_ORDER_LIST_DGV = null;


	// ===============================================================
	// Initialize Controls
	// ===============================================================     
	function FORM_INITIALIZE()
	{
		// Load Cache Parent Data [Add Redirects if this is a required data.]
		// ...........................................
		if(JSVC_COOKIE.VAR_ISSET("PROPERTY_PARENT_ID_PO_ORDER"))
		{
			PROPERTY_PARENT_ID = JSVC_COOKIE.VAR_READ("PROPERTY_PARENT_ID_PO_ORDER");
		}	
		else
		{
			//window.location = JSCUS_CACHE.AUTH_REDIRECT_URL[JSCUS_CACHE.LOGIN_CLASS];
			//window.close();
		}
		if(JSVC_COOKIE.VAR_ISSET("PROPERTY_PARENT_DESCRIPTION_PO_ORDER"))
		{
			PROPERTY_PARENT_DESCRIPTION = JSVC_COOKIE.VAR_READ("PROPERTY_PARENT_DESCRIPTION_PO_ORDER");
			if(JSOC_ELEMENT.VAR_ELEMENT_EXISTS("PAGE_PARENT_DESCRIPTION_TXT") == true)
			{
				JSOC_ELEMENT.VAR_VALUE("PAGE_PARENT_DESCRIPTION_TXT", PROPERTY_PARENT_DESCRIPTION);			
			}
			if(JSOC_ELEMENT.VAR_ELEMENT_EXISTS("PAGE_PARENT_DESCRIPTION_LBL") == true)
			{
				JSOC_ELEMENT.VAR_VALUE("PAGE_PARENT_DESCRIPTION_LBL", PROPERTY_PARENT_DESCRIPTION);			
			}
			if(JSOC_ELEMENT.VAR_ELEMENT_EXISTS("PAGE_TITLE_LBL") == true)
			{
				JSOC_ELEMENT.VAR_VALUE("PAGE_TITLE_LBL", JSOC_ELEMENT.VAR_VALUE("PAGE_TITLE_LBL") + " : " + PROPERTY_PARENT_DESCRIPTION);	
			}
		}	
		else
		{
			//window.location = JSCUS_CACHE.AUTH_REDIRECT_URL[JSCUS_CACHE.LOGIN_CLASS];	
		}
	
		// Restore Cache on reload
		// ...........................................	
		if
		(
			JSVC_COOKIE.VAR_ISSET("PROPERTY_PARENT_ID_PO_ORDER") || 
			JSVC_COOKIE.VAR_ISSET("PROPERTY_PARENT_DESCRIPTION_PO_ORDER")
		)
		{
			  window.onbeforeunload = function(event)
			  {
					// Get Current Root path
					var CURRENT_ROOT_PATH = JSCUS_CACHE.ROOT_PATH + JSVC_STR.VAR_MID(JSVC_STR.VAR_DLEFT(JSCUS_CACHE.AUTH_REDIRECT_URL[JSCUS_CACHE.LOGIN_CLASS], JSCUS_CACHE.SERVER_URL.length), 1, 1);
				
					// Cache Primary Key
					JSVC_COOKIE.VAR_ADD
					(
						'PROPERTY_PARENT_ID_PO_ORDER', 
						PROPERTY_PARENT_ID, 
						5, 
						CURRENT_ROOT_PATH
					);
					
					// Cache Description
					JSVC_COOKIE.VAR_ADD
					(
						'PROPERTY_PARENT_DESCRIPTION_PO_ORDER', 
						PROPERTY_PARENT_DESCRIPTION, 
						5, 
						CURRENT_ROOT_PATH
					);
			  };
		}
		
 		// Cache Class Properties
		// ...........................................
		if(JSVC_COOKIE.VAR_ISSET("PROPERTY_REC_PORDER_ID"))
		{
			PROPERTY_REC_PORDER_ID = JSVC_COOKIE.VAR_READ("PROPERTY_REC_PORDER_ID");
		}	
		if(JSVC_COOKIE.VAR_ISSET("PROPERTY_EDIT_MODE"))
		{
			PROPERTY_EDIT_MODE = JSVC_COOKIE.VAR_READ("PROPERTY_REC_PORDER_ID");
		}
	
		// Initialize: Modals
		// ...........................................
		if(JSOC_ELEMENT.VAR_ELEMENT_EXISTS("PO_ORDER_MODAL") == true)
		{
			// Display Modal
			JSOC_DIALOG.VAR_MODAL("PO_ORDER_MODAL", false);
		}
				
		// Initialize: Ribbon Buttons [Add Item]
		// ...........................................
		// if(JSOC_ELEMENT.VAR_ELEMENT_EXISTS("ADD_BBI"))
		// {
  //   		ADD_BBI = JSOC_ELEMENT.VAR_GET("ADD_BBI");     	
			
		// 	// Add OnClick event [Show Modal]
		// 	if(JSOC_ELEMENT.VAR_ELEMENT_EXISTS("PO_ORDER_MODAL"))
		// 	{
		// 		ADD_BBI.onclick = 
		// 			function()
		// 			{	
		// 				// Display Modal
		// 				PROPERTY_REC_PORDER_ID = FLAG_BIGINT_NULL;
		// 				PROPERTY_EDIT_ROW_INDEX = -1;
							
		// 				if(JSVC_VAR.VAR_ISSET(INPUT_INSTANCE))
		// 				{
		// 					JSOC_WINDOW.VAR_INPUT_INSTANCE_RESTORE(INPUT_INSTANCE);
		// 				}

		// 				EDIT_HANDLER.REF_IS_MODIFIED = false;
		// 				JSOC_DIALOG.VAR_MODAL("PO_ORDER_MODAL", true);
		// 			}		
		// 	}
		// 	// Add OnClick event [Show Add/Edit Page]
		// 	else
		// 	{
				
		// 	}
		// }	
		
		// Initialize: Ribbon Buttons [Save Changes]
		// ...........................................
		if(JSOC_ELEMENT.VAR_ELEMENT_EXISTS("SAVE_BBI"))
		{
    		SAVE_BBI = JSOC_ELEMENT.VAR_GET("SAVE_BBI");     
			if(JSVC_VAR.VAR_ISSET(HTTP_SAVE))
			{
				// Prepare Save callback
				var CALLBACK_HANDLER = 
					function(IS_SUCCESS)
					{
						// Abort on failure
						if(IS_SUCCESS == false)
						{
							return;
						}
					
						// Show record saved messageBox
						JSVC_INFO.VAR_RECORD_SAVED('');
					}
				
				// Add OnClick event
				SAVE_BBI.onclick = 
					function()
					{
						//check if all receive quantity is 0
						var TOTAL_RECEIVED_QTY = JSVC_NUM.VAR_NVAL(PO_ORDER_LIST_DGV.COLUMN.SUM("REC_PORDER_LIST_TORECEIVE"));

						if(TOTAL_RECEIVED_QTY > 0) 
						{
							JSOC_DIALOG.VAR_MESSAGE_BOX
							(
								'Are you sure all information are correct?', 
								'PeakPOS',
								'YESNO',
								'QUESTION',
								function(RESULT) {
									if(RESULT == 2)
										HTTP_SAVE(CALLBACK_HANDLER, false);
								}
							);
						}
						else {
							JSOC_DIALOG.VAR_MESSAGE_BOX
							(
								'No quantity to receive. Do you wish to complete?', 
								'PeakPOS',
								'YESNO',
								'QUESTION',
								function(RESULT) {
									if(RESULT == 2)
										HTTP_SAVE_COMPLETE(CALLBACK_HANDLER, true);
								}
							);
						}
					}
			}
		}

		if(JSOC_ELEMENT.VAR_ELEMENT_EXISTS("COMPLETE_BBI"))
		{
    		COMPLETE_BBI = JSOC_ELEMENT.VAR_GET("COMPLETE_BBI");     
			if(JSVC_VAR.VAR_ISSET(HTTP_SAVE))
			{
				// Prepare Save callback
				var CALLBACK_HANDLER = 
					function(IS_SUCCESS)
					{
						// Abort on failure
						if(IS_SUCCESS == false)
						{
							return;
						}
					
						// Show record saved messageBox
						JSVC_INFO.VAR_RECORD_SAVED('');
					}
				
				// Add OnClick event
				COMPLETE_BBI.onclick = 
					function()
					{
						//check if all receive quantity is 0
						var TOTAL_RECEIVED_QTY = JSVC_NUM.VAR_NVAL(PO_ORDER_LIST_DGV.COLUMN.SUM("REC_PORDER_LIST_TORECEIVE"));

						if(TOTAL_RECEIVED_QTY > 0) 
						{
							JSOC_DIALOG.VAR_MESSAGE_BOX
							(
								'Are you sure all information are correct?', 
								'PeakPOS',
								'YESNO',
								'QUESTION',
								function(RESULT) {
									if(RESULT == 2)
										HTTP_SAVE(CALLBACK_HANDLER, true);
								}
							);
						}
						else {
							JSOC_DIALOG.VAR_MESSAGE_BOX
							(
								'No quantity to receive. Do you wish to complete?', 
								'PeakPOS',
								'YESNO',
								'QUESTION',
								function(RESULT) {
									if(RESULT == 2)
										HTTP_SAVE_COMPLETE(CALLBACK_HANDLER, true);
								}
							);
						}
					}
			}
		}

		if(JSOC_ELEMENT.VAR_ELEMENT_EXISTS("CANCEL_BBI"))
		{
    		CANCEL_BBI = JSOC_ELEMENT.VAR_GET("CANCEL_BBI");      		
		}

		// Initialize: Ribbon Buttons [Add Search]
		// ...........................................
		if(JSOC_ELEMENT.VAR_ELEMENT_EXISTS("SEARCH_CMD"))
		{
			SEARCH_CMD = JSOC_ELEMENT.VAR_GET("SEARCH_CMD");
			SEARCH_CMD.onclick = function(){HTTP_SEARCH()};
		}

		// Initialize: Ribbon Buttons [End Shift - Cash breakdown]
		// ...........................................
		if(JSOC_ELEMENT.VAR_ELEMENT_EXISTS("SHIFT_END_BBI"))
		{
    		SHIFT_END_BBI = JSOC_ELEMENT.VAR_GET("SHIFT_END_BBI"); 

    		SHIFT_END_BBI.onclick =
    			function()
    			{
    				HTTP_PRINT_CASHBREAKDOWN
    				(
    					function(IS_SUCCESS) 
    					{
    						if(IS_SUCCESS == false)
    						{	
    							return;
    						}
    					}
    				);
    			};
		}

		// Initialize: Ribbon Buttons [End Shift 2]
		// ...........................................
		if(JSOC_ELEMENT.VAR_ELEMENT_EXISTS("SHIFT_END_BBI_2"))
		{
    		SHIFT_END_BBI_2 = JSOC_ELEMENT.VAR_GET("SHIFT_END_BBI_2"); 

    		SHIFT_END_BBI_2.onclick =
    			function()
    			{
    				X_READING
    				(
    					function(IS_SUCCESS) 
    					{
    						if(IS_SUCCESS == true)
    						{
    							END_SHIFT();
    						}
    					}
    				);
    			};
		}
		
		// Prepare onChange event
		// ...........................................
		var ON_CHANGE_EVENT = '';

		if(JSOC_ELEMENT.VAR_ELEMENT_EXISTS("SHIFT_END_MODAL"))
		{
			$('input[id^="CASHBREAKDOWN_"]').on('keyup', function (e) {
				HTTP_CALCULATE_CASH($(this).attr('id'));
			});
		}
		
		
		// Initialize: Input Controls
		// ...........................................
		// if(JSOC_ELEMENT.VAR_ELEMENT_EXISTS("REC_PORDER_ID_TXT"))
		// {
		// 	REC_PORDER_ID_TXT = JSOC_ELEMENT.VAR_GET("REC_PORDER_ID_TXT");      
		// 	REC_PORDER_ID_TXT.onchange = 
		// 		function()
		// 		{
		// 			if(REC_PORDER_ID_TXT.disabled == false)
		// 			{
		// 				EDIT_HANDLER.REF_IS_MODIFIED = true;
		// 			}
		// 		};
		// 	REC_PORDER_ID_TXT.onkeypress = function(){REC_PORDER_ID_TXT.onchange();};
		// 	REC_PORDER_ID_TXT.onpaste = function(){REC_PORDER_ID_TXT.onchange();};
		// 	REC_PORDER_ID_TXT.oninput = function(){REC_PORDER_ID_TXT.onchange();};
		// }
		// if(JSOC_ELEMENT.VAR_ELEMENT_EXISTS("REC_PORDER_ACC_GROUP_ID_CMB"))
		// {
		// 	REC_PORDER_ACC_GROUP_ID_CMB = JSOC_ELEMENT.VAR_GET("REC_PORDER_ACC_GROUP_ID_CMB");      	
		// 	REC_PORDER_ACC_GROUP_ID_CMB.onchange = 
		// 		function()
		// 		{
		// 			if(REC_PORDER_ACC_GROUP_ID_CMB.disabled == false)
		// 			{
		// 				EDIT_HANDLER.REF_IS_MODIFIED = true;
		// 				HTTP_SEARCH_PRODUCT();
		// 			}
		// 		};
		// 	REC_PORDER_ACC_GROUP_ID_CMB.onkeypress = function(){REC_PORDER_ACC_GROUP_ID_CMB.onchange();};
		// 	REC_PORDER_ACC_GROUP_ID_CMB.onpaste = function(){REC_PORDER_ACC_GROUP_ID_CMB.onchange();};
		// 	//REC_PORDER_ACC_GROUP_ID_CMB.oninput = function(){REC_PORDER_ACC_GROUP_ID_CMB.onchange();};							
		// }
		// if(JSOC_ELEMENT.VAR_ELEMENT_EXISTS("REC_PORDER_CODE_TXT"))
		// {
		// 	REC_PORDER_CODE_TXT = JSOC_ELEMENT.VAR_GET("REC_PORDER_CODE_TXT");      
		// 	REC_PORDER_CODE_TXT.onchange = 
		// 		function()
		// 		{
		// 			if(REC_PORDER_CODE_TXT.disabled == false)
		// 			{
		// 				EDIT_HANDLER.REF_IS_MODIFIED = true;
		// 			}
		// 		};
		// 	REC_PORDER_CODE_TXT.onkeypress = function(){REC_PORDER_CODE_TXT.onchange();};
		// 	REC_PORDER_CODE_TXT.onpaste = function(){REC_PORDER_CODE_TXT.onchange();};
		// 	REC_PORDER_CODE_TXT.oninput = function(){REC_PORDER_CODE_TXT.onchange();};
		// }
		// if(JSOC_ELEMENT.VAR_ELEMENT_EXISTS("REC_PORDER_DATE_EXPECT_DTP"))
		// {
		// 	REC_PORDER_DATE_EXPECT_DTP = JSOC_ELEMENT.VAR_GET("REC_PORDER_DATE_EXPECT_DTP");   
		// 	JSOC_ELEMENT.VAR_VALUE(REC_PORDER_DATE_EXPECT_DTP, JSVC_DATE.VAR_FORMAT(JSVC_DATE.VAR_NOW(), "YYYY-MM-DD" + "T00:00"));
		// 	REC_PORDER_DATE_EXPECT_DTP.onchange = 
		// 		function()
		// 		{
		// 			if(REC_PORDER_DATE_EXPECT_DTP.disabled == false)
		// 			{
		// 				EDIT_HANDLER.REF_IS_MODIFIED = true;
		// 			}
		// 		};
		// 	REC_PORDER_DATE_EXPECT_DTP.onkeypress = function(){REC_PORDER_DATE_EXPECT_DTP.onchange();};
		// 	REC_PORDER_DATE_EXPECT_DTP.onpaste = function(){REC_PORDER_DATE_EXPECT_DTP.onchange();};
		// 	REC_PORDER_DATE_EXPECT_DTP.oninput = function(){REC_PORDER_DATE_EXPECT_DTP.onchange();};					
		// }
		// if(JSOC_ELEMENT.VAR_ELEMENT_EXISTS("SEARCH_REC_PORDER_DATE_EXPECT_DTP"))
		// {
		// 	JSOC_ELEMENT.VAR_VALUE("SEARCH_REC_PORDER_DATE_EXPECT_DTP", JSVC_DATE.VAR_FORMAT(JSVC_DATE.VAR_NOW(), "YYYY-MM-DD") + "T00:00");
		// }
		// if(JSOC_ELEMENT.VAR_ELEMENT_EXISTS("SEARCH_REC_PORDER_DATE_EXPECT_FROM_DTP"))
		// {
		// 	JSOC_ELEMENT.VAR_VALUE("SEARCH_REC_PORDER_DATE_EXPECT_FROM_DTP", JSVC_DATE.VAR_FORMAT(JSVC_DATE.VAR_ADD('DAY', -7, JSVC_DATE.VAR_NOW()), "YYYY-MM-DD") + "T00:00");
		// }
		// if(JSOC_ELEMENT.VAR_ELEMENT_EXISTS("SEARCH_REC_PORDER_DATE_EXPECT_TO_DTP"))
		// {
		// 	JSOC_ELEMENT.VAR_VALUE("SEARCH_REC_PORDER_DATE_EXPECT_TO_DTP", JSVC_DATE.VAR_FORMAT(JSVC_DATE.VAR_ADD('DAY', 7, JSVC_DATE.VAR_NOW()), "YYYY-MM-DD") + "T00:00");
		// }
		// if(JSOC_ELEMENT.VAR_ELEMENT_EXISTS("REC_PORDER_REMARKS_TXT"))
		// {
		// 	REC_PORDER_REMARKS_TXT = JSOC_ELEMENT.VAR_GET("REC_PORDER_REMARKS_TXT");      
		// 	REC_PORDER_REMARKS_TXT.onchange = 
		// 		function()
		// 		{
		// 			if(REC_PORDER_REMARKS_TXT.disabled == false)
		// 			{
		// 				EDIT_HANDLER.REF_IS_MODIFIED = true;
		// 			}
		// 		};
		// 	REC_PORDER_REMARKS_TXT.onkeypress = function(){REC_PORDER_REMARKS_TXT.onchange();};
		// 	REC_PORDER_REMARKS_TXT.onpaste = function(){REC_PORDER_REMARKS_TXT.onchange();};
		// 	REC_PORDER_REMARKS_TXT.oninput = function(){REC_PORDER_REMARKS_TXT.onchange();};
		// }
		// if(JSOC_ELEMENT.VAR_ELEMENT_EXISTS("REC_PORDER_ACC_ACCOUNT_ID_CMB"))
		// {
		// 	REC_PORDER_ACC_ACCOUNT_ID_CMB = JSOC_ELEMENT.VAR_GET("REC_PORDER_ACC_ACCOUNT_ID_CMB");      	
		// 	REC_PORDER_ACC_ACCOUNT_ID_CMB.onchange = 
		// 		function()
		// 		{
		// 			if(REC_PORDER_ACC_ACCOUNT_ID_CMB.disabled == false)
		// 			{
		// 				EDIT_HANDLER.REF_IS_MODIFIED = true;
		// 			}
		// 		};
		// 	REC_PORDER_ACC_ACCOUNT_ID_CMB.onkeypress = function(){REC_PORDER_ACC_ACCOUNT_ID_CMB.onchange();};
		// 	REC_PORDER_ACC_ACCOUNT_ID_CMB.onpaste = function(){REC_PORDER_ACC_ACCOUNT_ID_CMB.onchange();};
		// 	REC_PORDER_ACC_ACCOUNT_ID_CMB.oninput = function(){REC_PORDER_ACC_ACCOUNT_ID_CMB.onchange();};							
		// }
		// if(JSOC_ELEMENT.VAR_ELEMENT_EXISTS("REC_PORDER_DATE_REQUEST_DTP"))
		// {
		// 	REC_PORDER_DATE_REQUEST_DTP = JSOC_ELEMENT.VAR_GET("REC_PORDER_DATE_REQUEST_DTP");   
		// 	JSOC_ELEMENT.VAR_VALUE(REC_PORDER_DATE_REQUEST_DTP, JSVC_DATE.VAR_FORMAT(JSVC_DATE.VAR_NOW(), "YYYY-MM-DD" + "T00:00"));
		// 	REC_PORDER_DATE_REQUEST_DTP.onchange = 
		// 		function()
		// 		{
		// 			if(REC_PORDER_DATE_REQUEST_DTP.disabled == false)
		// 			{
		// 				EDIT_HANDLER.REF_IS_MODIFIED = true;
		// 			}
		// 		};
		// 	REC_PORDER_DATE_REQUEST_DTP.onkeypress = function(){REC_PORDER_DATE_REQUEST_DTP.onchange();};
		// 	REC_PORDER_DATE_REQUEST_DTP.onpaste = function(){REC_PORDER_DATE_REQUEST_DTP.onchange();};
		// 	REC_PORDER_DATE_REQUEST_DTP.oninput = function(){REC_PORDER_DATE_REQUEST_DTP.onchange();};					
		// }
		// if(JSOC_ELEMENT.VAR_ELEMENT_EXISTS("SEARCH_REC_PORDER_DATE_REQUEST_DTP"))
		// {
		// 	JSOC_ELEMENT.VAR_VALUE("SEARCH_REC_PORDER_DATE_REQUEST_DTP", JSVC_DATE.VAR_FORMAT(JSVC_DATE.VAR_NOW(), "YYYY-MM-DD") + "T00:00");
		// }
		// if(JSOC_ELEMENT.VAR_ELEMENT_EXISTS("SEARCH_REC_PORDER_DATE_REQUEST_FROM_DTP"))
		// {
		// 	JSOC_ELEMENT.VAR_VALUE("SEARCH_REC_PORDER_DATE_REQUEST_FROM_DTP", JSVC_DATE.VAR_FORMAT(JSVC_DATE.VAR_ADD('DAY', -7, JSVC_DATE.VAR_NOW()), "YYYY-MM-DD") + "T00:00");
		// }
		// if(JSOC_ELEMENT.VAR_ELEMENT_EXISTS("SEARCH_REC_PORDER_DATE_REQUEST_TO_DTP"))
		// {
		// 	JSOC_ELEMENT.VAR_VALUE("SEARCH_REC_PORDER_DATE_REQUEST_TO_DTP", JSVC_DATE.VAR_FORMAT(JSVC_DATE.VAR_ADD('DAY', 7, JSVC_DATE.VAR_NOW()), "YYYY-MM-DD") + "T00:00");
		// }
		// if(JSOC_ELEMENT.VAR_ELEMENT_EXISTS("REC_PORDER_STATUS_CMB"))
		// {
		// 	REC_PORDER_STATUS_CMB = JSOC_ELEMENT.VAR_GET("REC_PORDER_STATUS_CMB");      	
		// 	REC_PORDER_STATUS_CMB.onchange = 
		// 		function()
		// 		{
		// 			if(REC_PORDER_STATUS_CMB.disabled == false)
		// 			{
		// 				EDIT_HANDLER.REF_IS_MODIFIED = true;
		// 			}
		// 		};
		// 	REC_PORDER_STATUS_CMB.onkeypress = function(){REC_PORDER_STATUS_CMB.onchange();};
		// 	REC_PORDER_STATUS_CMB.onpaste = function(){REC_PORDER_STATUS_CMB.onchange();};
		// 	REC_PORDER_STATUS_CMB.oninput = function(){REC_PORDER_STATUS_CMB.onchange();};							
		// }
		// if(JSOC_ELEMENT.VAR_ELEMENT_EXISTS("PARAM_REC_PORDER_ID_FILE_FP"))
		// {
		// 	PARAM_REC_PORDER_ID_FILE_FP = JSOC_ELEMENT.VAR_GET("PARAM_REC_PORDER_ID_FILE_FP");
		// }
		if(JSOC_ELEMENT.VAR_ELEMENT_EXISTS("START_DATE_TXT")) {
			JSOC_ELEMENT.VAR_VALUE("START_DATE_TXT", JSVC_DATE.VAR_FORMAT(JSVC_DATE.VAR_ADD('DAY', 0, JSVC_DATE.VAR_NOW()), "YYYY-MM-DD") + "T00:00");
		}

		if(JSOC_ELEMENT.VAR_ELEMENT_EXISTS("END_DATE_TXT")) {
			JSOC_ELEMENT.VAR_VALUE("END_DATE_TXT", JSVC_DATE.VAR_FORMAT(JSVC_DATE.VAR_ADD('DAY', 0, JSVC_DATE.VAR_NOW()), "YYYY-MM-DD") + "T00:00");
		}
		
		// Initialize: Default Settings
		// ...........................................
		// FORM_PREPARE_DEFAULT_SETTINGS();   	
	}