if (!CVUtility.isModuleVisible("PurchaseOrder", individualID, this.dataSource))
throw new AuthorizationFailedException("PurchaseOrder- getPurchaseOrder");
PurchaseOrderVO invoiceVO = null;
try {
InitialContext ic = CVUtility.getInitialContext();
PurchaseOrderLocalHome home = (PurchaseOrderLocalHome) ic.lookup("local/PurchaseOrder");
PurchaseOrderLocal invoice = home
.findByPrimaryKey(new PurchaseOrderPK(poID, this.dataSource));
invoice.setDataSource(this.dataSource);
invoiceVO = invoice.getPurchaseOrderVO();
} catch (Exception e) {
logger.error("[getPurchaseOrderVO]: Exception", e);