Openbravo Issue Tracking System - Retail Modules
View Issue Details
0033535Retail ModulesStoreServerpublic2016-07-25 07:492016-08-04 08:49
mtaal 
mtaal 
normalminorhave not tried
closedfixed 
5
 
RR16Q4 
AugustoMauch
No
0033535: Creating BP from webpos should make the BP non-standard
The logic to determine which BP to send to which store is based on the concept of the standard store customer. Non-standard customers are synchronized to all stores ([1]).

However when a BP is created from webpos the standard flag is not checked. This while it should.

The assumption is that all BPs created from the WebPOS front end are customers.

[1]
https://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/file/89d6f5d7ac29/src/org/openbravo/retail/storeserver/synchronization/eventhandler/OrderEventHandler.java#l74 [^]
Setup multi-server
Create BP from webpos and create ticket
check the business partners subtab in the mobile server window, the BP is not added to the server
When creating a BP for a store from WebPOS then make sure to also flag the standard flag.
No tags attached.
related to feature request 0032252RR16Q4 closed AugustoMauch Store Server Data Segmentation and Sync for BP 
Issue History
2016-07-25 07:49mtaalNew Issue
2016-07-25 07:49mtaalAssigned To => mtaal
2016-07-25 07:49mtaalTriggers an Emergency Pack => No
2016-07-25 07:49mtaalIssue Monitored: AugustoMauch
2016-07-26 09:56hgbotCheckin
2016-07-26 09:56hgbotNote Added: 0088659
2016-07-26 09:56hgbotStatusnew => resolved
2016-07-26 09:56hgbotResolutionopen => fixed
2016-07-26 09:56hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/40405b0e50c378deb665df79d3ad53693f4d95cc [^]
2016-08-01 13:02mtaalReview Assigned To => AugustoMauch
2016-08-03 15:47hgbotCheckin
2016-08-03 15:47hgbotNote Added: 0088779
2016-08-03 15:53AugustoMauchNote Added: 0088780
2016-08-03 17:59mtaalDescription Updatedbug_revision_view_page.php?rev_id=12788#r12788
2016-08-04 08:48AugustoMauchNote Deleted: 0088780
2016-08-04 08:49AugustoMauchNote Added: 0088809
2016-08-04 08:49AugustoMauchStatusresolved => closed
2016-08-10 12:25mtaalRelationship addedrelated to 0032252

Notes
(0088659)
hgbot   
2016-07-26 09:56   
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: 40405b0e50c378deb665df79d3ad53693f4d95cc
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Jul 26 09:54:50 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/40405b0e50c378deb665df79d3ad53693f4d95cc [^]

Fixes issue 33535: Creating BP from webpos should make the BP non-standard
Set the standard customer flag on the BP, add the customer to the server, don't do this for the central server and
also solve warnings by removing usage of DalUtil

---
M src/org/openbravo/retail/storeserver/synchronization/eventhandler/OrderEventHandler.java
A src/org/openbravo/retail/storeserver/synchronization/StoreBusinessPartnerLoaderHook.java
---
(0088779)
hgbot   
2016-08-03 15:47   
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: 80f988c24127e0b4dec4e9082b8b2b66356e1b12
Author: Augusto Mauch <augusto.mauch <at> openbravo.com>
Date: Wed Aug 03 15:43:11 2016 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/80f988c24127e0b4dec4e9082b8b2b66356e1b12 [^]

Related with issue 33535: Fix formatting and removes duplicated line

---
M src/org/openbravo/retail/storeserver/synchronization/StoreBusinessPartnerLoaderHook.java
---
(0088809)
AugustoMauch   
2016-08-04 08:49   
Code reviewed and verified in [1]@80f988c24127

[1] https://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization [^]