Openbravo Issue Tracking System - Retail Modules
View Issue Details
0036743Retail ModulesStoreServerpublic2017-08-29 16:062017-09-07 09:40
mtaal 
mtaal 
normalmajorhave not tried
closedfixed 
5
 
RR17Q4RR17Q4 
AugustoMauch
No
0036743: Sync Error when creating new payment method with new financial account
The financial account is synced at org level this because the financial account current balance gets updated and we don't want this to be replicated to all the stores.

However the FinancialMgmtFinAccPaymentMethod refers to the financial account and is synced at client level. So a new FinancialMgmtFinAccPaymentMethod from another store is synced to all stores resulting in a sync error as the financial account is not synced everywhere.

Create a new payment method
Link to PS store pos terminal type
Link to PS-1 terminal, create a new financial account
See the sync error
Sync the fin_finacc_paymentmethod also on org level
No tags attached.
png Selection_036.png (88,989) 2017-08-29 16:06
https://issues.openbravo.com/file_download.php?file_id=11024&type=bug
png
Issue History
2017-08-29 16:06mtaalNew Issue
2017-08-29 16:06mtaalAssigned To => mtaal
2017-08-29 16:06mtaalFile Added: Selection_036.png
2017-08-29 16:06mtaalTriggers an Emergency Pack => No
2017-08-29 16:28hgbotCheckin
2017-08-29 16:28hgbotNote Added: 0098710
2017-08-29 16:28hgbotStatusnew => resolved
2017-08-29 16:28hgbotResolutionopen => fixed
2017-08-29 16:28hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/7f8905d3314337c2b2821166e19b3a5ef5dfff84 [^]
2017-08-29 23:40mtaalReview Assigned To => AugustoMauch
2017-09-07 09:40AugustoMauchNote Added: 0098881
2017-09-07 09:40AugustoMauchStatusresolved => closed
2017-09-07 09:40AugustoMauchFixed in Version => RR17Q4

Notes
(0098710)
hgbot   
2017-08-29 16:28   
Repository: erp/pmods/org.openbravo.retail.storeserver.synchronization
Changeset: 7f8905d3314337c2b2821166e19b3a5ef5dfff84
Author: Martin Taal <martin.taal <at> openbravo.com>
Date: Tue Aug 29 16:28:38 2017 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.storeserver.synchronization/rev/7f8905d3314337c2b2821166e19b3a5ef5dfff84 [^]

Fixes issue 36743: Sync Error when creating new payment method with new financial account
Use org router also for fin acc payment method

---
M src-db/database/sourcedata/STRSYNC_SYNCHRONIZEDTABLE.xml
---
(0098881)
AugustoMauch   
2017-09-07 09:40   
Code reviewed and verified