From notifications-return-28563-archive-asf-public=cust-asf.ponee.io@ofbiz.apache.org Thu Sep 26 14:34:05 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id A2EB4180660 for ; Thu, 26 Sep 2019 16:34:05 +0200 (CEST) Received: (qmail 91553 invoked by uid 500); 26 Sep 2019 14:34:05 -0000 Mailing-List: contact notifications-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list notifications@ofbiz.apache.org Received: (qmail 91504 invoked by uid 99); 26 Sep 2019 14:34:05 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Sep 2019 14:34:05 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 03FC0E315F for ; Thu, 26 Sep 2019 14:34:03 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id B1062781F1F for ; Thu, 26 Sep 2019 14:34:00 +0000 (UTC) Date: Thu, 26 Sep 2019 14:34:00 +0000 (UTC) From: "Jacques Le Roux (Jira)" To: notifications@ofbiz.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Closed] (OFBIZ-9330) Critical Fields Cannot Be Entered (Blocks WebPOS Use, Possibly Others) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OFBIZ-9330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jacques Le Roux closed OFBIZ-9330. ---------------------------------- Resolution: Not A Problem Thanks Priya, closing > Critical Fields Cannot Be Entered (Blocks WebPOS Use, Possibly Others) > ---------------------------------------------------------------------- > > Key: OFBIZ-9330 > URL: https://issues.apache.org/jira/browse/OFBIZ-9330 > Project: OFBiz > Issue Type: Bug > Components: webpos > Affects Versions: 16.11.01 > Environment: Testing under Linux/Fedora/PostgreSQL, but issue is agnostic to all of those. > Reporter: Dan Stimits > Priority: Major > > On a clean OfBiz install (e.g., in the case of using PostgreSQL I drop all tables and run "./gradlew 'ofbiz --load-data readers=seed'", or even "./gradew 'ofbiz --load-data readers=seed,seed-initial'", followed by adding admin) I am attempting to bring up a WebPOS for an actual store without using the sample data (sample data should not be in any audit trail, it's a bad idea). > The following will detail steps, but the short story is that WebPOS cannot be opened until there is a POS terminal; a POS terminal cannot be added until there is a store (and perhaps not even then); a store cannot be added until there is an inventory facility; various facilities can be added, but none which qualify to fulfill "Inventory Facility Id". Perhaps the loss of interface to create these things was unnoticed due to having sample data (try to create the store and terminals manually which sample data would have). > h3. The Long Steps (on a clean install with seed and seed-initial plus admin and no other additions): > ./gradlew ofbiz > > Under the setup app I create Company (requires admin password update first, Party Id "Company" created by manually typing in info of a real company): > https://localhost:8443/ofbizsetup/control/initialsetup > > Go to Catalog Manager->Stores, click New Product Store. *"Primary Store Group Id"* can't be selected or entered ("Not Applicable [_NA_]" is all that is there), the drop-down is empty other than "Not Applicable" (so I pick Not Applicable). Set Store Name to "Main Store". It isn't a demo store, and I don't know what the effect is, but I pick drop-down of "Is Demo Store" as "N". Everything else is unmodified and default. Click Update. Error rejects adding the store: "Inventory Facility Id Required". > > Summary 1: Store cannot be added via Catalog Manager until an *Inventory Facility Id* is created. > > I switch now to Applications->Facility Manager. "Main" or "Facilities" is only for searching, not for adding a Facility. This is where the prior email reply mentions to do this under Asset Management, but Asset Management->Facility is also only for searching, not for creating a Facility. Perhaps it is a Fixed Asset? > > Summary 2: The required *Facility Id* of Summary 1 cannot be added under Applications->Facility Manager. Asset Management->Facility is also a search mechanism, and cannot be used to add the required facility. > > Under Fixed Asset I can click "New Fixed Asset". Is it "Real Estate", "Property", or "Other"? Real Estate is chosen since it is most descriptive (Property might be a tract of land, Real Estate is more specific since it implies a building on the land). When I get to RoleType ID I am convinced this is not the correct place to create a facility. > > Summary 3: I can add a new fixed asset, but it does not seem to give me a *Facility Id*. Perhaps I missed a detail. > > Under Applications->Facility Manager->Facility Groups I can click "New Group". The only part I can logically add is Facility Group Name, and I add "Retail Facility" in that text entry box. This fails. Although nothing is marked as mandatory, submitting this requires a currently missing parameter, *"createFacilityGroup.facilityGroupTypeId"*. I don't really know if the Facility type is Management Structure, or if it is Pricing Group, but it seems Management Structure is more logical for a structure serving a store...I pick this. It works, I now have a Management Structure with Facility Group Name "Retail Facility". I don't have a *Facility Id*. > > Summary 4: I can add a Facility Group, but I'm unsure how to use this to create a Facility. I don't believe this is the right approach. > There is no clear way to satisfy creation of the entire series of prerequisites...I'm guessing that interfaces to do this were dropped at some point and it wasn't noticed. To illustrate testing I suggest a clean install with just seed and seed-initial, followed by attempting to add a retail store and WebPOS terminals similar to the demo data. I don't believe it can be done without hand editing XML files or SQL tables. If not possible, then only businesses without retail terminals can use the software. -- This message was sent by Atlassian Jira (v8.3.4#803005)