* @param rowNumber selected row index
* @param persistentObject v.o. related to the selected row
*/
public void doubleClick(int rowNumber,ValueObject persistentObject) {
// create purchase invoice detail frame in READONLY mode...
GridPurchaseDocVO vo = (GridPurchaseDocVO)persistentObject;
PurchaseDocPK pk = new PurchaseDocPK(
vo.getCompanyCodeSys01DOC06(),
vo.getDocTypeDOC06(),
vo.getDocYearDOC06(),
vo.getDocNumberDOC06()
);
if (pk.getDocTypeDOC06().equals(ApplicationConsts.PURCHASE_INVOICE_DOC_TYPE))
new PurchaseInvoiceDocController(frame,pk);
else if (pk.getDocTypeDOC06().equals(ApplicationConsts.PURCHASE_INVOICE_FROM_DN_DOC_TYPE))
new PurchaseInvoiceDocFromDelivNotesController(frame,pk);