Create tpstatus_inq.php