ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux" <jacques.le.r...@les7arts.com>
Subject Re: Data Model Documentation
Date Sat, 08 Nov 2008 09:22:20 GMT
It's true that all is not documented. But in most of the case after having played some times
with OFBiz you are able to deduce from
code (would it be java, xml, groovy, ftl, css, bsh, etc.)
For instance for your specific question I looked for actualEndingGc in all java files and
found this snippet in
specialpurpose/pos/src/org/ofbiz/pos/event/ManagerEvents.java

double cashEnd = state.getDouble("actualEndingCash").doubleValue();
double checkEnd = state.getDouble("actualEndingCheck").doubleValue();
double ccEnd = state.getDouble("actualEndingCc").doubleValue();
double gcEnd = state.getDouble("actualEndingGc").doubleValue();
double othEnd = state.getDouble("actualEndingOther").doubleValue();

>From there I was able to deduce that this field is used to store the actual value related
to Gift Certificates used so far in this
session (or something like that)

Remember this is open source done by volunteers. If you need more documentation and think
that it will be useful for newcomers feel
free to document yourself. Our Wiki is open for such efforts http://docs.ofbiz.org/dashboard.action

HTH

Jacques

From: "Isaias Barroso" <isaias.barroso@gmail.com>
> Hi all,
>
> Have available any document with model data documentation?
>
> Example:
>
> PosTerminalState, what is the attribute actualEndingGc?
>
> It is just a example, but have many Entities without clear definition.
>
> Best regards
>


Mime
View raw message