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 13:29:10 GMT
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" <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