Check table PartyRole in your database. Are you sure has new record has been imported ?
On Thu, Jun 22, 2017 at 10:26 AM, Donhu Vy <[email protected]> wrote: > After follow your instruction, I create a new item like early stage. I > have been already import XML content > > <entity-engine-xml> > <Party partyId="accountant_group" roleTypeId="MAIN_ROLE"/> > </entity-engine-xml> > > > Error: > > > https://gist.githubusercontent.com/donhuvy/089810cec3f2be35ab546a5fd14d31 > a9/raw/5910cad1e473d874e7416c86d491022c897391f1/error.log > > https://user-images.githubusercontent.com/1328316/ > 27416038-24f6f6c8-5735-11e7-8f4b-8da39de11ae8.jpg > > > How to fix it? > > > > ________________________________ > From: Trà Đá Một Mình <[email protected]> > Sent: Thursday, June 22, 2017 10:16:52 AM > To: [email protected] > Subject: Re: Error doing entity-auto operation for entity Agreement in > service createAgreement: > > Go to: https://localhost:8443/webtools/control/EntityImport with user > admin. We can import entity data by xml format. Put <entity-engine-xml> > <Party > partyId="accountant_group" roleTypeId="MAIN_ROLE"/> > </entity-engine-xml> in to Import Text field. > > On Thu, Jun 22, 2017 at 10:07 AM, Donhu Vy <[email protected]> wrote: > > > Thank you, > > > > > > How to add a new record to table PartyRole from GUI? > > > > > > ________________________________ > > From: Trà Đá Một Mình <[email protected]> > > Sent: Thursday, June 22, 2017 9:48:02 AM > > To: [email protected] > > Subject: Re: Error doing entity-auto operation for entity Agreement in > > service createAgreement: > > > > Hi Vy, > > > > You can see: .. (accountant_group, MAIN_ROLE) is not present in table > > "party_role" in your log (file error.log or ofbiz.log). It's mean party > > accountant_group not has role MAIN_ROLE. You must add new record to table > > PartyRole like that: <Party partyId="accountant_group" > > roleTypeId="MAIN_ROLE"/> > > :) > > > > On Thu, Jun 22, 2017 at 9:40 AM, Donhu Vy <[email protected]> wrote: > > > > > I use module Agreements. I face this error: > > > > > > https://gist.githubusercontent.com/donhuvy/ > > 70c84a153251fc11124bc9a5eb0013 > > > 4b/raw/14de23e5f8622115e98521e50eceecc834603260/bug.log > > > > > > Screenshot: https://user-images.githubusercontent.com/1328316/ > > > 27414977-b5edf106-572e-11e7-9073-1473dd2521ee.jpg > > > > > > > > > How to avoid this error? > > > > > > > > > > > > > > > -- > > *THANG NGUYEN (Mr)* > > > > *OLBIUS DEVELOPER**Email:* [email protected]| *Mobile:* (+84) > > 1674636641 > > > > *OLBIUS., JSC* > > *Tel:* (+84) 9 88 99 3333 > > *Address: *25th Fl., No 91, Nguyen Chi Thanh St., Ha Noi City, VietNam > > *Website:* http://olbius.com > > > > > > -- > *THANG NGUYEN (Mr)* > > *OLBIUS DEVELOPER**Email:* [email protected]| *Mobile:* (+84) > 1674636641 > > *OLBIUS., JSC* > *Tel:* (+84) 9 88 99 3333 > *Address: *25th Fl., No 91, Nguyen Chi Thanh St., Ha Noi City, VietNam > *Website:* http://olbius.com > -- *THANG NGUYEN (Mr)* *OLBIUS DEVELOPER**Email:* [email protected]| *Mobile:* (+84) 1674636641 *OLBIUS., JSC* *Tel:* (+84) 9 88 99 3333 *Address: *25th Fl., No 91, Nguyen Chi Thanh St., Ha Noi City, VietNam *Website:* http://olbius.com
