User Profile

Collapse

Profile Sidebar

Collapse
doxtor
doxtor
Last Activity: Nov 13 '08, 09:01 PM
Joined: Aug 14 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • automatic refresh combo box on parent window when new data submite d from child windo

    Hi..
    I have a form, there is a combo box there name school. Beside there'is a link to open a child window to add a new data school. To open this popup, i use greybox jquery plugin. work ok until here.
    What I want to do is, once new data added from child window, combo box in parent window automatically refresh and get the new inserted data, and the child window automatically close.
    Can anyone give suggestion how to do this?...
    See more | Go to post

  • Yes, this become complicated, because i have 3 tables to stock activity. Do you have any suggestion, e.g, how can i use just 1 table for stock in and out, and the adjustment?


    For stock in adjustment, it's more easy than stock out adjustment. Like you said, just recalculate stock_level where date ....
    The biggest problem is on 'stock_out' adjustment. Am I make mistake with 3 tables?


    Can you explain...
    See more | Go to post

    Leave a comment:


  • Hi..
    Sorry for late in answering. I use mysql database. For language I use php 5.

    Thank you so much for replying
    See more | Go to post

    Leave a comment:


  • can anyone help please?
    I'm still stuck to think this problem :(
    See more | Go to post

    Leave a comment:


  • Can anyone help me with this algorithm?(FIFO based inventory)

    Hi all..I'm a little bit confuse with this problem.
    I have 3 tables, stock_in, stock_level, and stock_out.
    stock_in used for save the data product when there's new purchase.
    stock_out used for save the data product out.
    stock_level used for count how many stock in warehouse.

    Code:
    stock_in : in_id[PK], product_id, stock_in_unit, stock_in_price, unit_id, supplier_id
    stock_out : out_id[PK], out_date, product_id,
    ...
    See more | Go to post

  • doxtor
    replied to need help, next record problem
    in PHP
    Hi Dan..
    Thank you for your reply. You're right, the problem is the way I use my class.
    After few day stuck, finally i did it :)
    Thank you
    See more | Go to post

    Leave a comment:


  • doxtor
    replied to need help, next record problem
    in PHP
    Hi
    thanks for reply. I forget to attach the function. Here's the function :
    [PHP]function next_record() {
    if (!$this->Query_ID)
    return 0;

    $this->Record = @mysql_fetch_ar ray($this->Query_ID);
    $this->Row += 1;
    $this->Errno = mysql_errno();
    $this->Error = mysql_error();

    $stat = is_array($this->Record);
    if...
    See more | Go to post

    Leave a comment:


  • doxtor
    started a topic need help, next record problem
    in PHP

    need help, next record problem

    Dear all..
    I try to make an inventory control, with FIFO(first in first out) base, but I have a problem with the next record.
    this is the code i make :


    [PHP]$db = new clsDBMassimo;
    $product_id = $Stock->product_id->GetValue();
    $AmOrdered = $Stock->stock_out_un it->GetValue();
    //check if the stock is enough
    $sql = "SELECT SUM(stock_in_un it) as Total FROM stock_level...
    See more | Go to post
No activity results to display
Show More
Working...