We are wondering if it is possible to embed (via javascript) a Genero application (example: input form) into a website which is created in React.js?

And apply the css styles from that website to it?

If this is, does someone have hints or examples?

Best regards,

-Snorri]]>

Re: XIRR in Excel and not in ApachePOI I see what you mean. Never the less there were a few interesting URLs

https://stackoverflow.com/questions/42422429/formula-evaluator-for-xirr-function-in-java

https://github.com/tinca/poi-xirr

plus this one !!! http://4js.com/fjs_forum/index.php?topic=1106.0

Reuben]]>

Thanks for your contribution. I didn't know the Apache POI Libraries and much less the fgl interface to it.

In any case, the corresponding Excel function for what I am doing is XIRR, which is not an Excel standard function but an Add-in. The difference is that in IRR you pass a list of values and in XIRR you pass a list of values and dates. To use IRR instead, in a 4 year loan for example, I'll have to pass around 1400 values, 95% of the being 0.

I could not find it i POI docs, I supposed because it is an Add-in.

Regards

Luis]]>

...

This happens when we call IRR (Internar Return on Investment), using Newton method. We need to actualize each cash-flows of a loan to the number of days from the initial date of the loan. As we are calculating this in a dayly base, and the operation have 4 years duration, it makes around 1460 day for the last flow.

...

Luis

This happens when we call IRR (Internar Return on Investment), using Newton method. We need to actualize each cash-flows of a loan to the number of days from the initial date of the loan. As we are calculating this in a dayly base, and the operation have 4 years duration, it makes around 1460 day for the last flow.

...

Luis

whilst this discussion is interesting around the merit and performance of ** versus fgl_decimal_power versus util.math.pow() (I'd forgotten that the second argument of ** is an integer, so 4**0.5 gives you 1, not 2 !!!) , what Luis had was a function calculating IRR or Internal Rate of Return. if I was to guess Luis and other developers with financial software have similar functions written many years ago

When I put together my example https://github.com/FourjsGenero/fgl_apache_poi showing how you can utilise the Java Apache POI libraries to interact with Word and Excel I had an example in https://github.com/FourjsGenero/fgl_apache_poi/blob/master/fgl_excel_calculation_test.4gl that showed you could create an Excel sheet in memory, populate the cells in memory, put a Excel formula in one cell, evaluate that formula, and return the value of the formula back to the 4gl program. The example I used with IRR or Internal Rate of Return but any financial formula in Excel could've been similarly exposed and made available to a 4gl program.

I was curious how the performance would compare but then I thought what if I could do that without the overhead of creating an Excel workbook and worksheet in memory, do the Apache POI libraries expose those Excel formulas?. Sure enough they do so I have added to the repository a 4gl module that exposes some of those functions and some quick tests

https://github.com/FourjsGenero/fgl_apache_poi/blob/master/fgl_financial.4gl

https://github.com/FourjsGenero/fgl_apache_poi/blob/master/fgl_financial_test.4gl

Code

IMPORT FGL fgl_financial ... CALL list_of_values.clear() LET list_of_values[1] = -100000 FOR i = 1 TO 240 LET list_of_values[i+1] = 592.89 END FOR LET irr = fgl_financial.irr(list_of_values,0.10/12)

In short you do not have to rewrite and maintain financial formulas from scratch in 4gl, you can utilise Java libraries that do the same thing. I would be curious to know from a precision and performance point of view, how these stack up. (Of course one day we could go one better and add a package e.g. IMPORT financial, that has these financial methods)

Reuben

]]>

Dear customers,

We updated the Supported Operating Systems list for Genero 3.20.xx, and documented that Genero Studio (GST) and Genero Desktop Client (GDC) were supported on Suse Enterprise 12 (SLES 12). This was in error, SLES 12 is not supported for GST or GDC.

However, SLES 12 is supported for non-graphical Genero 3.20 products, such as GST Server, FGLGWS, GRE, and GAS.

We apologize for any confusion or inconvenience.

Regards,

Four Js Development Tools

]]>