erp.h
QString itemlbsperpriceunit(QString itemid)
    {
        QString sql = "select lbsperpriceunit from tblitems where itemid = :itemid " ;
        QSqlQuery qry;
        qry.prepare(sql);
        qry.bindValue(":itemid", itemid);
        qry.exec();
        qry.next();
        return qry.value(0).toString();
    }
/************************** Get LBS per price unit from itemid ************************************/
Get LBS per price unit from itemid
Get LBS per price unit from itemid
QString itemlbsperpriceunit(QString itemid)
    {
        QString sql = "select lbsperpriceunit from tblitems where itemid = :itemid " ;
        QSqlQuery qry;
        qry.prepare(sql);
        qry.bindValue(":itemid", itemid);
        qry.exec();
        qry.next();
        return qry.value(0).toString();
    }
QString itemlbsperpriceunit ( QString itemid ) { QString sql = " " ; QSqlQuery qry ; qry . prepare ( sql ) ; qry . bindValue ( " " , itemid ) ; qry . exec ( ) ; qry . next ( ) ; return qry . value ( 0 ) . toString ( ) ; }
Get LBS per price unit from itemid
Get LBS per price unit from itemid