Beispiel #1
0
 private void CreateReceiveHeader(Receive _receive)
 {
     ReceiveHeader header = new ReceiveHeader()
     {
         ReceiveId = _receive.ReceiveId,
         ReceiveNo = _receive.ReceiveNo,
         CustId = _receive.CustId,
         ReceiveDate = _receive.ReceiveDate
     };
     Penerimaan.CreateReceiveHeader(header);
 }
Beispiel #2
0
 public void CreateReceiveHeader(ReceiveHeader header)
 {
     string query = String.Format("INSERT INTO tblreceiveheader (receiveid,receiveno,receivedate,custid) values ('{0}','{1}','{2}','{3}')",
         header.ReceiveId, header.ReceiveNo, header.ReceiveDate, header.CustId);
     qryObjectMapper.Map<ReceiveHeader>(query);
 }