* @param rowNumber selected row index
* @param persistentObject v.o. related to the selected row
*/
public void doubleClick(int rowNumber,ValueObject persistentObject) {
// create sale invoice detail frame in READONLY mode...
GridSaleDocVO vo = (GridSaleDocVO)persistentObject;
SaleDocPK pk = new SaleDocPK(
vo.getCompanyCodeSys01DOC01(),
vo.getDocTypeDOC01(),
vo.getDocYearDOC01(),
vo.getDocNumberDOC01()
);
if (pk.getDocTypeDOC01().equals(ApplicationConsts.SALE_INVOICE_DOC_TYPE))
new SaleInvoiceDocController(frame,pk);
else if (pk.getDocTypeDOC01().equals(ApplicationConsts.SALE_INVOICE_FROM_DN_DOC_TYPE))
new SaleInvoiceDocFromDelivNotesController(frame,pk);