자유게시판

대용량 약재 입고시에 약재 단가 변화는 막아두었습니다.

작성자 정보

  • 삼둡 작성
  • 작성일

컨텐츠 정보

본문

        if (abs($newcost - $ex_cost) > 0.00000000001)
               {
               intra_connect();
               $write_table="g4_wr+++++rp_notice";
               $bo_table="erp_notice";
               $wr_subject="약재단가변경 $herb($code):$ex_cost -> $newcost";
               $wr_content="약재의 단가가 변경되었습니다. $herb:$ex_cost -> $newcost <br>

<br>
       <a target=history_goo href=../rx/herb+++ry_goo.php?code=$code>단가그래
프(new)</a>

<hr>
<br>
               <a target=history href=../rx/he+++ry.php?code=$code>단가그래
프</a>

r
<br>
               ";
//<a target=history href=herbhistory.php?code=
               insert_gnuboard_html ($write_table,$bo_table, $wr_subject, $wr_content);
       echo $wr_content,"<br>\n";

               erp_connect();

               $sql="insert into her+++ory set herb='$herb', event='단가변경'
, cost='$newcost', comment='$herb:$ex_cost -> $newcost:입고시 단가변경', write_time='$time'";
$lq=$lq.$sql."        :: ";
//      echo "SQL: $sql<br>\n";
               sql_q2($sql); //첩약의보이후 대용량 입력에서 약재단가 변경안됨, history에는 넣어준다.
 

 

 

관련자료

댓글 0
등록된 댓글이 없습니다.

인기검색어


최근글


새댓글