              var="ri"
                                                         selectionMode="single"
                                                         rowKey="#{ri.id}"
                                                         emptyMessage="System can not detect suitable replacements.">
                                                <p:ajax event="rowSelect" process="@this" update=":#{p:resolveFirstComponentWithId('acStock',view).clientId}" listener="#{pharmacyWholeSaleController3.makeStockAsBillIt