Talk:Application Dictionary

From ADempiere
Jump to: navigation, search
This Wiki is read-only for reference purposes to avoid broken links.

Some Notes

Victor has pointed out to me just now that our AD has improvements over the Compiere and OpenBravo with regard to our integrated JSR223 scripting engine. Indeed, we can group such improvements together in a special subtopic. - Red1 14:45, 25 May 2009 (PDT)

Conversation:

vpj-cd_
I think here you need say about the other important fact and feature the AD
it feature have not include OB or Compiere
red1
Me gusta saber cómo la nueva construcción de los materiales "hacer la 'caída' al igual que el anterior.
vpj-cd_
the feature is the Rule Engine or Script Rule Engine
red1
ah si
vpj-cd_
ok let say about the my recommendation and next go the BOM ok?
red1
Me referiré a continuación. Gracias
si
bueno
vpj-cd_
ok
A field can possess a validation rule is defined in the AD Validation window.
Such validation can inject JavaScript, Java code or SQL script into the application to filter the returning value of 
here is important set more remark
that you do not need modify the source and core
you can define triggers to model data in this case tables and the document mode
it in past was call as triggers in DB, and ADempiere let you can define or inject any script language support groovy, beansshell, jphyton , other can adding
So you can adding the logic validation to all event that can happen in your data insert, update, new , delete
red1
Es la secuencia de comandos de la inyección de nuestro trabajo? En el dynammic validación?
is the ModelValidator our work also?
vpj-cd_
this way join the 2 big world the programing based  language strict typed the a dynamic language  as Groovy
red1
or Compiere did not complete it before?
the Model Validator but it can work 2 way suing traditional java code or using the new tab in table window called
red1
vpj-cd_: what you think of OSGI? I can make it deploy, but not yet fully working for me
si.. bueno.. i see the new tab for ScriptValidator
so I be meeting Joerg Viola in Germany on 15th to see how he does it
together with trifon
i been reading more about OSGI and Extensions and Services in Eclipse
vpj-cd_
the name is table scrip validator
yes the OSGI is the way
red1
si i know
vpj-cd_ 
but now you can build process and new business logic
in hot using the Rule window
red1
is table script validator our new work?
also this ModelValidator? Not in Compiere?
vpj-cd_
so I see not the rule in your 
schema draw
red1
wait. it will be there.. i want to make the simple story first
vpj-cd_
the scrip validator work the same way the the model validator en code
red1
i will edit it now
vpj-cd_ 
but it let you can write any rule script without need the modify and deploy AD because is in hot
vpj-cd_
so you have 2 way to define the new business logic using the static mode  or dynamic mode
the static mode you use the traditional java code and dynamic mode you can use groovy that support 99% the syntax's de java
the java
red1
si si
vpj-cd_
the other recommendation to View Layer, I think is very important that you say about the report engine
so that you can build a report in hot from Application Dictionary without write a line of code
red1
i already wrote again - thanks to victor 
what you mean in 'View Layer'?
is there something new?
vpj-cd_
you separate 3 section to AD
red1
you mean the RV?
vpj-cd_ 
http://www.adempiere.com/index.php/Application_Dictionary#At_the_View_Layer
red1
si.. i want to write that
i have not study yet
in more detail
i know that RV_ from table
and in Report and Process
and then we use Parameters to filter
is that what you mean?
vpj-cd_
yes here I think you need more detail about the report engine so that is other way the see the data
red1
this is in Compiere also right?
vpj-cd_
yes it is from Compiere
red1
i like to know if you see anything that is better than Compiere
vpj-cd_
so I think some as:
red1
is ModelValidator from Compiere also?
vpj-cd_
yes from compiere but only the static aproach
red1
ah..
vpj-cd_
the dynamic aproach is only in adempiere
red1
ah ok
vpj-cd_
The Application Dictionary allow build report in hot, So you can are in any window and the system build dynamic report based in the current record all this without write one line code
vpj-cd_
So will great if you set some more detail about the report engine
mi other recommendation you need set in At the Logic Layer the Adempiere let define Business Process Management
So you can adding more compel logic to interact with the user like for example create a workflow to create authorization the requisitions
red1
but the Report engine only produce one line of record
red1
we cannot select multiple records in row format vpj-cd_
vpj-cd_
yes it current issue now but exist a small trunk
you go the search option and choose a filter catalog
then this moment the report is generate
for example entry purchase orders
next get the dynamic report
red1 
within the grid tab we select row format.. we get many rows.. we cannot report all
we can only report single record
you think it is good to change that to many?
from the selection by user
vpj-cd_
next push search icon and choose your preferred filter
red1
hmm let me try
AHHH..
vpj-cd_
you need go the advanced filter and choose
red1
now only i know!
muchas gracias victor!
vpj-cd_
then get your report
red1
:
jajaja
i never know this before!!!
vpj-cd_
it is old truck
red1
is it from Compiere?
vpj-cd_
yes
red1
ah i remember you again for this
vpj-cd_
also you can only call the window set noting value
then all record are show
so some good improve we can implement would be
adding the popup list the same way that related window
red1
i try even for OrderLine
red1
it can produce ALL the orderlines !!
vpj-cd_
but in Look Record
red1
jajaja
this is good BI
intelligence
on the fly
vpj-cd_
also you can choose any filter
red1
hot without coding! 
bueno 
vpj-cd_
and other if you choose multiples record in Grid toggle
vpj-cd_
then only include this record
it are some improve we can implement in future