Data Model Documentation

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

Data Model Documentation

Isaias Barroso
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
Reply | Threaded
Open this post in threaded view
|

Re: Data Model Documentation

BJ Freeman
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
>
Reply | Threaded
Open this post in threaded view
|

Re: Data Model Documentation

Jacques Le Roux
Administrator
In reply to this post by Isaias Barroso
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" <[hidden email]>

> 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
>

Reply | Threaded
Open this post in threaded view
|

Re: Data Model Documentation

Jacques Le Roux
Administrator
In reply to this post by BJ Freeman
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" <[hidden email]>

> 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
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Data Model Documentation

BJ Freeman
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" <[hidden email]>
>> 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
>>>
>>
>
>
Reply | Threaded
Open this post in threaded view
|

Re: Data Model Documentation

Isaias Barroso
In reply to this post by Jacques Le Roux
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 <
[hidden email]> 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" <[hidden email]>
>
>  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
>>
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Data Model Documentation

Jacques Le Roux
Administrator
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 <
> [hidden email]> 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" <[hidden email]>
>>
>>  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
>>>
>>>
>>
>