Thursday, July 19, 2012

Konfigurasi Point Of Sale ( POS )




A.    Pengertian
Point Of Sale atau disingkat POS dapat diterjemahkan bebas menjadi sistem kasir, yaitu aktivitas yang ber-orientasi pada penjualan yang terjadi pada bidang usaha retail.  Mengapa POS ini menjadi terlihat sangat penting? Hal ini semata-mata adalah karena POS merupakan terminal tempat uang diterima dari pelanggan ke toko retail. Bagi pemilik usaha, uang masuk adalah indikator yang paling mudah untuk mengukur pendapatan, disebut dengan OMZET.

POS juga menjadi penting karena seiring dengan berkembangnya usaha, sistem kasir akan dijalankan bukan oleh pemilik, namun oleh karyawan. Karena itu pemilik wajib tahu apa yang dikerjakan oleh kasir, dan berapa uang yang didapatkan secara tepat.
Para pengusaha retail lama mungkin telah terbiasa dengan mesin kasir elektronik atau disebut Cash Register. Cash Register adalah sistem kasir sederhana yang bisa mengetahui omzet hari ini. Mesin ini juga bisa mengetahui aktivitas uang masuk oleh masing-masing karyawan kasir, jika dipakai oleh lebih dari satu orang.
Seiring dengan pesatnya perkembangan komputer, cash register mulai ditinggalkan dengan alasan sebagai berikut:
  • Kapasitas penyimpanan terbatas.
  • Hanya dapat melakukan transaksi POS sederhana.
  • Tidak dapat digunakan untuk kepentingan lainnya.
  • Sistem POS terlalu sederhana. Kalaupun ada cash register yang mampu mendukung sistem stok (persediaan), harganya sangat mahal dibandingkan computer.
  • Tidak dapat di upgrade. Misalnya tidak mendukung sistem Barcode. Kalaupun ada, harganya juga mahal.
  • Biaya maintenance tinggi. Jika terjadi kerusakan modul, spare-part jarang tersedia dan harganya mahal.
Karena itu dewasa ini, sistem POS atau kasir telah digantikan oleh sistem komputer kasir. Walaupun tahap implementasi awal terlihat lebih rumit, namun fitur yang disediakan jauh melebihi cash register.
Saat ini cash register hanya cocok dipakai untuk counter-counter sederhana yang tidak mempunyai terlalu banyak barang. Misalnya depot di food court, open space counter di mall, atau usaha retail dengan frekuensi penjualan yang rendah. Satu-satunya keunggulan cash register adalah bentuknya yang compact dan mudah dipindah-pindah.

B.    Kebutuhan
Hal- hal yang harus diperhatikan untuk membangun system POS dalam sebuah mini market adalah sebagai berikut :
  1. Point Of Sale Computer (PC POS)
  2. Display ( LCD atau Monitor )
  3.  Barcode Scanner
  4. Mini Printer
  5. Cash Drawer / Laci Uang
  6.  Software
C.     Database
Database yang sesuai untuk aplikasi POS ini yaitu :
  • MySQL 3.23.15 atau lebih tinggi (dianjurkan)
  • PostgreSQL 7.1 atau lebih tinggi
  • Oracle 9i atau lebih tinggi (SQL99)
  • Microsoft SQL server (7 and 2000)
D.    Instalasi dan Konfigurasi
Cara instalasi dan konfigurasi Point Of sale :
  • Pertama download software open source Point Of sale di http://sourceforge.net/projects/opensourcepos/?source=directory.
  • Buatlah  database mysql baru untuk menginstal open source Point Of Sale.
  • Jalankan dan eksport  file database / database.sql ke dalam local host untuk membuat tabel yang dibutuhkan.
  • Upload file Point Of Sale ke server web,dalam hal ini ke localhost.
  • Salin aplikasi / config / database.php.tmpl ke aplikasi / config / database.php.
  •  Perbaiki dan modifikasi : aplikasi / config / database.php untuk koneksi ke database Anda. Modifikasi database.php di ubah menjadi :

<?php  if ( ! defined(‘BASEPATH’)) exit(‘No direct script access allowed’);
/*
| ——————————————————————-
| DATABASE CONNECTIVITY SETTINGS
| ——————————————————————-
| This file will contain the settings needed to access your database.
|
| For complete instructions please consult the ‘Database Connection’
| page of the User Guide.
|
| ——————————————————————-
| EXPLANATION OF VARIABLES
| ——————————————————————-
|
|              ['hostname'] The hostname of your database server.
|              ['username'] The username used to connect to the database
|              ['password'] The password used to connect to the database
|              ['database'] The name of the database you want to connect to
|              ['dbdriver'] The database type. ie: mysql.  Currently supported:
                                                                 mysql, mysqli, postgre, odbc, mssql, sqlite, oci8
|              ['dbprefix'] You can add an optional prefix, which will be added
|                                                              to the table name when using the  Active Record class
|              ['pconnect'] TRUE/FALSE – Whether to use a persistent connection
|              ['db_debug'] TRUE/FALSE – Whether database errors should be displayed.
|              ['cache_on'] TRUE/FALSE – Enables/disables query caching
|              ['cachedir'] The path to the folder where cache files should be stored
|              ['char_set'] The character set used in communicating with the database
|              ['dbcollat'] The character collation used in communicating with the database
|                                                              NOTE: For MySQL and MySQLi databases, this setting is only used
|                                                               as a backup if your server is running PHP < 5.2.3 or MySQL < 5.0.7
|                                                              (and in table creation queries made with DB Forge).
|                                                               There is an incompatibility in PHP with mysql_real_escape_string() which
|                                                               can make your site vulnerable to SQL injection if you are using a
|                                                               multi-byte character set and are running versions lower than these.
|                                                               Sites using Latin-1 or UTF-8 database character set and collation are unaffected.
|              ['swap_pre'] A default table prefix that should be swapped with the dbprefix
|              ['autoinit'] Whether or not to automatically initialize the database.
|              ['stricton'] TRUE/FALSE – forces ‘Strict Mode’ connections
|                                                                                                              – good for ensuring strict SQL while developing
|
| The $active_group variable lets you choose which connection group to
| make active.  By default there is only one group (the ‘default’ group).
|
| The $active_record variables lets you determine whether or not to load
| the active record class
*/

$active_group = ‘default’;
$active_record = TRUE;

$db['default']['hostname'] = ‘localhost’;
$db['default']['username'] = ‘root’;
$db['default']['password'] = ”;
$db['default']['database'] = ‘pointofsale’;
$db['default']['dbdriver'] = ‘mysql’;
$db['default']['dbprefix'] = ‘ospos_’;
$db['default']['pconnect'] = FALSE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = ”;
$db['default']['char_set'] = ‘utf8′;
$db['default']['dbcollat'] = ‘utf8_general_ci’;
$db['default']['swap_pre'] = ”;
$db['default']['autoinit'] = TRUE;
$db['default']['stricton'] = FALSE;


/* End of file database.php */
/* Location: ./application/config/database.php */

  • Perbaiki dan modifikasi aplikasi / config / config.php untuk konfigurasi web.
    Anda menginstal penjualan melalui browser.
  • Kemudian ubah file DB_DRIVER.php menjadi seperti ini :
<?php  if ( ! defined(‘BASEPATH’)) exit(‘No direct script access allowed’);
/*
| ——————————————————————-
| DATABASE CONNECTIVITY SETTINGS
| ——————————————————————-
| This file will contain the settings needed to access your database.
|
| For complete instructions please consult the ‘Database Connection’
| page of the User Guide.
|
| ——————————————————————-
| EXPLANATION OF VARIABLES
| ——————————————————————-
|
|              ['hostname'] The hostname of your database server.
|              ['username'] The username used to connect to the database
|              ['password'] The password used to connect to the database
|              ['database'] The name of the database you want to connect to
|              ['dbdriver'] The database type. ie: mysql.  Currently supported:
                                                                 mysql, mysqli, postgre, odbc, mssql, sqlite, oci8
|              ['dbprefix'] You can add an optional prefix, which will be added
|                                                              to the table name when using the  Active Record class
|              ['pconnect'] TRUE/FALSE – Whether to use a persistent connection
|              ['db_debug'] TRUE/FALSE – Whether database errors should be displayed.
|              ['cache_on'] TRUE/FALSE – Enables/disables query caching
|              ['cachedir'] The path to the folder where cache files should be stored
|              ['char_set'] The character set used in communicating with the database
|              ['dbcollat'] The character collation used in communicating with the database
|                                                              NOTE: For MySQL and MySQLi databases, this setting is only used
|                                                               as a backup if your server is running PHP < 5.2.3 or MySQL < 5.0.7
|                                                              (and in table creation queries made with DB Forge).
|                                                               There is an incompatibility in PHP with mysql_real_escape_string() which
|                                                               can make your site vulnerable to SQL injection if you are using a
|                                                               multi-byte character set and are running versions lower than these.
|                                                               Sites using Latin-1 or UTF-8 database character set and collation are unaffected.
|              ['swap_pre'] A default table prefix that should be swapped with the dbprefix
|              ['autoinit'] Whether or not to automatically initialize the database.
|              ['stricton'] TRUE/FALSE – forces ‘Strict Mode’ connections
|                                                                                                              – good for ensuring strict SQL while developing
|
| The $active_group variable lets you choose which connection group to
| make active.  By default there is only one group (the ‘default’ group).
|
| The $active_record variables lets you determine whether or not to load
| the active record class
*/

$active_group = ‘default’;
$active_record = TRUE;

$db['default']['hostname'] = ‘localhost’;
$db['default']['username'] = ‘root’;
$db['default']['password'] = ”;
$db['default']['database'] = ‘pointofsale’;
$db['default']['dbdriver'] = ‘mysql’;
$db['default']['dbprefix'] = ‘ospos_’;
$db['default']['pconnect'] = FALSE;
$db['default']['db_debug'] = TRUE;
$db['default']['cache_on'] = FALSE;
$db['default']['cachedir'] = ”;
$db['default']['char_set'] = ‘utf8′;
$db['default']['dbcollat'] = ‘utf8_general_ci’;
$db['default']['swap_pre'] = ”;
$db['default']['autoinit'] = TRUE;
$db['default']['stricton'] = FALSE;

/* End of file database.php */
/* Location: ./application/config/database.php */
  • Konfigurasi selesai,kemudian buka web browser ketikan localhost/pointofsale/ .
  • Masuklah menggunakan username: admin password: pointofsale. Dalam hal ini admin dapat memasukan daftar konsumen,daftar item / barang yang di jual dan dapat memodifikasi data konsumen.
  • SELAMAT MENCOBA
E. Kesimpulan
Point Of Sale ( POS ) adalah sebuah aplikasi untuk administrasi kasir,yang mengacu kepada penggunaan teknologi untuk melakukan efisiensi transaksi, dalam hal ini adalah kecepatan, ketelitian, dan kelengkapan pelaporan manajemen.
POS juga menjadi penting karena seiring dengan berkembangnya usaha, sistem kasir akan dijalankan bukan oleh pemilik, namun oleh karyawan. Karena itu pemilik wajib tahu apa yang dikerjakan oleh kasir, dan berapa uang yang didapatkan secara tepat.

Source :  http://iqroit.com/konfigurasi-point-sale-pos/


Anda ingin mencari refrensi dan contoh program lengkap ? Kami ada. Sekarang Anda bisa mencari Point of Sale PHP MySQL di situs ini : http://www.bunafitkomputer.com. Koleksi program lengkap di sana, proyek PHP dan MySQL, juga jQuery dan Framework. Bukunya juga ada.

3 comments:

  1. Salam Sejahtera,

    Open Source Point Of Sale ini memang senang digunakan untuk perniagaan kedai runcit and restaurant.

    Kami ingin memperkenalkan integrasi antara FrontAccounting + PHP POS dan jadikan pasangan yang terbaik untuk perniagaan kecil.

    Sila baca source dari http://www.cartbooks.com/frontaccounting-point-of-sale

    ReplyDelete
  2. tidak bisa login kenapa yah??
    user n pass sudah sesuai,,,

    ReplyDelete