CONTENTS DELETED
The author has deleted this message.
|
Hi Barou,
Of course not! It is intended for all kinds of OFBiz users. Best regards, Pierre Smits *ORRTIZ.COM <http://www.orrtiz.com>* Services & Solutions for Cloud- Based Manufacturing, Professional Services and Retail & Trade http://www.orrtiz.com On Wed, Sep 2, 2015 at 3:09 PM, Barou <[hidden email]> wrote: > Sorry about my new bee question. > I am not sure if I am in the right place. > When I look at Ofbiz doc I se many examples like the link below. > > https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide#OFBizTutorial-ABeginnersDevelopmentGuide-WritingCRUDOperations > for example: > <service name="createExample" default-entity-name="Example" > engine="entity-auto" invoke="create" auth="true"> > <description>Create a Example</description> > <permission-service service-name="exampleGenericPermission" > main-action="CREATE"/> > <auto-attributes include="pk" mode="OUT" optional="false"/> > <auto-attributes include="nonpk" mode="IN" optional="true"/> > <override name="exampleTypeId" optional="false"/> > <override name="statusId" optional="false"/> > <override name="exampleName" optional="false"/> > </service> > > How can I create service that read from several table ? > Is there a service already implemented in the ofbiz I can use for this > purpose ? > And how do I send user credentials from a form then used that to fetch the > records created for example in the product table ? > > > > > > -- > View this message in context: > http://ofbiz.135035.n4.nabble.com/Is-this-forum-only-for-experienced-Ofbizers-tp4671812.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > |
In reply to this post by hoboy1
Hello,
Your example show an entity-auto service, which will, in this "invoke" case, create a record in Example table. If you look a bit further in the link you gave, you'll see : <service
name= "createPracticePerson"
default -entity-name= "Person"
engine= "simple"
location= "component://practice/script/org/hotwax/practice/PracticeServices.xml"
invoke= "createPracticePerson"
auth= "true" >
<description>Create a Person</description>
<auto-attributes include= "pk"
mode= "OUT"
optional= "false" />
<attribute name= "salutation"
mode= "IN"
type= "String"
optional= "true" />
<attribute name= "firstName"
mode= "IN"
type= "String"
optional= "false" />
<attribute name= "middleName"
mode= "IN"
type= "String"
optional= "true" />
<attribute name= "lastName"
mode= "IN"
type= "String"
optional= "false" />
<attribute name= "suffix"
mode= "IN"
type= "String"
optional= "true" /> </service>
HTH Gil On 02/09/2015 15:09, Barou wrote:
Sorry about my new bee question. I am not sure if I am in the right place. When I look at Ofbiz doc I se many examples like the link below. https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide#OFBizTutorial-ABeginnersDevelopmentGuide-WritingCRUDOperations for example: <service name="createExample" default-entity-name="Example" engine="entity-auto" invoke="create" auth="true"> <description>Create a Example</description> <permission-service service-name="exampleGenericPermission" main-action="CREATE"/> <auto-attributes include="pk" mode="OUT" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> <override name="exampleTypeId" optional="false"/> <override name="statusId" optional="false"/> <override name="exampleName" optional="false"/> </service> How can I create service that read from several table ? Is there a service already implemented in the ofbiz I can use for this purpose ? And how do I send user credentials from a form then used that to fetch the records created for example in the product table ? -- View this message in context: http://ofbiz.135035.n4.nabble.com/Is-this-forum-only-for-experienced-Ofbizers-tp4671812.html Sent from the OFBiz - User mailing list archive at Nabble.com. |
In reply to this post by hoboy1
this is for any user of Ofbiz.here is the basis of entities,Entity Engine Guide - OFBiz (Open For Business) Project Open Wiki - Apache Software Foundation
| | | | | | | | | Entity Engine Guide - OFBiz (Open...Written By: David E. Jones Edited by: Les Austin and Pawel H Debski Table of Contents Related Documents: Entity Engine Configuration Guide Introduction | | | | View on cwiki.apache.org | Preview by Yahoo | | | | | service is one to two ways to work with the entity On Wednesday, September 2, 2015 6:21 AM, Barou <[hidden email]> wrote: Sorry about my new bee question. I am not sure if I am in the right place. When I look at Ofbiz doc I se many examples like the link below. https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide#OFBizTutorial-ABeginnersDevelopmentGuide-WritingCRUDOperations for example: <service name="createExample" default-entity-name="Example" engine="entity-auto" invoke="create" auth="true"> <description>Create a Example</description> <permission-service service-name="exampleGenericPermission" main-action="CREATE"/> <auto-attributes include="pk" mode="OUT" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> <override name="exampleTypeId" optional="false"/> <override name="statusId" optional="false"/> <override name="exampleName" optional="false"/> </service> How can I create service that read from several table ? Is there a service already implemented in the ofbiz I can use for this purpose ? And how do I send user credentials from a form then used that to fetch the records created for example in the product table ? -- View this message in context: http://ofbiz.135035.n4.nabble.com/Is-this-forum-only-for-experienced-Ofbizers-tp4671812.html Sent from the OFBiz - User mailing list archive at Nabble.com. |
not sure why the url was not included.
try this again https://cwiki.apache.org/confluence/display/OFBIZ/Entity+Engine+Guide On Wednesday, September 2, 2015 11:11 AM, BJ Freeman <[hidden email]> wrote: this is for any user of Ofbiz.here is the basis of entities,Entity Engine Guide - OFBiz (Open For Business) Project Open Wiki - Apache Software Foundation | | | | | | | | | Entity Engine Guide - OFBiz (Open...Written By: David E. Jones Edited by: Les Austin and Pawel H Debski Table of Contents Related Documents: Entity Engine Configuration Guide Introduction | | | | View on cwiki.apache.org | Preview by Yahoo | | | | | service is one to two ways to work with the entity On Wednesday, September 2, 2015 6:21 AM, Barou <[hidden email]> wrote: Sorry about my new bee question. I am not sure if I am in the right place. When I look at Ofbiz doc I se many examples like the link below. https://cwiki.apache.org/confluence/display/OFBIZ/OFBiz+Tutorial+-+A+Beginners+Development+Guide#OFBizTutorial-ABeginnersDevelopmentGuide-WritingCRUDOperations for example: <service name="createExample" default-entity-name="Example" engine="entity-auto" invoke="create" auth="true"> <description>Create a Example</description> <permission-service service-name="exampleGenericPermission" main-action="CREATE"/> <auto-attributes include="pk" mode="OUT" optional="false"/> <auto-attributes include="nonpk" mode="IN" optional="true"/> <override name="exampleTypeId" optional="false"/> <override name="statusId" optional="false"/> <override name="exampleName" optional="false"/> </service> How can I create service that read from several table ? Is there a service already implemented in the ofbiz I can use for this purpose ? And how do I send user credentials from a form then used that to fetch the records created for example in the product table ? -- View this message in context: http://ofbiz.135035.n4.nabble.com/Is-this-forum-only-for-experienced-Ofbizers-tp4671812.html Sent from the OFBiz - User mailing list archive at Nabble.com. |
Free forum by Nabble | Edit this page |