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
