Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Revisions: Issue #27431 Back to Issue ]
Summary 0027431: Sometimes the business partner is empty when the WebPOS loads
Revision 2014-09-02 20:07 by Orekaria
Steps To Reproduce How to reproduce it:
Log into the WebPOS
Select the business partner 'Arturo Montoro'
In the menu, select 'Invoice this receipt'
Refresh the web page
Verify that the attached screenshot is shown


Deprecated:

If one can reproduce this issue, please backup the Web SQL database before fixing it (clear cache seems to do the trick)

Try this:

Downgrade core, posterminal and giftcards to Q2.2
install.source
clear cache
Load the WebPOS
Log in

Upgrade to Q4
install.source
Do not clear cache
Load the WebPOS
Log in


Or this:

Install copyStore module and its dependencies
Copy the VBS store into another one
Load the WebPOS
Log in as VallBlanca

Revision 2014-09-02 11:49 by Orekaria
Steps To Reproduce How to reproduce it:
Log into the WebPOS
Select the business partner 'Antonio Montoro'
In the menu, select 'Invoice this receipt'
Refresh the web page
Verify that the attached screenshot is shown


Deprecated:

If one can reproduce this issue, please backup the Web SQL database before fixing it (clear cache seems to do the trick)

Try this:

Downgrade core, posterminal and giftcards to Q2.2
install.source
clear cache
Load the WebPOS
Log in

Upgrade to Q4
install.source
Do not clear cache
Load the WebPOS
Log in


Or this:

Install copyStore module and its dependencies
Copy the VBS store into another one
Load the WebPOS
Log in as VallBlanca

Revision 2014-08-29 10:46 by Orekaria
Steps To Reproduce If one can reproduce this issue, please backup the Web SQL database before fixing it (clear cache seems to do the trick)

Try this:

Downgrade core, posterminal and giftcards to Q2.2
install.source
clear cache
Load the WebPOS
Log in

Upgrade to Q4
install.source
Do not clear cache
Load the WebPOS
Log in


Or this:

Install copyStore module and its dependencies
Copy the VBS store into another one
Load the WebPOS
Log in as VallBlanca

Revision 2014-08-29 10:44 by Orekaria
Steps To Reproduce Try this:

Downgrade core, posterminal and giftcards to Q2.2
install.source
clear cache
Load the WebPOS
Log in

Upgrade to Q4
install.source
Do not clear cache
Load the WebPOS
Log in


Or this:

Install copyStore module and its dependencies
Copy the VBS store into another one
Load the WebPOS
Log in as VallBlanca

Revision 2014-08-29 10:32 by Orekaria
Description Sometimes the business partner is empty when the WebPOS loads. This seems to happen only the first time the WebPOS loads.

Reproduced in Q4:

When this happens:

The WebPOS is inoperative:
    - fails to add some products whilst others can be added
    - some added products can be deleted whilst others can't
    - the total to pay is always '0.00'
    - the sale can't be finished
    - the receipt can't be deleted


This console errors are shown:

    - when trying to delete a product from the receipt
        Uncaught TypeError: Cannot read property 'get' of null (cause: this.get('bp') === null)
    
        this.receipt.calculateTaxes = function (callback) {
            var me = this,
                bpTaxCategory = this.get('bp').get('taxCategory'),

    - when trying to delete the receipt:
        Uncaught TypeError: Cannot read property 'constructor' of null (cause: model.constructor === null)

            OB.Dal.remove = function (model, success, error) {
                var modelDefinition = OB.Model[model.constructor.prototype.modelName],

        Uncaught TypeError: Cannot read property 'get' of undefined

            if (OB.POS.modelterminal.hasPermission('OBPOS_receipt.invoice')) {
                if (OB.POS.modelterminal.hasPermission('OBPOS_retail.restricttaxidinvoice') && !OB.POS.modelterminal.get('businessPartner').get('taxID')) {

    - when trying to create a new receipt:
        Uncaught TypeError: Cannot read property 'get' of undefined (cause: OB.POS.modelterminal.get('businessPartner') === undefined)

            if (OB.POS.modelterminal.hasPermission('OBPOS_receipt.invoice')) {
                if (OB.POS.modelterminal.hasPermission('OBPOS_retail.restricttaxidinvoice') && !OB.POS.modelterminal.get('businessPartner').get('taxID')) {


Console trace when loading the WebPOS:

    Adding master entry to Application Cache with manifest http://localhost:8080/openbravo/org.openbravo.client.kernel/OBPOS_Main/AppCacheManifest?_appName=WebPOS [^] localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1:1
    Application Cache NoUpdate event localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1:1
    'webkitRequestAnimationFrame' is vendor-specific. Please use the standard 'requestAnimationFrame' instead.
    'webkitCancelRequestAnimationFrame' is vendor-specific. Please use the standard 'cancelAnimationFrame' instead.
    OB.UTIL.Debug 0.1 is available
    Deprecated (since RR14Q4.0): OB.UTILS namespace has been removed
    TestRegistry 1.0.2 is available
    Failed to load resource: the server responded with a status of 401 (Unauthorized) http://localhost:8080/openbravo/org.openbravo.mobile.core.service.jsonrest/ [^]…value%22:true,%22type%22:%22boolean%22%7D%7D,%22appName%22:%22WebPOS%22%7D
    Starting to load properties based on properties loaders
    Array[12]
     http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2964: [^]
    Loading... terminal http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17079:1 [^]
    Loading... context http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17142:1 [^]
    loading... payments http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17159:1 [^]
    loading... cashMgmtDepositEvents
    loading... cashMgmtDropEvents
    loading... businesspartner http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17202:1 [^]
    loading... location http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17217:1 [^]
    loading... pricelist http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17231:1 [^]
    loading... warehouses http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17245:1 [^]
    loading... writableOrganizations http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17262:1 [^]
    loading... pricelistversion http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17276:1 [^]
    loading... currency http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17294:1 [^]
    "context" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "writableOrganizations" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "location" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "pricelist" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "businesspartner" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "warehouses" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "cashMgmtDepositEvents" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "cashMgmtDropEvents" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "pricelistversion" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "currency" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "payments" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "terminal" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    DiscountFilterBusinessPartner is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterBusinessPartnerGroup is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterProductCategory is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterProduct is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    TaxRate is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    Discount is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterRole is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    properties has been loaded successfully:
        appDisplayName: "Openbravo Mobile"
        appModuleId: "FF808181326CC34901326D53DBCF0018"
        appName: "WebPOS"
        applicationFormatUrl: "../../org.openbravo.client.kernel/OBPOS_Main/ApplicationFormats"
        businesspartner: "ABD91C9D3BC94175B876FBBE9CACA008"
        cashMgmtDepositEvents: Array[1]
        cashMgmtDropEvents: Array[2]
        connectedToERP: true
        context: Object
        currency: Object
        dataSyncModels: Array[5]
        documentsequence: 84
        isDisableDiscount: false
        isLoggingIn: false
        lastPaneShown: "scan"
        localDB: Object
        location: Object
        logConfiguration: Object
        logDBStmtThreshold: 1000
        logDBTrxThreshold: 300
        loggedOffline: false
        loginHandlerUrl: "../../org.openbravo.retail.posterminal/POSLoginHandler"
        loginUtilsParams: Object
        loginUtilsUrl: "../../org.openbravo.retail.posterminal.service.loginutils"
        logoutUrlParams: Object
        orgUserId: "3073EDF96A3C42CC86C7069E379522D2"
        paymentcash: "OBPOS_payment.cash"
        payments: Array[4]
        permissions: Object
        pricelist: Object
        pricelistversion: Object
        profileOptions: Object
        propertiesLoaders: Array[12]
        quotationDocumentSequence: 3
        session: "0BB285BA40B287D5CD410FAB1ED51779"
        supportsOffline: true
        terminal: Object
        terminalName: "VBS-1"
        useBarcode: false
        warehouses: Array[2]
        windows: null
        writableOrganizations: Array[2]
        __proto__: Object
     
    The 'x-webkit-speech' input field attribute is deprecated. Please use the JavaScript API instead.
    Total time to log in: 4449



chrome://appcache-internals [^]


Manifest: http://localhost:8080/openbravo/org.openbravo.client.kernel/OBPOS_Main/AppCacheManifest?_appName=WebPOS [^]

Remove View Entries
Size: 9.5 kB
Creation Time: Thursday, August 28, 2014 20:10:11 PM
Last Update Time: Friday, August 29, 2014 8:54:23 AM
Last Access Time: Friday, August 29, 2014 9:10:43 AM

Flags URL Size (headers and data)
Manifest, http://localhost:8080/openbravo/org.openbravo.client.kernel/OBPOS_Main/AppCacheManifest?_appName=WebPOS [^] 316 B
Master, http://localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=CMS-1 [^] 4.6 kB
Master, http://localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1 [^] 4.6 kB


TestRegistry.registry('payment_paymentTabContent').enyoObject.model.get('order'):

    child {attributes: Object, _escapedAttributes: Object, cid: "c31", changed: Object, _silent: Object…}
    _callbacks: Object
    _changing: false
    _escapedAttributes: Object
    _pending: Object
    _previousAttributes: Object
    _silent: Object
    attributes: Object
    approvals: Array[0]
    bp: null
    change: 0
    client: null
    createdBy: null
    currency: null
    currency$_identifier: null
    description: ""
    documentNo: ""
    documentType: null
    generateInvoice: false
    gross: 0
    hasbeenpaid: "N"
    id: null
    isEditable: true
    isLayaway: false
    isPaid: false
    isQuotation: false
    isbeingprocessed: "N"
    lines: child
    net: 0
    oldId: null
    openDrawer: false
    orderDate: Fri Aug 29 2014 08:54:30 GMT+0200 (CEST)
    orderType: 0
    organization: null
    paidOnCredit: false
    payment: 0
    payments: child
    posTerminal: null
    posTerminal$_identifier: null
    priceIncludesTax: null
    priceList: null
    print: true
    qty: 0
    salesRepresentative: null
    salesRepresentative$_identifier: null
    sendEmail: false
    session: null
    taxes: null
    totalamount: null
    undo: null
    updatedBy: null
    warehouse: null
    __proto__: Object
    calculateTaxes: function (callback) {
    changed: Object
    cid: "c31"


Installed modules:

    org.openbravo.advpaymentmngt/
    org.openbravo.agingbalance/
    org.openbravo.base.weld/
    org.openbravo.client.application/
    org.openbravo.client.htmlwidget/
    org.openbravo.client.kernel/
    org.openbravo.client.myob/
    org.openbravo.client.querylist/
    org.openbravo.client.widgets/
    org.openbravo.financial.cashflowforecast/
    org.openbravo.financial.paymentreport/
    org.openbravo.mobile.core/
    org.openbravo.mobile.warehouse/
    org.openbravo.reports.ordersawaitingdelivery/
    org.openbravo.retail.config/
    org.openbravo.retail.copystore/ (!)
    org.openbravo.retail.discounts/
    org.openbravo.retail.giftcards/
    org.openbravo.retail.pack/
    org.openbravo.retail.poshwmanager/
    org.openbravo.retail.posterminal/
    org.openbravo.retail.returns/
    org.openbravo.retail.sampledata/
    org.openbravo.service.datasource/
    org.openbravo.service.integration.google/
    org.openbravo.service.integration.openid/
    org.openbravo.service.json/
    org.openbravo.userinterface.selector/
    org.openbravo.userinterface.skin.250to300Comp/
    org.openbravo.userinterface.smartclient/
    org.openbravo.utility.multiplebpselector/
    org.openbravo.v3/
    org.openbravo.v3.datasets/
    org.openbravo.v3.framework/
Revision 2014-08-29 09:55 by Orekaria
Description Sometimes the business partner is empty when the WebPOS loads. This seems to happen only the first time the WebPOS loads.


Console trace:

    Adding master entry to Application Cache with manifest http://localhost:8080/openbravo/org.openbravo.client.kernel/OBPOS_Main/AppCacheManifest?_appName=WebPOS [^] localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1:1
    Application Cache NoUpdate event localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1:1
    'webkitRequestAnimationFrame' is vendor-specific. Please use the standard 'requestAnimationFrame' instead.
    'webkitCancelRequestAnimationFrame' is vendor-specific. Please use the standard 'cancelAnimationFrame' instead.
    OB.UTIL.Debug 0.1 is available
    Deprecated (since RR14Q4.0): OB.UTILS namespace has been removed
    TestRegistry 1.0.2 is available
    Failed to load resource: the server responded with a status of 401 (Unauthorized) http://localhost:8080/openbravo/org.openbravo.mobile.core.service.jsonrest/ [^]…value%22:true,%22type%22:%22boolean%22%7D%7D,%22appName%22:%22WebPOS%22%7D
    Starting to load properties based on properties loaders
    Array[12]
     http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2964: [^]
    Loading... terminal http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17079:1 [^]
    Loading... context http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17142:1 [^]
    loading... payments http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17159:1 [^]
    loading... cashMgmtDepositEvents
    loading... cashMgmtDropEvents
    loading... businesspartner http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17202:1 [^]
    loading... location http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17217:1 [^]
    loading... pricelist http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17231:1 [^]
    loading... warehouses http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17245:1 [^]
    loading... writableOrganizations http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17262:1 [^]
    loading... pricelistversion http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17276:1 [^]
    loading... currency http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17294:1 [^]
    "context" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "writableOrganizations" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "location" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "pricelist" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "businesspartner" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "warehouses" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "cashMgmtDepositEvents" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "cashMgmtDropEvents" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "pricelistversion" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "currency" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "payments" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "terminal" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    DiscountFilterBusinessPartner is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterBusinessPartnerGroup is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterProductCategory is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterProduct is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    TaxRate is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    Discount is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterRole is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    properties has been loaded successfully:
        appDisplayName: "Openbravo Mobile"
        appModuleId: "FF808181326CC34901326D53DBCF0018"
        appName: "WebPOS"
        applicationFormatUrl: "../../org.openbravo.client.kernel/OBPOS_Main/ApplicationFormats"
        businesspartner: "ABD91C9D3BC94175B876FBBE9CACA008"
        cashMgmtDepositEvents: Array[1]
        cashMgmtDropEvents: Array[2]
        connectedToERP: true
        context: Object
        currency: Object
        dataSyncModels: Array[5]
        documentsequence: 84
        isDisableDiscount: false
        isLoggingIn: false
        lastPaneShown: "scan"
        localDB: Object
        location: Object
        logConfiguration: Object
        logDBStmtThreshold: 1000
        logDBTrxThreshold: 300
        loggedOffline: false
        loginHandlerUrl: "../../org.openbravo.retail.posterminal/POSLoginHandler"
        loginUtilsParams: Object
        loginUtilsUrl: "../../org.openbravo.retail.posterminal.service.loginutils"
        logoutUrlParams: Object
        orgUserId: "3073EDF96A3C42CC86C7069E379522D2"
        paymentcash: "OBPOS_payment.cash"
        payments: Array[4]
        permissions: Object
        pricelist: Object
        pricelistversion: Object
        profileOptions: Object
        propertiesLoaders: Array[12]
        quotationDocumentSequence: 3
        session: "0BB285BA40B287D5CD410FAB1ED51779"
        supportsOffline: true
        terminal: Object
        terminalName: "VBS-1"
        useBarcode: false
        warehouses: Array[2]
        windows: null
        writableOrganizations: Array[2]
        __proto__: Object
     
    The 'x-webkit-speech' input field attribute is deprecated. Please use the JavaScript API instead.
    Total time to log in: 4449



chrome://appcache-internals [^]


Manifest: http://localhost:8080/openbravo/org.openbravo.client.kernel/OBPOS_Main/AppCacheManifest?_appName=WebPOS [^]

Remove View Entries
Size: 9.5 kB
Creation Time: Thursday, August 28, 2014 20:10:11 PM
Last Update Time: Friday, August 29, 2014 8:54:23 AM
Last Access Time: Friday, August 29, 2014 9:10:43 AM

Flags URL Size (headers and data)
Manifest, http://localhost:8080/openbravo/org.openbravo.client.kernel/OBPOS_Main/AppCacheManifest?_appName=WebPOS [^] 316 B
Master, http://localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=CMS-1 [^] 4.6 kB
Master, http://localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1 [^] 4.6 kB


TestRegistry.registry('payment_paymentTabContent').enyoObject.model.get('order'):

    child {attributes: Object, _escapedAttributes: Object, cid: "c31", changed: Object, _silent: Object…}
    _callbacks: Object
    _changing: false
    _escapedAttributes: Object
    _pending: Object
    _previousAttributes: Object
    _silent: Object
    attributes: Object
    approvals: Array[0]
    bp: null
    change: 0
    client: null
    createdBy: null
    currency: null
    currency$_identifier: null
    description: ""
    documentNo: ""
    documentType: null
    generateInvoice: false
    gross: 0
    hasbeenpaid: "N"
    id: null
    isEditable: true
    isLayaway: false
    isPaid: false
    isQuotation: false
    isbeingprocessed: "N"
    lines: child
    net: 0
    oldId: null
    openDrawer: false
    orderDate: Fri Aug 29 2014 08:54:30 GMT+0200 (CEST)
    orderType: 0
    organization: null
    paidOnCredit: false
    payment: 0
    payments: child
    posTerminal: null
    posTerminal$_identifier: null
    priceIncludesTax: null
    priceList: null
    print: true
    qty: 0
    salesRepresentative: null
    salesRepresentative$_identifier: null
    sendEmail: false
    session: null
    taxes: null
    totalamount: null
    undo: null
    updatedBy: null
    warehouse: null
    __proto__: Object
    calculateTaxes: function (callback) {
    changed: Object
    cid: "c31"


Installed modules:

    org.openbravo.advpaymentmngt/
    org.openbravo.agingbalance/
    org.openbravo.base.weld/
    org.openbravo.client.application/
    org.openbravo.client.htmlwidget/
    org.openbravo.client.kernel/
    org.openbravo.client.myob/
    org.openbravo.client.querylist/
    org.openbravo.client.widgets/
    org.openbravo.financial.cashflowforecast/
    org.openbravo.financial.paymentreport/
    org.openbravo.mobile.core/
    org.openbravo.mobile.warehouse/
    org.openbravo.reports.ordersawaitingdelivery/
    org.openbravo.retail.config/
    org.openbravo.retail.copystore/ (!)
    org.openbravo.retail.discounts/
    org.openbravo.retail.giftcards/
    org.openbravo.retail.pack/
    org.openbravo.retail.poshwmanager/
    org.openbravo.retail.posterminal/
    org.openbravo.retail.returns/
    org.openbravo.retail.sampledata/
    org.openbravo.service.datasource/
    org.openbravo.service.integration.google/
    org.openbravo.service.integration.openid/
    org.openbravo.service.json/
    org.openbravo.userinterface.selector/
    org.openbravo.userinterface.skin.250to300Comp/
    org.openbravo.userinterface.smartclient/
    org.openbravo.utility.multiplebpselector/
    org.openbravo.v3/
    org.openbravo.v3.datasets/
    org.openbravo.v3.framework/
Revision 2014-08-29 09:54 by Orekaria
Description Sometimes the business partner is empty when the WebPOS loads. This seems to happen only the first time the WebPOS loads.


Console trace:

    Adding master entry to Application Cache with manifest http://localhost:8080/openbravo/org.openbravo.client.kernel/OBPOS_Main/AppCacheManifest?_appName=WebPOS [^] localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1:1
    Application Cache NoUpdate event localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1:1
    'webkitRequestAnimationFrame' is vendor-specific. Please use the standard 'requestAnimationFrame' instead.
    'webkitCancelRequestAnimationFrame' is vendor-specific. Please use the standard 'cancelAnimationFrame' instead.
    OB.UTIL.Debug 0.1 is available
    Deprecated (since RR14Q4.0): OB.UTILS namespace has been removed
    TestRegistry 1.0.2 is available
    Failed to load resource: the server responded with a status of 401 (Unauthorized) http://localhost:8080/openbravo/org.openbravo.mobile.core.service.jsonrest/ [^]…value%22:true,%22type%22:%22boolean%22%7D%7D,%22appName%22:%22WebPOS%22%7D
    Starting to load properties based on properties loaders
    Array[12]
     http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2964: [^]
    Loading... terminal http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17079:1 [^]
    Loading... context http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17142:1 [^]
    loading... payments http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17159:1 [^]
    loading... cashMgmtDepositEvents
    loading... cashMgmtDropEvents
    loading... businesspartner http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17202:1 [^]
    loading... location http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17217:1 [^]
    loading... pricelist http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17231:1 [^]
    loading... warehouses http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17245:1 [^]
    loading... writableOrganizations http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17262:1 [^]
    loading... pricelistversion http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17276:1 [^]
    loading... currency http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17294:1 [^]
    "context" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "writableOrganizations" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "location" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "pricelist" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "businesspartner" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "warehouses" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "cashMgmtDepositEvents" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "cashMgmtDropEvents" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "pricelistversion" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "currency" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "payments" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "terminal" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    DiscountFilterBusinessPartner is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterBusinessPartnerGroup is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterProductCategory is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterProduct is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    TaxRate is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    Discount is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterRole is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    properties has been loaded successfully:
        appDisplayName: "Openbravo Mobile"
        appModuleId: "FF808181326CC34901326D53DBCF0018"
        appName: "WebPOS"
        applicationFormatUrl: "../../org.openbravo.client.kernel/OBPOS_Main/ApplicationFormats"
        businesspartner: "ABD91C9D3BC94175B876FBBE9CACA008"
        cashMgmtDepositEvents: Array[1]
        cashMgmtDropEvents: Array[2]
        connectedToERP: true
        context: Object
        currency: Object
        dataSyncModels: Array[5]
        documentsequence: 84
        isDisableDiscount: false
        isLoggingIn: false
        lastPaneShown: "scan"
        localDB: Object
        location: Object
        logConfiguration: Object
        logDBStmtThreshold: 1000
        logDBTrxThreshold: 300
        loggedOffline: false
        loginHandlerUrl: "../../org.openbravo.retail.posterminal/POSLoginHandler"
        loginUtilsParams: Object
        loginUtilsUrl: "../../org.openbravo.retail.posterminal.service.loginutils"
        logoutUrlParams: Object
        orgUserId: "3073EDF96A3C42CC86C7069E379522D2"
        paymentcash: "OBPOS_payment.cash"
        payments: Array[4]
        permissions: Object
        pricelist: Object
        pricelistversion: Object
        profileOptions: Object
        propertiesLoaders: Array[12]
        quotationDocumentSequence: 3
        session: "0BB285BA40B287D5CD410FAB1ED51779"
        supportsOffline: true
        terminal: Object
        terminalName: "VBS-1"
        useBarcode: false
        warehouses: Array[2]
        windows: null
        writableOrganizations: Array[2]
        __proto__: Object
     
    The 'x-webkit-speech' input field attribute is deprecated. Please use the JavaScript API instead.
    Total time to log in: 4449



chrome://appcache-internals [^]


Manifest: http://localhost:8080/openbravo/org.openbravo.client.kernel/OBPOS_Main/AppCacheManifest?_appName=WebPOS [^]

Remove View Entries
Size: 9.5 kB
Creation Time: Thursday, August 28, 2014 20:10:11 PM
Last Update Time: Friday, August 29, 2014 8:54:23 AM
Last Access Time: Friday, August 29, 2014 9:10:43 AM

Flags URL Size (headers and data)
Manifest, http://localhost:8080/openbravo/org.openbravo.client.kernel/OBPOS_Main/AppCacheManifest?_appName=WebPOS [^] 316 B
Master, http://localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=CMS-1 [^] 4.6 kB
Master, http://localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1 [^] 4.6 kB


TestRegistry.registry('payment_paymentTabContent').enyoObject.model.get('order'):

    child {attributes: Object, _escapedAttributes: Object, cid: "c31", changed: Object, _silent: Object…}
    _callbacks: Object
    _changing: false
    _escapedAttributes: Object
    _pending: Object
    _previousAttributes: Object
    _silent: Object
    attributes: Object
    approvals: Array[0]
    bp: null
    change: 0
    client: null
    createdBy: null
    currency: null
    currency$_identifier: null
    description: ""
    documentNo: ""
    documentType: null
    generateInvoice: false
    gross: 0
    hasbeenpaid: "N"
    id: null
    isEditable: true
    isLayaway: false
    isPaid: false
    isQuotation: false
    isbeingprocessed: "N"
    lines: child
    net: 0
    oldId: null
    openDrawer: false
    orderDate: Fri Aug 29 2014 08:54:30 GMT+0200 (CEST)
    orderType: 0
    organization: null
    paidOnCredit: false
    payment: 0
    payments: child
    posTerminal: null
    posTerminal$_identifier: null
    priceIncludesTax: null
    priceList: null
    print: true
    qty: 0
    salesRepresentative: null
    salesRepresentative$_identifier: null
    sendEmail: false
    session: null
    taxes: null
    totalamount: null
    undo: null
    updatedBy: null
    warehouse: null
    __proto__: Object
    calculateTaxes: function (callback) {
    changed: Object
    cid: "c31"


Installed modules:

org.openbravo.advpaymentmngt/
    org.openbravo.agingbalance/
    org.openbravo.base.weld/
    org.openbravo.client.application/
    org.openbravo.client.htmlwidget/
    org.openbravo.client.kernel/
    org.openbravo.client.myob/
    org.openbravo.client.querylist/
    org.openbravo.client.widgets/
    org.openbravo.financial.cashflowforecast/
    org.openbravo.financial.paymentreport/
    org.openbravo.mobile.core/
    org.openbravo.mobile.warehouse/
    org.openbravo.reports.ordersawaitingdelivery/
    org.openbravo.retail.config/
    org.openbravo.retail.copystore/
    org.openbravo.retail.discounts/
    org.openbravo.retail.giftcards/
    org.openbravo.retail.pack/
    org.openbravo.retail.poshwmanager/
    org.openbravo.retail.posterminal/
    org.openbravo.retail.returns/
    org.openbravo.retail.sampledata/
    org.openbravo.service.datasource/
    org.openbravo.service.integration.google/
    org.openbravo.service.integration.openid/
    org.openbravo.service.json/
    org.openbravo.userinterface.selector/
    org.openbravo.userinterface.skin.250to300Comp/
    org.openbravo.userinterface.smartclient/
    org.openbravo.utility.multiplebpselector/
    org.openbravo.v3/
    org.openbravo.v3.datasets/
    org.openbravo.v3.framework/
Revision 2014-08-29 09:30 by Orekaria
Description Sometimes the business partner is empty when the WebPOS loads. This seems to happen only the first time the WebPOS loads.


Console trace when happens:

    Adding master entry to Application Cache with manifest http://localhost:8080/openbravo/org.openbravo.client.kernel/OBPOS_Main/AppCacheManifest?_appName=WebPOS [^] localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1:1
    Application Cache NoUpdate event localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1:1
    'webkitRequestAnimationFrame' is vendor-specific. Please use the standard 'requestAnimationFrame' instead.
    'webkitCancelRequestAnimationFrame' is vendor-specific. Please use the standard 'cancelAnimationFrame' instead.
    OB.UTIL.Debug 0.1 is available
    Deprecated (since RR14Q4.0): OB.UTILS namespace has been removed
    TestRegistry 1.0.2 is available
    Failed to load resource: the server responded with a status of 401 (Unauthorized) http://localhost:8080/openbravo/org.openbravo.mobile.core.service.jsonrest/ [^]…value%22:true,%22type%22:%22boolean%22%7D%7D,%22appName%22:%22WebPOS%22%7D
    Starting to load properties based on properties loaders
    Array[12]
     http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2964: [^]
    Loading... terminal http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17079:1 [^]
    Loading... context http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17142:1 [^]
    loading... payments http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17159:1 [^]
    loading... cashMgmtDepositEvents
    loading... cashMgmtDropEvents
    loading... businesspartner http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17202:1 [^]
    loading... location http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17217:1 [^]
    loading... pricelist http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17231:1 [^]
    loading... warehouses http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17245:1 [^]
    loading... writableOrganizations http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17262:1 [^]
    loading... pricelistversion http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17276:1 [^]
    loading... currency http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17294:1 [^]
    "context" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "writableOrganizations" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "location" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "pricelist" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "businesspartner" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "warehouses" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "cashMgmtDepositEvents" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "cashMgmtDropEvents" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "pricelistversion" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "currency" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "payments" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "terminal" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    DiscountFilterBusinessPartner is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterBusinessPartnerGroup is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterProductCategory is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterProduct is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    TaxRate is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    Discount is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterRole is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    properties has been loaded successfully:
        appDisplayName: "Openbravo Mobile"
        appModuleId: "FF808181326CC34901326D53DBCF0018"
        appName: "WebPOS"
        applicationFormatUrl: "../../org.openbravo.client.kernel/OBPOS_Main/ApplicationFormats"
        businesspartner: "ABD91C9D3BC94175B876FBBE9CACA008"
        cashMgmtDepositEvents: Array[1]
        cashMgmtDropEvents: Array[2]
        connectedToERP: true
        context: Object
        currency: Object
        dataSyncModels: Array[5]
        documentsequence: 84
        isDisableDiscount: false
        isLoggingIn: false
        lastPaneShown: "scan"
        localDB: Object
        location: Object
        logConfiguration: Object
        logDBStmtThreshold: 1000
        logDBTrxThreshold: 300
        loggedOffline: false
        loginHandlerUrl: "../../org.openbravo.retail.posterminal/POSLoginHandler"
        loginUtilsParams: Object
        loginUtilsUrl: "../../org.openbravo.retail.posterminal.service.loginutils"
        logoutUrlParams: Object
        orgUserId: "3073EDF96A3C42CC86C7069E379522D2"
        paymentcash: "OBPOS_payment.cash"
        payments: Array[4]
        permissions: Object
        pricelist: Object
        pricelistversion: Object
        profileOptions: Object
        propertiesLoaders: Array[12]
        quotationDocumentSequence: 3
        session: "0BB285BA40B287D5CD410FAB1ED51779"
        supportsOffline: true
        terminal: Object
        terminalName: "VBS-1"
        useBarcode: false
        warehouses: Array[2]
        windows: null
        writableOrganizations: Array[2]
        __proto__: Object
     
    The 'x-webkit-speech' input field attribute is deprecated. Please use the JavaScript API instead.
    Total time to log in: 4449



chrome://appcache-internals [^]


Manifest: http://localhost:8080/openbravo/org.openbravo.client.kernel/OBPOS_Main/AppCacheManifest?_appName=WebPOS [^]

Remove View Entries
Size: 9.5 kB
Creation Time: Thursday, August 28, 2014 20:10:11 PM
Last Update Time: Friday, August 29, 2014 8:54:23 AM
Last Access Time: Friday, August 29, 2014 9:10:43 AM

Flags URL Size (headers and data)
Manifest, http://localhost:8080/openbravo/org.openbravo.client.kernel/OBPOS_Main/AppCacheManifest?_appName=WebPOS [^] 316 B
Master, http://localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=CMS-1 [^] 4.6 kB
Master, http://localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1 [^] 4.6 kB


TestRegistry.registry('payment_paymentTabContent').enyoObject.model.get('order'):

    child {attributes: Object, _escapedAttributes: Object, cid: "c31", changed: Object, _silent: Object…}
    _callbacks: Object
    _changing: false
    _escapedAttributes: Object
    _pending: Object
    _previousAttributes: Object
    _silent: Object
    attributes: Object
    approvals: Array[0]
    bp: null
    change: 0
    client: null
    createdBy: null
    currency: null
    currency$_identifier: null
    description: ""
    documentNo: ""
    documentType: null
    generateInvoice: false
    gross: 0
    hasbeenpaid: "N"
    id: null
    isEditable: true
    isLayaway: false
    isPaid: false
    isQuotation: false
    isbeingprocessed: "N"
    lines: child
    net: 0
    oldId: null
    openDrawer: false
    orderDate: Fri Aug 29 2014 08:54:30 GMT+0200 (CEST)
    orderType: 0
    organization: null
    paidOnCredit: false
    payment: 0
    payments: child
    posTerminal: null
    posTerminal$_identifier: null
    priceIncludesTax: null
    priceList: null
    print: true
    qty: 0
    salesRepresentative: null
    salesRepresentative$_identifier: null
    sendEmail: false
    session: null
    taxes: null
    totalamount: null
    undo: null
    updatedBy: null
    warehouse: null
    __proto__: Object
    calculateTaxes: function (callback) {
    changed: Object
    cid: "c31"
Revision 2014-08-29 09:12 by Orekaria
Description Sometimes the business partner is empty when the WebPOS loads. This seems to happen only the first time the WebPOS loads.


Console trace when happens:

    Adding master entry to Application Cache with manifest http://localhost:8080/openbravo/org.openbravo.client.kernel/OBPOS_Main/AppCacheManifest?_appName=WebPOS [^] localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1:1
    Application Cache NoUpdate event localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1:1
    'webkitRequestAnimationFrame' is vendor-specific. Please use the standard 'requestAnimationFrame' instead.
    'webkitCancelRequestAnimationFrame' is vendor-specific. Please use the standard 'cancelAnimationFrame' instead.
    OB.UTIL.Debug 0.1 is available
    Deprecated (since RR14Q4.0): OB.UTILS namespace has been removed
    TestRegistry 1.0.2 is available
    Failed to load resource: the server responded with a status of 401 (Unauthorized) http://localhost:8080/openbravo/org.openbravo.mobile.core.service.jsonrest/ [^]…value%22:true,%22type%22:%22boolean%22%7D%7D,%22appName%22:%22WebPOS%22%7D
    Starting to load properties based on properties loaders
    Array[12]
     http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2964: [^]
    Loading... terminal http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17079:1 [^]
    Loading... context http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17142:1 [^]
    loading... payments http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17159:1 [^]
    loading... cashMgmtDepositEvents
    loading... cashMgmtDropEvents
    loading... businesspartner http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17202:1 [^]
    loading... location http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17217:1 [^]
    loading... pricelist http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17231:1 [^]
    loading... warehouses http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17245:1 [^]
    loading... writableOrganizations http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17262:1 [^]
    loading... pricelistversion http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17276:1 [^]
    loading... currency http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17294:1 [^]
    "context" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "writableOrganizations" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "location" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "pricelist" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "businesspartner" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "warehouses" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "cashMgmtDepositEvents" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "cashMgmtDropEvents" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "pricelistversion" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "currency" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "payments" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "terminal" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    DiscountFilterBusinessPartner is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterBusinessPartnerGroup is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterProductCategory is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterProduct is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    TaxRate is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    Discount is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterRole is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    properties has been loaded successfully:
        appDisplayName: "Openbravo Mobile"
        appModuleId: "FF808181326CC34901326D53DBCF0018"
        appName: "WebPOS"
        applicationFormatUrl: "../../org.openbravo.client.kernel/OBPOS_Main/ApplicationFormats"
        businesspartner: "ABD91C9D3BC94175B876FBBE9CACA008"
        cashMgmtDepositEvents: Array[1]
        cashMgmtDropEvents: Array[2]
        connectedToERP: true
        context: Object
        currency: Object
        dataSyncModels: Array[5]
        documentsequence: 84
        isDisableDiscount: false
        isLoggingIn: false
        lastPaneShown: "scan"
        localDB: Object
        location: Object
        logConfiguration: Object
        logDBStmtThreshold: 1000
        logDBTrxThreshold: 300
        loggedOffline: false
        loginHandlerUrl: "../../org.openbravo.retail.posterminal/POSLoginHandler"
        loginUtilsParams: Object
        loginUtilsUrl: "../../org.openbravo.retail.posterminal.service.loginutils"
        logoutUrlParams: Object
        orgUserId: "3073EDF96A3C42CC86C7069E379522D2"
        paymentcash: "OBPOS_payment.cash"
        payments: Array[4]
        permissions: Object
        pricelist: Object
        pricelistversion: Object
        profileOptions: Object
        propertiesLoaders: Array[12]
        quotationDocumentSequence: 3
        session: "0BB285BA40B287D5CD410FAB1ED51779"
        supportsOffline: true
        terminal: Object
        terminalName: "VBS-1"
        useBarcode: false
        warehouses: Array[2]
        windows: null
        writableOrganizations: Array[2]
        __proto__: Object
     
    The 'x-webkit-speech' input field attribute is deprecated. Please use the JavaScript API instead.
    Total time to log in: 4449



chrome://appcache-internals [^]


Manifest: http://localhost:8080/openbravo/org.openbravo.client.kernel/OBPOS_Main/AppCacheManifest?_appName=WebPOS [^]

Remove View Entries
Size: 9.5 kB
Creation Time: Thursday, August 28, 2014 20:10:11 PM
Last Update Time: Friday, August 29, 2014 8:54:23 AM
Last Access Time: Friday, August 29, 2014 9:10:43 AM

Flags URL Size (headers and data)
Manifest, http://localhost:8080/openbravo/org.openbravo.client.kernel/OBPOS_Main/AppCacheManifest?_appName=WebPOS [^] 316 B
Master, http://localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=CMS-1 [^] 4.6 kB
Master, http://localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1 [^] 4.6 kB
Revision 2014-08-29 09:07 by Orekaria
Description Sometimes the business partner is empty when the WebPOS loads. This seems to happen only the first time the WebPOS loads.


Console trace when happens:

    Adding master entry to Application Cache with manifest http://localhost:8080/openbravo/org.openbravo.client.kernel/OBPOS_Main/AppCacheManifest?_appName=WebPOS [^] localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1:1
    Application Cache NoUpdate event localhost:8080/openbravo/web/org.openbravo.retail.posterminal/?terminal=VBS-1:1
    'webkitRequestAnimationFrame' is vendor-specific. Please use the standard 'requestAnimationFrame' instead.
    'webkitCancelRequestAnimationFrame' is vendor-specific. Please use the standard 'cancelAnimationFrame' instead.
    OB.UTIL.Debug 0.1 is available
    Deprecated (since RR14Q4.0): OB.UTILS namespace has been removed
    TestRegistry 1.0.2 is available
    Failed to load resource: the server responded with a status of 401 (Unauthorized) http://localhost:8080/openbravo/org.openbravo.mobile.core.service.jsonrest/ [^]…value%22:true,%22type%22:%22boolean%22%7D%7D,%22appName%22:%22WebPOS%22%7D
    Starting to load properties based on properties loaders
    Array[12]
     http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2964: [^]
    Loading... terminal http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17079:1 [^]
    Loading... context http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17142:1 [^]
    loading... payments http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17159:1 [^]
    loading... cashMgmtDepositEvents
    loading... cashMgmtDropEvents
    loading... businesspartner http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17202:1 [^]
    loading... location http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17217:1 [^]
    loading... pricelist http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17231:1 [^]
    loading... warehouses http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17245:1 [^]
    loading... writableOrganizations http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17262:1 [^]
    loading... pricelistversion http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17276:1 [^]
    loading... currency http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:17294:1 [^]
    "context" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "writableOrganizations" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "location" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "pricelist" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "businesspartner" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "warehouses" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "cashMgmtDepositEvents" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "cashMgmtDropEvents" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "pricelistversion" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "currency" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "payments" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    "terminal" "is/are loaded" "http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:2931:" [^]
    DiscountFilterBusinessPartner is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterBusinessPartnerGroup is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterProductCategory is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterProduct is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    TaxRate is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    Discount is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    DiscountFilterRole is/are loaded http://localhost:8080/openbravo/web/js/gen/5c49b50dd84da3791191799b11c2d010.js:1952:1 [^]
    properties has been loaded successfully:
        appDisplayName: "Openbravo Mobile"
        appModuleId: "FF808181326CC34901326D53DBCF0018"
        appName: "WebPOS"
        applicationFormatUrl: "../../org.openbravo.client.kernel/OBPOS_Main/ApplicationFormats"
        businesspartner: "ABD91C9D3BC94175B876FBBE9CACA008"
        cashMgmtDepositEvents: Array[1]
        cashMgmtDropEvents: Array[2]
        connectedToERP: true
        context: Object
        currency: Object
        dataSyncModels: Array[5]
        documentsequence: 84
        isDisableDiscount: false
        isLoggingIn: false
        lastPaneShown: "scan"
        localDB: Object
        location: Object
        logConfiguration: Object
        logDBStmtThreshold: 1000
        logDBTrxThreshold: 300
        loggedOffline: false
        loginHandlerUrl: "../../org.openbravo.retail.posterminal/POSLoginHandler"
        loginUtilsParams: Object
        loginUtilsUrl: "../../org.openbravo.retail.posterminal.service.loginutils"
        logoutUrlParams: Object
        orgUserId: "3073EDF96A3C42CC86C7069E379522D2"
        paymentcash: "OBPOS_payment.cash"
        payments: Array[4]
        permissions: Object
        pricelist: Object
        pricelistversion: Object
        profileOptions: Object
        propertiesLoaders: Array[12]
        quotationDocumentSequence: 3
        session: "0BB285BA40B287D5CD410FAB1ED51779"
        supportsOffline: true
        terminal: Object
        terminalName: "VBS-1"
        useBarcode: false
        warehouses: Array[2]
        windows: null
        writableOrganizations: Array[2]
        __proto__: Object
     
    The 'x-webkit-speech' input field attribute is deprecated. Please use the JavaScript API instead.
    Total time to log in: 4449
Revision 2014-08-26 18:37 by Orekaria
Steps To Reproduce In a terminal that is suffering this behaviour

Clear cache and log into the WebPOS

Verify an empty business partner is shown
Revision 2014-08-26 18:37 by Orekaria
Description Sometimes the business partner is empty when the WebPOS loads. This seems to happen only the first time the WebPOS loads.
Revision 2014-08-23 14:44 by Orekaria
Steps To Reproduce In a terminal that is suffering this behavior (or change the code)
Create a ticket with the null business partner
Verify that the cashup can't be finished. Verify that the attached screenshot is shown.
Verify that in the taxCashup Web SQL table, an invalid record with 0 quantity have been created

Verify that in the Web SQL c_order table a ticket is still trying to be sent. JSON e.g:

{
  "hasbeenpaid": "N",
  "isbeingprocessed": "N",
  "id": "xxxxxxxxxx",
  "client": "xxxxxxxxxxxx",
  "organization": "xxxxxxxxxxx",
  "createdBy": "xxxxxxxxxxx",
  "updatedBy": "xxxxxxxxxxxx",
  "documentType": "xxxxxxxxxxxxxx",
  "orderType": 0,
  "generateInvoice": false,
  "isQuotation": false,
  "oldId": null,
  "priceList": "xxxxxxxxxxxx",
  "priceIncludesTax": true,
  "currency": "121",
  "currency$_identifier": "xxxxxxxxx",
  "session": "xxxxxxxxxxxxxxxxx",
  "warehouse": "xxxxxxxxxxxxx",
  "salesRepresentative": "xxxxxxxxxxxx",
  "salesRepresentative$_identifier": "xxxxxxxxxxx",
  "posTerminal": "xxxxxxxxxxxxxxxxx",
  "posTerminal$_identifier": "xxxxxxxxxxxxxxx",
  "orderDate": "2014-08-23T09:10:50.930Z",
  "documentNo": "xxxxxxxxxxxx/0000062",
  "bp": {
    "id": "xxxxxxxxxxxxx",
    "organization": "xxxxxxxxxxxxx",
    "searchKey": "xxxxxxxxx - Anonymous Customer",
    "_identifier": "xxxxxxxxxx - Anonymous Customer",
    "name": "xxxxxxxxx - Anonymous Customer",
    "description": null,
    "taxID": null,
    "taxCategory": null,
    "paymentMethod": "xxxxxxxxxxxxxxx",
    "paymentTerms": "xxxxxxxxxxx",
    "priceList ": "undefined",
    "invoiceTerms": "I",
    "locId": "xxxxxxxxxxxxxxxx",
    "locName": "xxxxxxxxxxxxxxx",
    "postalCode": null,
    "cityName": null,
    "countryName": "xxxxxxxxxxxxx",
    "contactId": null,
    "phone": null,
    "email": null,
    "businessPartnerCategory": "xxxxxxxxxxxxxxxx",
    "businessPartnerCategory_name": "xxxxxxxxxxxxx",
    "creditLimit": 0,
    "creditUsed": 0,
    "taxExempt": false,
    "undefined": "xxxxxxxxxxxxx - Anonymous Customer###null###null###null###",
    "_idx": 0
  },
  "lines": [],
  "payments": [],
  "payment": 0,
  "change": 0,
  "qty": 0,
  "gross": 0,
  "net": 60,
  "taxes": {},
  "description": "",
  "print": true,
  "sendEmail": false,
  "isPaid": false,
  "paidOnCredit": false,
  "isLayaway": false,
  "isEditable": true,
  "openDrawer": false,
  "totalamount": null,
  "approvals": [{
    "approvalType": "OBPOS_approval.deleteLine",
    "userContact": "xxxxxxxxxxxx",
    "created": 1408785214464
  }],
  "isNewReceipt": false,
  "timezoneOffset": -720,
  "created": 1408785050818,
  "obposCreatedabsolute": "2014-08-23 21:10:50.818",
  "pOSSBusinessDate": "2014-08-22T12:00:00.000Z",
  "obposAppCashup": "529EFDCBDF27845BEB40A11E704704CD"
}
Revision 2014-08-23 14:44 by Orekaria
Description Sometimes the business partner is null when the WebPOS loads the first time
If the user creates a sale with that ticket, the final cashup could not be done

Could be related because a patch was introduced and the uuid was not updated
Could be related to bad role configuration
Revision 2014-08-23 12:46 by Orekaria
Steps To Reproduce In a terminal that is suffering this behavior (or change the code)
Create a ticket with the null business partner
Verify that the cashup can't be finished. Verify that the attached screenshot is shown.
Verify that in the taxCashup Web SQL table, an invalid record with 0 quantity have been created

Verify that in the Web SQL c_order table a ticket is still trying to be sent. JSON e.g:

{
  "hasbeenpaid": "N",
  "isbeingprocessed": "N",
  "id": "1464674DB1BA6868B8AC1A40813AE7BD",
  "client": "3AFE04DCE6EE4C5A9912EDFF5517C3A7",
  "organization": "1B417F01D2C04C50AD08572DFD05EF40",
  "createdBy": "897B5F0E19054CD1ACD2F7B92BCD1CA8",
  "updatedBy": "897B5F0E19054CD1ACD2F7B92BCD1CA8",
  "documentType": "511A9371A0F74195AA3F6D66C722729D",
  "orderType": 0,
  "generateInvoice": false,
  "isQuotation": false,
  "oldId": null,
  "priceList": "11ADA54FBB07432DACD4BCBA41071F1E",
  "priceIncludesTax": true,
  "currency": "121",
  "currency$_identifier": "NZD",
  "session": "245D2EB21968B4DC588829A5AEAC49D9",
  "warehouse": "B26381938D784B139EB9D8E7E9C5A811",
  "salesRepresentative": "897B5F0E19054CD1ACD2F7B92BCD1CA8",
  "salesRepresentative$_identifier": "TOT1018",
  "posTerminal": "B3244DB7ABDD4A1C8A8493CB6D869390",
  "posTerminal$_identifier": "TOTAKL18",
  "orderDate": "2014-08-23T09:10:50.930Z",
  "documentNo": "TOTAKL18/0000062",
  "bp": {
    "id": "88A901FC26224C97B3728A58CCD55C7F",
    "organization": "1B417F01D2C04C50AD08572DFD05EF40",
    "searchKey": "TOTAKL - Anonymous Customer",
    "_identifier": "TOTAKL - Anonymous Customer",
    "name": "TOTAKL - Anonymous Customer",
    "description": null,
    "taxID": null,
    "taxCategory": null,
    "paymentMethod": "A8F4870CDD944D03BF5C6D8908D5FF9E",
    "paymentTerms": "74ACBFF20769499ABF4FAA992EA60012",
    "priceList ": "undefined",
    "invoiceTerms": "I",
    "locId": "8ACE72981609449BB0BBC991A4BEB5C8",
    "locName": "Wellington",
    "postalCode": null,
    "cityName": null,
    "countryName": "New Zealand",
    "contactId": null,
    "phone": null,
    "email": null,
    "businessPartnerCategory": "1510CEF464694A0E8A2BBEFB40ADF081",
    "businessPartnerCategory_name": "Regular Customers",
    "creditLimit": 0,
    "creditUsed": 0,
    "taxExempt": false,
    "undefined": "TOTAKL - Anonymous Customer###null###null###null###",
    "_idx": 0
  },
  "lines": [],
  "payments": [],
  "payment": 0,
  "change": 0,
  "qty": 0,
  "gross": 0,
  "net": 60,
  "taxes": {},
  "description": "",
  "print": true,
  "sendEmail": false,
  "isPaid": false,
  "paidOnCredit": false,
  "isLayaway": false,
  "isEditable": true,
  "openDrawer": false,
  "totalamount": null,
  "approvals": [{
    "approvalType": "OBPOS_approval.deleteLine",
    "userContact": "897B5F0E19054CD1ACD2F7B92BCD1CA8",
    "created": 1408785214464
  }],
  "isNewReceipt": false,
  "timezoneOffset": -720,
  "created": 1408785050818,
  "obposCreatedabsolute": "2014-08-23 21:10:50.818",
  "pOSSBusinessDate": "2014-08-22T12:00:00.000Z",
  "obposAppCashup": "529EFDCBDF27845BEB40A11E704704CD"
}
Revision 2014-08-23 12:44 by Orekaria
Steps To Reproduce In a terminal that is suffering this behavior (or change the code)
Create a ticket with the null business partner
Verify that the cashup can't be finished

Verify that in the Web SQL c_order table a ticket is still trying to be sent. JSON e.g:

{
  "hasbeenpaid": "N",
  "isbeingprocessed": "N",
  "id": "1464674DB1BA6868B8AC1A40813AE7BD",
  "client": "3AFE04DCE6EE4C5A9912EDFF5517C3A7",
  "organization": "1B417F01D2C04C50AD08572DFD05EF40",
  "createdBy": "897B5F0E19054CD1ACD2F7B92BCD1CA8",
  "updatedBy": "897B5F0E19054CD1ACD2F7B92BCD1CA8",
  "documentType": "511A9371A0F74195AA3F6D66C722729D",
  "orderType": 0,
  "generateInvoice": false,
  "isQuotation": false,
  "oldId": null,
  "priceList": "11ADA54FBB07432DACD4BCBA41071F1E",
  "priceIncludesTax": true,
  "currency": "121",
  "currency$_identifier": "NZD",
  "session": "245D2EB21968B4DC588829A5AEAC49D9",
  "warehouse": "B26381938D784B139EB9D8E7E9C5A811",
  "salesRepresentative": "897B5F0E19054CD1ACD2F7B92BCD1CA8",
  "salesRepresentative$_identifier": "TOT1018",
  "posTerminal": "B3244DB7ABDD4A1C8A8493CB6D869390",
  "posTerminal$_identifier": "TOTAKL18",
  "orderDate": "2014-08-23T09:10:50.930Z",
  "documentNo": "TOTAKL18/0000062",
  "bp": {
    "id": "88A901FC26224C97B3728A58CCD55C7F",
    "organization": "1B417F01D2C04C50AD08572DFD05EF40",
    "searchKey": "TOTAKL - Anonymous Customer",
    "_identifier": "TOTAKL - Anonymous Customer",
    "name": "TOTAKL - Anonymous Customer",
    "description": null,
    "taxID": null,
    "taxCategory": null,
    "paymentMethod": "A8F4870CDD944D03BF5C6D8908D5FF9E",
    "paymentTerms": "74ACBFF20769499ABF4FAA992EA60012",
    "priceList ": "undefined",
    "invoiceTerms": "I",
    "locId": "8ACE72981609449BB0BBC991A4BEB5C8",
    "locName": "Wellington",
    "postalCode": null,
    "cityName": null,
    "countryName": "New Zealand",
    "contactId": null,
    "phone": null,
    "email": null,
    "businessPartnerCategory": "1510CEF464694A0E8A2BBEFB40ADF081",
    "businessPartnerCategory_name": "Regular Customers",
    "creditLimit": 0,
    "creditUsed": 0,
    "taxExempt": false,
    "undefined": "TOTAKL - Anonymous Customer###null###null###null###",
    "_idx": 0
  },
  "lines": [],
  "payments": [],
  "payment": 0,
  "change": 0,
  "qty": 0,
  "gross": 0,
  "net": 60,
  "taxes": {},
  "description": "",
  "print": true,
  "sendEmail": false,
  "isPaid": false,
  "paidOnCredit": false,
  "isLayaway": false,
  "isEditable": true,
  "openDrawer": false,
  "totalamount": null,
  "approvals": [{
    "approvalType": "OBPOS_approval.deleteLine",
    "userContact": "897B5F0E19054CD1ACD2F7B92BCD1CA8",
    "created": 1408785214464
  }],
  "isNewReceipt": false,
  "timezoneOffset": -720,
  "created": 1408785050818,
  "obposCreatedabsolute": "2014-08-23 21:10:50.818",
  "pOSSBusinessDate": "2014-08-22T12:00:00.000Z",
  "obposAppCashup": "529EFDCBDF27845BEB40A11E704704CD"
}
Revision 2014-08-23 12:44 by Orekaria
Description Sometimes the business partner is null when the WebPOS loads the first time
If the user creates a sale with that ticket, the final cashup could not be done

Revision 2014-08-23 12:40 by Orekaria
Steps To Reproduce In a terminal that is suffering this behavior (or change the code)
Create a ticket with the null business partner
Verify that the cashup can't be finished
Revision 2014-08-23 12:40 by Orekaria
Description Sometimes the business partner is null when the WebPOS loads the first time
If the user creates a sale with that ticket, the final cashup could not be done


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker