You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by Isaias Barroso <is...@gmail.com> on 2008/11/08 01:25:41 UTC

Data Model Documentation

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

Re: Data Model Documentation

Posted by BJ Freeman <bj...@free-man.net>.
well I hope to give more support to the POS, (on a volunteer basis ;o)

Jacques Le Roux sent the following on 11/8/2008 1:26 AM:
> Actually most of the original work was done by Andrew Zenesky in fall
> 2004. After that I keeped the POS up (on a volunteer basis ;o)
> 
> Jacques
> 
> From: "BJ Freeman" <bj...@free-man.net>
>> Ofbiz was modeled after
>> http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Related+Books
>> however the one you speak about is being done by Jacques, hopefully he
>> can explain.
>>
>> Isaias Barroso sent the following on 11/7/2008 4:25 PM:
>>> 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
>>>
>>
> 
> 

Re: Data Model Documentation

Posted by Jacques Le Roux <ja...@les7arts.com>.
Actually most of the original work was done by Andrew Zenesky in fall 2004. After that I keeped the POS up (on a volunteer basis ;o)

Jacques

From: "BJ Freeman" <bj...@free-man.net>
> Ofbiz was modeled after
> http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Related+Books
> however the one you speak about is being done by Jacques, hopefully he
> can explain.
> 
> Isaias Barroso sent the following on 11/7/2008 4:25 PM:
>> 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
>> 
>

Re: Data Model Documentation

Posted by BJ Freeman <bj...@free-man.net>.
Ofbiz was modeled after
http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Related+Books
however the one you speak about is being done by Jacques, hopefully he
can explain.

Isaias Barroso sent the following on 11/7/2008 4:25 PM:
> 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
> 

Re: Data Model Documentation

Posted by Jacques Le Roux <ja...@les7arts.com>.
If you make POS related documentation please use this page
http://docs.ofbiz.org/display/OFBIZ/POS+System

Thanks

Jacques

> Thanks all,
> 
> I understand it, was only a example GC. I'm participating in a project using
> base OFBiz, so i've prefer to ask, before to start deduction. When I get
> information that isn't already documented i will contribute with POS
> documentation.
> 
> Best regards
> 
> 
> 
> On Sat, Nov 8, 2008 at 7:22 AM, Jacques Le Roux <
> jacques.le.roux@les7arts.com> wrote:
> 
>> 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" <is...@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
>>>
>>>
>>
>

Re: Data Model Documentation

Posted by Isaias Barroso <is...@gmail.com>.
Thanks all,

I understand it, was only a example GC. I'm participating in a project using
base OFBiz, so i've prefer to ask, before to start deduction. When I get
information that isn't already documented i will contribute with POS
documentation.

Best regards



On Sat, Nov 8, 2008 at 7:22 AM, Jacques Le Roux <
jacques.le.roux@les7arts.com> wrote:

> 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" <is...@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
>>
>>
>

Re: Data Model Documentation

Posted by Jacques Le Roux <ja...@les7arts.com>.
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" <is...@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
>