Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0028015 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Retail Modules] Web POS | major | have not tried | 2014-10-29 12:18 | 2014-11-25 19:12 | |||
Reporter | mtaal | View Status | public | |||||
Assigned To | migueldejuana | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | RR15Q1 | |||
Status | closed | Fix in branch | Fixed in SCM revision | bc4b12f09dfc | ||||
Projection | none | ETA | none | Target Version | RR15Q1 | |||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | marvintm | |||||||
OBNetwork customer | No | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0028015: Use/take into account the active flag for all master data when doing incremental refresh | |||||||
Description | The inactive flag is not taken into account for most masterdata in incremental refresh. So when a record becomes active or inactive the masterdata refresh should take it into account. | |||||||
Steps To Reproduce | - create a product and add it to an assortment - check in webpos that it gets loaded - then in the backend set product as inactive - check that the product is not removed from webpos | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||||||||||||||||
|
![]() |
|
(0071421) hgbot (developer) 2014-11-05 12:51 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 3519bbb1ce0a64ab80d70f815e4e93dac2e70943 Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Wed Nov 05 12:49:45 2014 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/3519bbb1ce0a64ab80d70f815e4e93dac2e70943 [^] Fixed issue 0028015: Use/take into account the active flag for all master data when doing incremental refresh Active flag is used to add/remove into local database in master data tables: - incremental refresh: We will retrieve from the server entries which has changed and if active value changed, we will add/remove the entry. - total refresh: We will retrieve from server just active entries. We need to put $incrementalUpdateCriteria filter in the Java servlet and we must include in the model Properties class, the active field to retrieve this info. Some tables have dependencies, you need to take into account this. See Discount and DiscountFilterBusinessPartner example. We need to check our table and the parent table active value and add $incrementalUpdateCriteria for both. --- M src/org/openbravo/retail/posterminal/master/BPCategory.java M src/org/openbravo/retail/posterminal/master/BPCategoryProperties.java M src/org/openbravo/retail/posterminal/master/BPLocation.java M src/org/openbravo/retail/posterminal/master/BPLocationProperties.java M src/org/openbravo/retail/posterminal/master/Brand.java M src/org/openbravo/retail/posterminal/master/BusinessPartner.java M src/org/openbravo/retail/posterminal/master/BusinessPartnerProperties.java M src/org/openbravo/retail/posterminal/master/Category.java M src/org/openbravo/retail/posterminal/master/CategoryProperties.java M src/org/openbravo/retail/posterminal/master/Discount.java M src/org/openbravo/retail/posterminal/master/DiscountFilterBusinessPartner.java M src/org/openbravo/retail/posterminal/master/DiscountFilterBusinessPartnerGroup.java M src/org/openbravo/retail/posterminal/master/DiscountFilterCharacteristic.java M src/org/openbravo/retail/posterminal/master/DiscountFilterProduct.java M src/org/openbravo/retail/posterminal/master/DiscountFilterProductCategory.java M src/org/openbravo/retail/posterminal/master/DiscountFilterRole.java M src/org/openbravo/retail/posterminal/master/Product.java M src/org/openbravo/retail/posterminal/master/ProductChValueProperties.java M src/org/openbravo/retail/posterminal/master/ProductCharacteristic.java M src/org/openbravo/retail/posterminal/master/ProductCharacteristicProperties.java M src/org/openbravo/retail/posterminal/master/ProductProductChValue.java M src/org/openbravo/retail/posterminal/master/ProductProductChValueProperties.java M src/org/openbravo/retail/posterminal/master/ProductProperties.java M src/org/openbravo/retail/posterminal/master/ReturnReason.java M src/org/openbravo/retail/posterminal/master/ReturnReasonProperties.java M src/org/openbravo/retail/posterminal/master/SalesRepresentative.java M src/org/openbravo/retail/posterminal/master/SalesRepresentativeProperties.java M src/org/openbravo/retail/posterminal/master/TaxRate.java M src/org/openbravo/retail/posterminal/master/TaxZoneProperties.java A src/org/openbravo/retail/posterminal/master/DiscountFilterBusinessPartnerGroupProperties.java A src/org/openbravo/retail/posterminal/master/DiscountFilterBusinessPartnerProperties.java A src/org/openbravo/retail/posterminal/master/DiscountFilterCharacteristicProperties.java A src/org/openbravo/retail/posterminal/master/DiscountFilterProductCategoryProperties.java A src/org/openbravo/retail/posterminal/master/DiscountFilterProductProperties.java A src/org/openbravo/retail/posterminal/master/DiscountFilterRoleProperties.java --- |
(0071422) hgbot (developer) 2014-11-05 12:58 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: b1cce656109feec79b204c9e273f1c63f271ad99 Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Wed Nov 05 12:56:32 2014 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/b1cce656109feec79b204c9e273f1c63f271ad99 [^] Fixed issue 0028015: Use/take into account the active flag for all master data when doing incremental refresh Active flag is used to add/remove into local database in master data tables: - incremental refresh: We will retrieve from the server entries which has changed and if active value changed, we will add/remove the entry. - total refresh: We will retrieve from server just active entries. We need to put $incrementalUpdateCriteria filter in the Java servlet and we must include in the model Properties class, the active field to retrieve this info. Some tables have dependencies, you need to take into account this. See Discount and DiscountFilterBusinessPartner example. We need to check our table and the parent table active value and add $incrementalUpdateCriteria for both. --- M src/org/openbravo/mobile/core/process/SimpleQueryBuilder.java --- |
(0071423) hgbot (developer) 2014-11-05 12:59 |
Repository: erp/pmods/org.openbravo.retail.discounts.bytotal Changeset: f66adb7cb15c3878dc2badf92f306451b6367c30 Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Wed Nov 05 12:58:58 2014 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.bytotal/rev/f66adb7cb15c3878dc2badf92f306451b6367c30 [^] Fixed issue 0028015: Use/take into account the active flag for all master data when doing incremental refresh Active flag is used to add/remove into local database in master data tables: - incremental refresh: We will retrieve from the server entries which has changed and if active value changed, we will add/remove the entry. - total refresh: We will retrieve from server just active entries. We need to put $incrementalUpdateCriteria filter in the Java servlet and we must include in the model Properties class, the active field to retrieve this info. Some tables have dependencies, you need to take into account this. See Discount and DiscountFilterBusinessPartner example. We need to check our table and the parent table active value and add $incrementalUpdateCriteria for both. --- M src/org/openbravo/retail/discounts/bytotal/master/FreeProduct.java A src/org/openbravo/retail/discounts/bytotal/master/FreeProductProperties.java --- |
(0071424) hgbot (developer) 2014-11-05 13:00 |
Repository: erp/pmods/org.openbravo.retail.discounts.combo Changeset: 3319b11c5f09ec3f8eb11033b7c8c8b137e7b798 Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Wed Nov 05 13:00:05 2014 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.discounts.combo/rev/3319b11c5f09ec3f8eb11033b7c8c8b137e7b798 [^] Fixed issue 0028015: Use/take into account the active flag for all master data when doing incremental refresh Active flag is used to add/remove into local database in master data tables: - incremental refresh: We will retrieve from the server entries which has changed and if active value changed, we will add/remove the entry. - total refresh: We will retrieve from server just active entries. We need to put $incrementalUpdateCriteria filter in the Java servlet and we must include in the model Properties class, the active field to retrieve this info. Some tables have dependencies, you need to take into account this. See Discount and DiscountFilterBusinessPartner example. We need to check our table and the parent table active value and add $incrementalUpdateCriteria for both. --- M src/org/openbravo/retail/discounts/combo/master/Family.java M src/org/openbravo/retail/discounts/combo/master/Product.java A src/org/openbravo/retail/discounts/combo/master/FamilyProperties.java A src/org/openbravo/retail/discounts/combo/master/ProductComboProperties.java --- |
(0071425) hgbot (developer) 2014-11-05 13:01 |
Repository: erp/pmods/org.openbravo.retail.giftcards Changeset: 8f40cfda2c784285292ef8d15d9c82e78d699b5e Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Wed Nov 05 13:00:51 2014 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/8f40cfda2c784285292ef8d15d9c82e78d699b5e [^] Fixed issue 0028015: Use/take into account the active flag for all master data when doing incremental refresh Active flag is used to add/remove into local database in master data tables: - incremental refresh: We will retrieve from the server entries which has changed and if active value changed, we will add/remove the entry. - total refresh: We will retrieve from server just active entries. We need to put $incrementalUpdateCriteria filter in the Java servlet and we must include in the model Properties class, the active field to retrieve this info. Some tables have dependencies, you need to take into account this. See Discount and DiscountFilterBusinessPartner example. We need to check our table and the parent table active value and add $incrementalUpdateCriteria for both. --- M src/org/openbravo/retail/giftcards/master/GiftCard.java M src/org/openbravo/retail/giftcards/master/GiftCardProperties.java --- |
(0071426) hgbot (developer) 2014-11-05 13:11 |
Repository: erp/pmods/org.openbravo.mobile.procurement Changeset: d8bee2b50f6e414c3b3ce7156c0c38d063daa1e9 Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Wed Nov 05 13:11:01 2014 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.procurement/rev/d8bee2b50f6e414c3b3ce7156c0c38d063daa1e9 [^] Fixed issue 0028015: Use/take into account the active flag for all master data when doing incremental refresh Active flag is used to add/remove into local database in master data tables: - incremental refresh: We will retrieve from the server entries which has changed and if active value changed, we will add/remove the entry. - total refresh: We will retrieve from server just active entries. We need to put $incrementalUpdateCriteria filter in the Java servlet and we must include in the model Properties class, the active field to retrieve this info. Some tables have dependencies, you need to take into account this. See Discount and DiscountFilterBusinessPartner example. We need to check our table and the parent table active value and add $incrementalUpdateCriteria for both. --- M src/org/openbravo/mobile/procurement/master/BPCategory.java M src/org/openbravo/mobile/procurement/master/BusinessPartner.java M src/org/openbravo/mobile/procurement/master/Product.java M src/org/openbravo/mobile/procurement/master/ProductCategory.java M src/org/openbravo/mobile/procurement/master/TaxRate.java --- |
(0071430) hgbot (developer) 2014-11-05 13:56 |
Repository: erp/pmods/org.openbravo.mobile.procurement Changeset: a46330a7846c101ada2bf9608e00a6eb2c23c5d3 Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Wed Nov 05 13:56:22 2014 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.procurement/rev/a46330a7846c101ada2bf9608e00a6eb2c23c5d3 [^] Fixed issue 0028015: Use/take into account the active flag for all master data when doing incremental refresh Active flag is used to add/remove into local database in master data tables: - incremental refresh: We will retrieve from the server entries which has changed and if active value changed, we will add/remove the entry. - total refresh: We will retrieve from server just active entries. We need to put $incrementalUpdateCriteria filter in the Java servlet and we must include in the model Properties class, the active field to retrieve this info. Some tables have dependencies, you need to take into account this. See Discount and DiscountFilterBusinessPartner example. We need to check our table and the parent table active value and add $incrementalUpdateCriteria for both. --- M src/org/openbravo/mobile/procurement/master/BusinessPartner.java M src/org/openbravo/mobile/procurement/master/Product.java M src/org/openbravo/mobile/procurement/master/ProductCategory.java --- |
(0071448) hgbot (developer) 2014-11-06 08:27 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: cc203da35b0248bdca0ff37086670dd55511a613 Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Thu Nov 06 08:27:12 2014 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/cc203da35b0248bdca0ff37086670dd55511a613 [^] Fixed issue 0028015: Use/take into account the active flag for all master data when doing incremental refresh $activeCriteria was removed from $readableCriteria and $readableClientCriteria. We need to add $activeCriteria to servlets which have one of both and do not have $incrementalUpdateCriteria in order to manage active field. --- M src/org/openbravo/retail/posterminal/master/BusinessPartner.java M src/org/openbravo/retail/posterminal/master/CurrencyPanel.java M src/org/openbravo/retail/posterminal/term/Currency.java M src/org/openbravo/retail/posterminal/term/Location.java M src/org/openbravo/retail/posterminal/term/Payments.java M src/org/openbravo/retail/posterminal/term/PriceList.java M src/org/openbravo/retail/posterminal/term/Terminal.java M src/org/openbravo/retail/posterminal/term/Warehouses.java --- |
(0071449) hgbot (developer) 2014-11-06 08:28 |
Repository: erp/pmods/org.openbravo.retail.giftcards Changeset: 8a786a47038c41d9be7e882938f463a80b811b80 Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Thu Nov 06 08:28:29 2014 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/8a786a47038c41d9be7e882938f463a80b811b80 [^] Fixed issue 0028015: Use/take into account the active flag for all master data when doing incremental refresh $activeCriteria was removed from $readableCriteria and $readableClientCriteria. We need to add $activeCriteria to servlets which have one of both and do not have $incrementalUpdateCriteria in order to manage active field. --- M src/org/openbravo/retail/giftcards/ListGiftCard.java --- |
(0071450) hgbot (developer) 2014-11-06 08:31 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: 0dca6abcbc7c0d005fd4fe0d3835afb5d4737cb9 Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Thu Nov 06 08:30:54 2014 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/0dca6abcbc7c0d005fd4fe0d3835afb5d4737cb9 [^] Fixed issue 0028015: Use/take into account the active flag for all master data when doing incremental refresh $activeCriteria was removed from $readableCriteria and $readableClientCriteria. We need to add $activeCriteria to servlets which have one of both and do not have $incrementalUpdateCriteria in order to manage active field. --- M src/org/openbravo/mobile/core/login/Context.java M src/org/openbravo/mobile/core/login/ContextInformation.java --- |
(0071451) hgbot (developer) 2014-11-06 08:32 |
Repository: erp/pmods/org.openbravo.mobile.procurement Changeset: 97edc242855b5a05d51d778ff1f560d0e0f539eb Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Thu Nov 06 08:32:21 2014 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.procurement/rev/97edc242855b5a05d51d778ff1f560d0e0f539eb [^] Fixed issue 0028015: Use/take into account the active flag for all master data when doing incremental refresh $activeCriteria was removed from $readableCriteria and $readableClientCriteria. We need to add $activeCriteria to servlets which have one of both and do not have $incrementalUpdateCriteria in order to manage active field. --- M src/org/openbravo/mobile/procurement/term/Context.java M src/org/openbravo/mobile/procurement/term/Currency.java M src/org/openbravo/mobile/procurement/term/PriceList.java M src/org/openbravo/mobile/procurement/term/PriceListVersion.java M src/org/openbravo/mobile/procurement/term/Terminal.java M src/org/openbravo/mobile/procurement/term/Warehouses.java --- |
(0071452) hgbot (developer) 2014-11-06 08:39 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: d0acd063f5ab480fc7c666c7e4e323540f2336d0 Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Thu Nov 06 08:39:17 2014 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/d0acd063f5ab480fc7c666c7e4e323540f2336d0 [^] Fixed issue 0028015: Use/take into account the active flag for all master data when doing incremental refresh Update copyright. --- M src/org/openbravo/retail/posterminal/master/DiscountFilterBusinessPartnerGroupProperties.java M src/org/openbravo/retail/posterminal/master/DiscountFilterBusinessPartnerProperties.java M src/org/openbravo/retail/posterminal/master/DiscountFilterCharacteristicProperties.java M src/org/openbravo/retail/posterminal/master/DiscountFilterProductCategoryProperties.java M src/org/openbravo/retail/posterminal/master/DiscountFilterProductProperties.java M src/org/openbravo/retail/posterminal/master/DiscountFilterRoleProperties.java --- |
(0071990) hgbot (developer) 2014-11-25 13:47 |
Repository: erp/pmods/org.openbravo.mobile.core Changeset: c42095f818bcef58b60004612b1159e0aa685cca Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Tue Nov 25 13:46:45 2014 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.core/rev/c42095f818bcef58b60004612b1159e0aa685cca [^] Fixed issue 0028015: Use/take into account the active flag. Restore readableCriteria in order to not breaking the API --- M src/org/openbravo/mobile/core/login/Context.java M src/org/openbravo/mobile/core/login/ContextInformation.java M src/org/openbravo/mobile/core/process/SimpleQueryBuilder.java --- |
(0071991) hgbot (developer) 2014-11-25 13:48 |
Repository: erp/pmods/org.openbravo.mobile.procurement Changeset: 25508d7a7e85be71cf8250e051e63cd03b2519c3 Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Tue Nov 25 13:47:51 2014 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.mobile.procurement/rev/25508d7a7e85be71cf8250e051e63cd03b2519c3 [^] Fixed issue 0028015: Use/take into account the active flag. Restore readableCriteria in order to not breaking the API --- M src/org/openbravo/mobile/procurement/master/BusinessPartner.java M src/org/openbravo/mobile/procurement/master/TaxRate.java M src/org/openbravo/mobile/procurement/term/Context.java M src/org/openbravo/mobile/procurement/term/Currency.java M src/org/openbravo/mobile/procurement/term/PriceList.java M src/org/openbravo/mobile/procurement/term/PriceListVersion.java M src/org/openbravo/mobile/procurement/term/Terminal.java M src/org/openbravo/mobile/procurement/term/Warehouses.java --- |
(0071992) hgbot (developer) 2014-11-25 13:48 |
Repository: erp/pmods/org.openbravo.retail.giftcards Changeset: 6354d8a1521d4a727a799d04186cb94e4b87f5b8 Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Tue Nov 25 13:48:24 2014 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.giftcards/rev/6354d8a1521d4a727a799d04186cb94e4b87f5b8 [^] Fixed issue 0028015: Use/take into account the active flag. Restore readableCriteria in order to not breaking the API --- M src/org/openbravo/retail/giftcards/ListGiftCard.java M src/org/openbravo/retail/giftcards/master/GiftCard.java --- |
(0071993) hgbot (developer) 2014-11-25 13:50 |
Repository: erp/pmods/org.openbravo.retail.posterminal Changeset: 25883df2a76ef680f0f55e6f84be8e25d38925ba Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Tue Nov 25 13:49:01 2014 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.posterminal/rev/25883df2a76ef680f0f55e6f84be8e25d38925ba [^] Fixed issue 0028015: Use/take into account the active flag. Restore readableCriteria in order to not breaking the API --- M src/org/openbravo/retail/posterminal/master/BPCategory.java M src/org/openbravo/retail/posterminal/master/BPLocation.java M src/org/openbravo/retail/posterminal/master/BusinessPartner.java M src/org/openbravo/retail/posterminal/master/BusinessPartnerProperties.java M src/org/openbravo/retail/posterminal/master/Category.java M src/org/openbravo/retail/posterminal/master/CurrencyPanel.java M src/org/openbravo/retail/posterminal/master/Product.java M src/org/openbravo/retail/posterminal/master/ProductChValue.java M src/org/openbravo/retail/posterminal/master/ProductCharacteristic.java M src/org/openbravo/retail/posterminal/master/ProductProductChValue.java M src/org/openbravo/retail/posterminal/master/ReturnReason.java M src/org/openbravo/retail/posterminal/master/SalesRepresentative.java M src/org/openbravo/retail/posterminal/master/TaxRate.java M src/org/openbravo/retail/posterminal/master/TaxZone.java M src/org/openbravo/retail/posterminal/term/Currency.java M src/org/openbravo/retail/posterminal/term/Location.java M src/org/openbravo/retail/posterminal/term/Payments.java M src/org/openbravo/retail/posterminal/term/PriceList.java M src/org/openbravo/retail/posterminal/term/Terminal.java M src/org/openbravo/retail/posterminal/term/Warehouses.java --- |
(0071994) hgbot (developer) 2014-11-25 13:51 |
Repository: erp/pmods/org.openbravo.retail.bestsellers Changeset: 252d8a07d46de5e833056d858b7b3f7279fc9c38 Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Tue Nov 25 13:51:32 2014 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.bestsellers/rev/252d8a07d46de5e833056d858b7b3f7279fc9c38 [^] Fixed issue 0028015: Use/take into account the active flag. Restore readableCriteria in order to not breaking the API --- M src/org/openbravo/retail/bestsellers/master/BestSellers.java --- |
(0071995) hgbot (developer) 2014-11-25 13:52 |
Repository: erp/pmods/org.openbravo.retail.multiupc Changeset: bc4b12f09dfc3574b8790ae5c0dee13c57467a7a Author: Miguel de Juana <miguel.dejuana <at> openbravo.com> Date: Tue Nov 25 13:52:11 2014 +0100 URL: http://code.openbravo.com/erp/pmods/org.openbravo.retail.multiupc/rev/bc4b12f09dfc3574b8790ae5c0dee13c57467a7a [^] Fixed issue 0028015: Use/take into account the active flag. Restore readableCriteria in order to not breaking the API --- M src/org/openbravo/retail/multiupc/MultiUPC.java --- |
Copyright © 2000 - 2009 MantisBT Group |