public List<Inventory_Adjustment_Voucher_Detail> getAdjustedVoc()
 {
     Inventory_Adjustment_Voucher_Detail invenAdjVocDetail=new Inventory_Adjustment_Voucher_Detail();
     Inv_Adjustment_Voucher_DetailEnt invenVocDetailEnt=new Inv_Adjustment_Voucher_DetailEnt();
     invenAdjVocDetail.Status = false;
     List<Inventory_Adjustment_Voucher_Detail> adjList = invenVocDetailEnt.getInvAVD(invenAdjVocDetail);
     return adjList;
 }
 public void updateInvAdjStatus(string vocID, string itemCode)
 {
     Inv_Adjustment_Voucher_DetailEnt invAdVoDE = new Inv_Adjustment_Voucher_DetailEnt();
     Inventory_Adjustment_Voucher_Detail inAdjDe = new Inventory_Adjustment_Voucher_Detail();
     inAdjDe.Voucher_ID = vocID;
     inAdjDe.Item_Code = itemCode;
     inAdjDe.Status = true;
     invAdVoDE.updateInvAVD(inAdjDe);
 }
 public void saveAdjustedQty(String voucherID, String itemCode, int qty, String reason)
 {
     Inventory_Adjustment_Voucher_Detail invAdj = new Inventory_Adjustment_Voucher_Detail();
     Inv_Adjustment_Voucher_DetailEnt invEnt = new Inv_Adjustment_Voucher_DetailEnt();
     invAdj.Voucher_ID = voucherID;
     invAdj.Item_Code = itemCode;
     invAdj.Qty_Adjust = qty;
     invAdj.Reason = reason;
     invAdj.Status = false;
     invEnt.createInvAdjVocDetail(invAdj);
 }