Creating a supplier is a series of "steps" BEST DONE via an xml file. This is another example of why you must create your OWN seed data.
To create a "working" supplier, you must first create a PARTY, associate ROLES (to make it a supplier), create AGREEMENTS (if necessary), and create a FACILITY for the supplier. Here is working XML that does all of these. All you have to do is edit (global change "Gallery" to "MySupplier", edit address info) as required, and load it. To make life easier on you, ALL of the primary keys should be "My_Supplier", in ALL the tables. How else can you possibly keep track of all the records associated with the supplier??? That's it!!! Like I said earlier, forget using the GUI for stuff like this. <?xml version="1.0" encoding="UTF-8"?> <entity-engine-xml> <!-- Create the supplier "party" --> <Party partyId="Gallery" partyTypeId="PARTY_GROUP" createdDate="2017-11-06 09:35:49" createdByUserLogin="admin"/> <PartyGroup partyId="Gallery" groupName="Computer Gallery" createdStamp="2017-11-06 09:35:49"/> <PartyRole partyId="Gallery" roleTypeId="ACCOUNT" createdStamp="2017-11-06 09:35:49"/> <ContactMech contactMechId="Gallery_0" contactMechTypeId="POSTAL_ADDRESS" createdStamp="2017-11-06 09:35:49"/> <PostalAddress contactMechId="Gallery_0" toName="Computer Gallery" address1="12339 Williams RD" city="PerrysBurg" stateProvinceGeoId="OH" postalCode="43551-1981" countryGeoId="USA" createdStamp="2017-11-06 09:35:49"/> <PartyContactMech partyId="Gallery" contactMechId="Gallery_0" allowSolicitation="N" createdStamp="2017-11-06 09:35:49" fromDate="2017-11-06 09:35:49"/> <PartyContactMechPurpose partyId="Gallery" contactMechId="Gallery_0" contactMechPurposeTypeId="GENERAL_LOCATION" createdStamp="2017-11-06 09:35:49" fromDate="2017-11-06 09:35:49"/> <PartyContactMechPurpose partyId="Gallery" contactMechId="Gallery_0" contactMechPurposeTypeId="PAYMENT_LOCATION" createdStamp="2017-11-06 09:35:49" fromDate="2017-11-06 09:35:49"/> <PartyContactMechPurpose partyId="Gallery" contactMechId="Gallery_0" contactMechPurposeTypeId="BILLING_LOCATION" createdStamp="2017-11-06 09:35:49" fromDate="2017-11-06 09:35:49"/> <ContactMech contactMechId="Gallery_P" contactMechTypeId="TELECOM_NUMBER" createdStamp="2017-11-06 09:35:49"/> <PartyContactMech partyId="Gallery" contactMechId="Gallery_P" allowSolicitation="N" createdStamp="2017-11-06 09:35:49" fromDate="2017-11-06 09:35:49"/> <TelecomNumber contactMechId="Gallery_P" countryCode="011" areaCode="419" contactNumber="874-0288" askForName="The Gallery Contact" createdStamp="2017-11-06 09:35:49"/> <PartyContactMechPurpose partyId="Gallery" contactMechId="Gallery_P" contactMechPurposeTypeId="PRIMARY_PHONE" createdStamp="2017-11-06 09:35:49" fromDate="2017-11-06 09:35:49"/> <ContactMech contactMechId="Gallery_F" contactMechTypeId="TELECOM_NUMBER" createdStamp="2017-11-06 09:35:49"/> <PartyContactMech partyId="Gallery" contactMechId="Gallery_F" allowSolicitation="N" createdStamp="2017-11-06 09:35:49" fromDate="2017-11-06 09:35:49"/> <TelecomNumber contactMechId="Gallery_F" countryCode="011" areaCode="419" contactNumber="874-2944" createdStamp="2017-11-06 09:35:49"/> <PartyContactMechPurpose partyId="Gallery" contactMechId="Gallery_F" contactMechPurposeTypeId="FAX_NUMBER" createdStamp="2017-11-06 09:35:49" fromDate="2017-11-06 09:35:49"/> <ContactMech contactMechId="Gallery_E" contactMechTypeId="EMAIL_ADDRESS" infoString="[email protected]" createdStamp="2017-11-06 09:35:49"/> <PartyContactMech partyId="Gallery" contactMechId="Gallery_E" allowSolicitation="N" createdStamp="2017-11-06 09:35:49" fromDate="2017-11-06 09:35:49"/> <!-- Make the party a "supplier" by giving it ROLES --> <PartyRole partyId="Gallery" roleTypeId="BILL_FROM_VENDOR" createdStamp="2017-11-06 09:35:49"/> <PartyRole partyId="Gallery" roleTypeId="SHIP_FROM_VENDOR" createdStamp="2017-11-06 09:35:49"/> <PartyRole partyId="Gallery" roleTypeId="SUPPLIER_AGENT" createdStamp="2017-11-06 09:35:49"/> <PartyRole partyId="Gallery" roleTypeId="SUPPLIER" createdStamp="2017-11-06 09:35:49"/> <!-- Create "agreements" (if necessary) associated for the supplier --> <Agreement agreementId="Gallery" partyIdFrom="Company" partyIdTo="Gallery" roleTypeIdTo="SUPPLIER" agreementTypeId="PURCHASE_AGREEMENT" description="Purchase Agreement for Gallery" createdStamp="2017-11-06 09:35:49"/> <AgreementItem agreementId="Gallery" agreementItemSeqId="0001" agreementItemTypeId="AGREEMENT_PRICING_PR" agreementText="Price list in USD Currency" currencyUomId="USD" createdStamp="2017-11-06 09:35:49"/> <AgreementTerm agreementTermId="Gallery_TERM" termTypeId="FIN_PAYMENT_TERM" agreementId="Gallery" termDays="30" createdStamp="2017-11-06 09:35:49"/> <AgreementTerm agreementTermId="Gallery_DISC" termTypeId="FIN_PAYMENT_DISC" agreementId="Gallery" termValue="2.0" termDays="10" createdStamp="2017-11-06 09:35:49"/> <AgreementTerm agreementTermId="Gallery_VENDORID" termTypeId="PURCH_VENDOR_ID" agreementId="Gallery" textValue="Gallery" createdStamp="2017-11-06 09:35:49"/> <AgreementTerm agreementTermId="Gallery_FREIGHT" termTypeId="PURCH_FREIGHT" agreementId="Gallery" textValue="UPS" createdStamp="2017-11-06 09:35:49"/> <!-- Create a "facility" for the supplier --> <Facility facilityId="Gallery" facilityTypeId="WAREHOUSE" ownerPartyId="Gallery" defaultInventoryItemTypeId="NON_SERIAL_INV_ITEM" facilityName="Gallery" defaultDaysToShip="2" description="Warehouse for Gallery" defaultWeightUomId="WT_lb" createdStamp="2017-11-06 09:35:49"/> <ContactMech contactMechId="Gallery_FSL" contactMechTypeId="POSTAL_ADDRESS" createdStamp="2017-11-06 09:35:49"/> <PostalAddress contactMechId="Gallery_FSL" toName="Computer Gallery" address1="12339 Williams RD" city="PerrysBurg" postalCode="43551-1981" countryGeoId="USA" stateProvinceGeoId="OH" createdStamp="2017-11-06 09:35:49"/> <FacilityContactMech facilityId="Gallery" contactMechId="Gallery_FSL" fromDate="2017-11-06 09:35:49" createdStamp="2017-11-06 09:35:49"/> <FacilityContactMechPurpose facilityId="Gallery" contactMechId="Gallery_FSL" contactMechPurposeTypeId="SHIPPING_LOCATION" fromDate="2017-11-06 09:35:49" createdStamp="2017-11-06 09:35:49"/> <ContactMech contactMechId="Gallery_FE" contactMechTypeId="EMAIL_ADDRESS" infoString="[email protected]" createdStamp="2017-11-06 09:35:49"/> <FacilityContactMechPurpose facilityId="Gallery" contactMechId="Gallery_FSL" contactMechPurposeTypeId="SHIP_ORIG_LOCATION" fromDate="2017-11-06 09:35:49" createdStamp="2017-11-06 09:35:49"/> <FacilityContactMech facilityId="Gallery" contactMechId="Gallery_FE" fromDate="2017-11-06 09:35:49" createdStamp="2017-11-06 09:35:49"/> <FacilityContactMechPurpose facilityId="Gallery" contactMechId="Gallery_FE" contactMechPurposeTypeId="PRIMARY_EMAIL" fromDate="2017-11-06 09:35:49" createdStamp="2017-11-06 09:35:49"/> <ContactMech contactMechId="Gallery_FT" contactMechTypeId="TELECOM_NUMBER" createdStamp="2017-11-06 09:35:49"/> <TelecomNumber contactMechId="Gallery_FT" countryCode="011" areaCode="419" contactNumber="874-0288" askForName="Computer Gallery" createdStamp="2017-11-06 09:35:49"/> <FacilityContactMech facilityId="Gallery" contactMechId="Gallery_FT" fromDate="2017-11-06 09:35:49" createdStamp="2017-11-06 09:35:49"/> <FacilityContactMechPurpose facilityId="Gallery" contactMechId="Gallery_FT" contactMechPurposeTypeId="PHONE_SHIPPING" fromDate="2017-11-06 09:35:49" createdStamp="2017-11-06 09:35:49"/> <FacilityContactMechPurpose facilityId="Gallery" contactMechId="Gallery_FT" contactMechPurposeTypeId="PHONE_SHIP_ORIG" fromDate="2017-11-06 09:35:49" createdStamp="2017-11-06 09:35:49"/> <FacilityLocation facilityId="Gallery" locationSeqId="TLTLTLLL01" locationTypeEnumId="FLT_PICKLOC" areaId="TL" aisleId="TL" sectionId="TL" levelId="LL" positionId="01" createdStamp="2017-11-06 09:35:49"/> </entity-engine-xml> On Sat, Feb 10, 2018 at 7:37 AM, Siegfried Theobald < [email protected]> wrote: > > Can you please send me a link where I can register in order to get access > to this link. > > Thanks a lot. > > Siegfried > > > Gesendet: Donnerstag, 08. Februar 2018 um 22:33 Uhr > Von: "Jacques Le Roux" <[email protected]> > An: [email protected] > Betreff: Re: master data - new supplier > Not sure if you found your way with Rishi's advice, here is another one > > https://demo-trunk.ofbiz.apache.org/catalog/control/EditProductSuppliers? > productId=GZ-1000 > > HTH > > Jacques > > > Le 07/02/2018 à 07:35, Rishi Solanki a écrit : > > Here you go: > > > > - > > https://cwiki.apache.org/confluence/display/OFBIZ/ > Business+Process+Reference+Book[https://cwiki.apache.org/ > confluence/display/OFBIZ/Business+Process+Reference+Book] > > - https://cwiki.apache.org/confluence/display/OFBIZ/ > Documentation[https://cwiki.apache.org/confluence/display/ > OFBIZ/Documentation] > > > > HTH! > > > > > > > > Rishi Solanki > > Sr Manager, Enterprise Software Development > > HotWax Systems Pvt. Ltd. > > Direct: +91-9893287847 > > http://www.hotwaxsystems.com[http://www.hotwaxsystems.com] > > www.hotwax.co[http://www.hotwax.co] > > > > On Wed, Feb 7, 2018 at 2:38 AM, Siegfried Theobald < > [email protected] > >> wrote: > >> Hello all, > >> > >> I am making my first steps with ofbiz and don't know how to create a > >> supplier. > >> I guess, that this works by using the actors feature, but it seems, > that I > >> can only create a group of suppliers. > >> > >> Is there a manual where this process is described or can anobody tell my > >> how this works? > >> > >> Thanks for your help. > >> > >> Best regards > >> Siegfried > >> > >> > >
