get("l","number",0)); $ledger->load(); if ($ledger->id==0) throw new Exception("UPDVIS34.Invalide ledger"); echo $ledger->has_quantity();