-=-
.
.....
  
 
RSS
Direkomendasikan menggunakan brower Opera/Chrome/Firefox. Resolusi minimal 1024x768 | Powered by ____ |
 
  
 
Nikmati Delphi-ID dalam berbagai versi tampilan :
Basic View (LOW Bandwidth)
Default View (Full)
Mobile Edition
Main Menu
..:: onWebTools ::..
..:: onLastPosts ::..
goto Postjumlah komponen maksimal dalam sebuah project(6)
 by d4mnf1y32
 on 21.May at 12:16
goto Posttanya grayscale to biner dengan scanline(1)
 by luckynvic
 on 20.May at 20:44
goto Posttanya looping biner to matriks(1)
 by luckynvic
 on 20.May at 20:10
goto Postsql error:acces denied for user....(2)
 by nasbms
 on 19.May at 16:54
goto Postpemanggilan frame(4)
 by nasbms
 on 19.May at 16:14
goto Posttanya AvLock(0)
 by azuriza
 on 19.May at 11:24
goto PostGet TDBEdit Value Menggunakan LookUp Grid(10)
 by henry_sys
 on 18.May at 11:27
goto Postmenghitung record dalam perulangan(4)
 by idhiel
 on 16.May at 13:53
goto Posttanya ascii(4)
 by mas_kofa
 on 16.May at 12:11
goto PostRawPrint Untuk Delphi XE2(0)
 by adewijaya
 on 15.May at 22:34
goto Postdatabase error..(4)
 by idhiel
 on 15.May at 15:57
goto Postbekasi, pt arila putra mahkota(3)
 by mas_kofa
 on 15.May at 15:37
goto Postbagaimana cara membaca file *.doc dg delphi?(0)
 by ficky
 on 15.May at 06:14
goto Posttanya biner to matriks(13)
 by diandewi
 on 14.May at 20:30

..:: onLast Articles ::..
..:: New Download ::..
Pascal-id.Org
Feeds -  Popular -  Latest
RE: The Longue
8 months, 3 weeks ago
RE: belajar pascal
8 months, 3 weeks ago
RE: The Longue
8 months, 3 weeks ago
RE: belajar pascal
8 months, 3 weeks ago
RE: Perkenalan dan Absen
8 months, 3 weeks ago
RE: Alhamdulillah Buka Puasa Bersama
8 months, 3 weeks ago
RE: تَقَبَّلَ اللهُ مِنَّا وَمِنْكَ - Selamat Hari Raya Idul Fitri
8 months, 3 weeks ago
Lintas Situs
«
free web site stats and visitor tracking

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
imunkOffline
Location:
5 Post subject: stok brg dan harga yg berubah2...??  PostPosted: 22/Nov/2006 08:27
onUber-Skilled


Joined: 28-Mar-2005
Posts: 451

Status: Offline
dear all,

mungkin utk para master subject diatas kurng berbobot tapi bagiku ini bikin puyeng....Smile

masalahnya gini:
ada laporan dg format:
NAMA BRG; STOK AWAL; TOT DIJUAL; STOK AKHIR; HRG BELI; HRG JUAL

laporan yg diinginkan:
PERHARI; PERPERIODE (TGL1 s/d TGL2); PERBULAN; PERTAHUN

gmn menentukan stok dan harga (beli & jual), karena ada kemungkinan terjadi perubahan harga beli dan jual. perubahan harga mengikuti harga terakhir jadi harga lama akan lgs diganti dg harga baru.

misal ada laporan perhari, tgl 1/10/2006 laporan oke. pada tanggal 15/10/2006 terjadi perubahan harga beli dan jual. tgl 16/10/2006 dibuat lagi laporan pertgl 1/10/2006, ternyata harga beli dan jual tidak sama dengan laporan yg dibuat pertama tadi so....
ngitung stok dan nentuin harganya gimana ya, kalo beda gitu kan jd gak valid laporannya....??? Crying or Very sad

moga penjelasan dari permasalahanku bisa dimengerti..
dan terima kasih banyak atas pencerahan dan bantuannya...


untuk menambah ilmu memang butuh seorang guru.
 
 View user's profile Send private message  
Reply with quote Back to top
send2iwanOffline
Location:
Post subject:   PostPosted: 22/Nov/2006 08:49
onSkilled


Joined: 28-Jul-2006
Posts: 65

Status: Offline
kalo mao tetap sama hasilnya. buat aja field2 baru di table itu untuk menyimpan nilai2 yg dipakai saat itu. nanti laporan pakai nilai dari field2 itu.
 
 View user's profile Send private message  
Reply with quote Back to top
jetzOffline
Location:
Post subject:   PostPosted: 22/Nov/2006 09:02
onIntermediate


Joined: 18-May-2006
Posts: 53

Status: Offline
yup betul... seperti yang dikasi tau ama yang diatas... harus buat satu tabel lagi yang isinya update harga beli dan satu tabel lagi yang isinya update harga jual....
 
 View user's profile Send private message  
Reply with quote Back to top
DelphiExpert
Location:
Post subject:   PostPosted: 22/Nov/2006 15:19
onMage


Joined: 06-Feb-2006
Posts: 2401

Anda harus melakukan tracking orders, sebagai contoh buat table "InventoryHistroy".
Isinya antara lain:
- ItemID
- WarehouseID (Kalo support multi gudang)
- Jenis Transaksi (AR/AP/Return dll)
- Tanggal trx tentunya
- Quantity item saat transaksi
- Unit cost saat transaksi
- Sale price
- Also short of trx desc. etc. atau sesuaikan dengan kebutuhan Imunk Smile

_________________
Dude, if you don't understand the basics and just want to get someone else write the code for you, it means you really shouldn't study computer science. Find a different field.
http://delphiexpert.wordpress.com
 
 View user's profile Send private message Visit poster's website  
Reply with quote Back to top
kupretkutuOffline
Location:
Post subject:   PostPosted: 22/Nov/2006 20:36
onSkilled


Joined: 14-Nov-2006
Posts: 111

Status: Offline
pernah juga sih ngalamin masalah yang sama, ya pemecahannya yang sederhana2 ajah, ada table terpisah misalnya namanya tbl_harga yang nentuin harga beli dan harga jual saat ini, dan di table penjualan ada kolom harga beli dan harga jual. jadi setiap ada transaksi masuk, di kolom harga beli dan harga jual nya table penjualan di masukkan harga beli dan harga jual saat ini dari tbl_harga. jadi kalo ada update harga, kolom harga beli dan jual nya table penjualan ngikut berubah, nah report nya ngambil harga dari table penjualan ajah, gitu...
mudah2an pemecahan yang super sederhana ini nyambung dan bisa membantu...

Just Keep It Simple Bro, Keep Everything Simple. Stop Thinking and JUST DO IT! Smile

_________________
pengen jadi programmer...
 
 View user's profile Send private message Send e-mail Yahoo Messenger  
Reply with quote Back to top
saysansay
Location:
Post subject:   PostPosted: 23/Nov/2006 10:51
onProfessional


Joined: 06-Aug-2005
Posts: 648

Xixixixixi Kasus Yg sama ...Gampang Kok Tinggal Bikin Historynya..Seperti Yg mas delphiexpert Bilang..Yang jelas Saat harga awal Diinput Harga ini udah terhistory dan mau di update berapa kali juga kita tinggal liat history...xixixixixixi history memang kebutuhan...
OOT: Mas delogic Kemana yah ??? Biasanya yang kaya Gini Beliau Lebih Ahli

_________________
== Barudak Jambi ===
Company : http://www.mpiholding.com/
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic





Powered by PNphpBB2 © 2003-2009 The Zafenio Team
Credits


| Register | Lost Password ? |