SmartPOS 3.1 release: First OSGI Plug-in 100% decoupled release (SQL + packouts + configuration guide)

1,138 views
Skip to first unread message

Pedro Rozo

unread,
May 16, 2015, 10:24:32 AM5/16/15
to idem...@googlegroups.com
We are glad to announce the availability of our new SmartPOS 3.1 release (an Advanced OSGI Plugín for Idempiere ERP)

First 100% decoupled release (SQL + packouts + configuration guide) so existent idempiere 2.1 users can install it on their current ERP. (Still under heavy testing)
                    Note: Please understand the massive amount of changes on top of the Idempiere  Active dictionary.

Additional Functionality on top of 3.0 release.  
 
Improve performance for the bulk loading process (medicines).
Support to ERP promotions (4 x 3, items free and so on)
Add note field (edit POS items) and send to the bar 
Add to the build load, a new field to specify minimum number of stock (for replenishment)  
Additional spreadsheet field for the  bulk loading process to support active/inactive products .
New window to see tickets in progress (read only) before the first screen (query tickets)
Enabled tab inside pharmacy business partner to see discount per customer ...  
Visualization of product images (small - right side of product) and big , when clicking the small one
Support customer discount  (SMartPOS transactions) (depot use case)
New Credit remaining field (right side of customer info)
New options to speed up remote invoice POS printing (without print preview)
Report with m_storage for quantity < less than x ....  (easy access) 
New transparent integration with SmartLoyalty (Loyalty points system for POS soon) 




Soon..Videos, Integration with SmartLoyalty, Windows installers, Roadmap for 2015, more functional enhancements.

Thanks to our U.S.sponsor RapidCorp so we can share this project with the open soruce community, there is a lot of dev, test effort to support online use case within the reail industry (Pharmacies, restaurants and so on).


Regards from Bogotá, Colombia,

Pedro Rozo & SmartJSP Team.
Stay tuned at: twitter: @smartjspnews

Hiep Lq

unread,
May 22, 2015, 7:27:05 AM5/22/15
to idem...@googlegroups.com
Hi Pedro.
i get your code and build it with latest 2.1 idempiere.
has a compiler error is class SmartErpDesktop don't has method updateHelpTooltip
please help me check it.

Hiep Lq

unread,
May 22, 2015, 11:01:49 PM5/22/15
to idem...@googlegroups.com

Hi Pedro.

When i run idempiere 2.1 with your plug-in i face a NPE. log is post at end.
this issue is by smartposListener is load first, and it use some new configuration ad by other plug-in or must add manual by implimentor

static String url = MSysConfig.getValue("SMJ-URLQUEUE").trim();
static String mquser = MSysConfig.getValue("SMJ-USERQUEUE").trim();
static String mqpasswd = MSysConfig.getValue("SMJ-PWDQUEUE").trim();

!ENTRY org.smartjsp.smartposListener 4 0 2015-05-23 09:50:03.816
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Exception in org.smj.main.POSActivator.start() of bundle org.smartjsp.smartposListener.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:734)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:683)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:381)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:389)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1131)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:559)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:544)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:457)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:243)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:438)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.dispatchEvent(StartLevelManager.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
Caused by: java.lang.ExceptionInInitializerError
at org.smj.main.POSActivator.start(POSActivator.java:21)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)
... 12 more
Caused by: java.lang.NullPointerException
at org.smj.main.MQEndPoint.<clinit>(MQEndPoint.java:21)
... 16 more

Hiep Lq

unread,
May 22, 2015, 11:17:52 PM5/22/15
to idem...@googlegroups.com
seem org.smartjsp.smartposListener is a deprecate plug-in.
i can run other without org.smartjsp.smartposListener.

Hiep Lq

unread,
May 23, 2015, 9:35:17 AM5/23/15
to idem...@googlegroups.com

Hi Pedro. I meet some issue with 2Pack as below:

1+ smartpos3-2_1 is dependency with LCO.withholdings plug-in. not sure it's mandatory or mistake when pack out.

Installing org.smartjsp.smartposWeb /META-INF/2Pack_smartpos3-2_1.0.0.zip ...
May 23, 2015 3:26:32 PM org.compiere.util.Trx commit
SEVERE: Trx_a4db8a4f-ed9e-474e-bfe5-bd43a966c7f2
org.postgresql.util.PSQLException: ERROR: insert or update on table "ad_element" violates foreign key constraint "entityt_adelement"
  Detail: Key (entitytype)=(QSS_LCO) is not present in table "ad_entitytype".

2+ entity smart pos is create by loyalty not by smartpos3, but as i know smartpos3 is main.

3+ smartpos3-2_1.0.0 can't pack-in because some new mandatory column hasn't default value. but table has old data (at least data of gardern work)
example: smjdiscount_allowed, smjcovered,.. of table M_Product.

Pedro Rozo

unread,
May 23, 2015, 12:12:51 PM5/23/15
to idem...@googlegroups.com
Hi Hiep...Thanks for your detailed reports, but please use the technical forums at source forge, 


we will be glad to include suggestions, fixes and suggestion in future releases.

Regards,

Pedro R.

Hiep Lq

unread,
May 24, 2015, 1:14:55 AM5/24/15
to Mohemmed Bilal Ilyas
My friend want test your job, because i fixed something for hotfix to use.
just share here for other.
next time i will use smart pos forum. before time i can't find out where log issue.


1. install org.globalqss.idempiere.LCO.withholdings_2.1.1.201505232002
2. install  org.smartjsp.loyalty_1.0.0.201505232002.jar
3. install org.smartjsp.smartposWeb_1.0.0.201505232002.jar
4. manual pack-in modifyed 2pack of smartposWeb_1 at packouts folder. 
modify just remove mandatory at 2Pack_smartpos3-2_1.0.0


--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/b897e60f-f582-480e-9bea-f964445f57f5%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Lê Quý Hiệp
Email: hie...@hasuvimex.vn
Skype: admin.hasuvimex
Mobile: 0915277401

Company: Thanh Hoa Fishery Import - Export J.s.c  (HasuvimexDL 47
Add: Lot E, Le Mon Industrial Zone, Thanh Hoa, Vietnam

Carlos Collazos

unread,
May 24, 2015, 8:49:13 PM5/24/15
to idem...@googlegroups.com
Hi Hiep:

​Thanks for posting your findings in this forum since most of us use it daily with things related to Idempiere. I had the same problems you found but I did not have the time to try to ask for an answer or try to find one.

What I do not understand clearly is you last sentence in step 4 "...modify just remove mandatory at 2Pack_smartpos3-2_1.0.0", could you please explain a little bit more? We newbies sometimes find hard to follow instructions.

Thank you very much.

---------------------------------
Carlos Collazos
coll...@gmail.com
----------------------------------

Hiep Lq

unread,
May 24, 2015, 9:34:52 PM5/24/15
to idem...@googlegroups.com

Hi Carlos.
2Pack exact is xm file, just open zip file and find PackOut.xml and edit it for suitable value and re-zip it. (this is auto in ubuntu mint and maybe other linux)

some column packout with mandatory = true and non default value. so i edit xml to set a default value of boolean column = false and other column set mandatory = false.
for column set  mandatory = false, after packin you can use AD to reset mandatory = true. but for test it's not need.

Carlos Collazos

unread,
May 24, 2015, 9:36:59 PM5/24/15
to idem...@googlegroups.com
Great, thank you very much. I will test it.

Greetings,

---------------------------------
Carlos Collazos
coll...@gmail.com
----------------------------------

Osmar Benavidez

unread,
May 28, 2015, 1:26:55 PM5/28/15
to idem...@googlegroups.com
Hi Hieq Lq, I followed your instructions and i don't get it goal, idempiere said "Failed to saved Element ISIC" when i run packIn.

this is the full log:
-------------------------------
21:23:51.343 CommonTranslationHandler.startElement: AD_Element_Trl Compañía Aseguradora [64]
21:23:51.352 PackInHandler.processElement: Processed: AD_Element_Trl - translation [64]
21:23:51.359 PackInHandler.processElement: Processed: AD_Element_Trl - translation [64]
21:23:51.359 PackInHandler.processElement: Processed: AD_Element - table [64]
21:23:51.460 PackInHandler.processElement: Processed: AD_Column - table [64]
21:23:51.473 CommonTranslationHandler.startElement: AD_Element_Trl ID Nacional [64]
21:23:51.475 PackInHandler.processElement: Processed: AD_Element_Trl - translation [64]
21:23:51.479 PackInHandler.processElement: Processed: AD_Element_Trl - translation [64]
21:23:51.479 PackInHandler.processElement: Processed: AD_Element - table [64]
21:23:51.581 PackInHandler.processElement: Processed: AD_Column - table [64]
21:23:51.597===========> M_Element.saveError: SaveErrorNotUnique - Nombre de Columna en BD [64]
-------------------------------
21:23:51.597-----------> M_Element.save: beforeSave failed - M_Element[0-LCO_ISIC_ID] [64]
21:23:51.598 Trx.rollback: **** SvrProcess_e2338174-5b78-405d-900d-cefeb96121ae [64]
21:23:51.598===========> X_AD_Package_Imp_Detail.saveError: FillMandatory - AD_Original_ID is mandatory. [64]
-------------------------------
21:23:51.624 Trx.commit: **** POSaveAD_Package_Imp_c664929c-320a-49b4-bc54-e32b719f2925 [64]
21:23:51.624===========> PackIn.importXML: importXML: [64]
org.adempiere.pipo2.exception.POSaveFailedException: Failed to save Element ISIC
at org.adempiere.pipo2.handler.AdElementHandler.startElement(AdElementHandler.java:92)
at org.adempiere.pipo2.PackInHandler.processElement(PackInHandler.java:226)
at org.adempiere.pipo2.PackInHandler.processElement(PackInHandler.java:234)
at org.adempiere.pipo2.PackInHandler.processElement(PackInHandler.java:234)
at org.adempiere.pipo2.PackInHandler.processElement(PackInHandler.java:234)
at org.adempiere.pipo2.PackInHandler.endElement(PackInHandler.java:303)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:195)
at org.adempiere.pipo2.PackIn.importXML(PackIn.java:168)
at org.adempiere.pipo2.PackIn.importXML(PackIn.java:131)
at org.adempiere.pipo2.PackInProcess.doIt(PackInProcess.java:139)
at org.compiere.process.SvrProcess.process(SvrProcess.java:198)
at org.compiere.process.SvrProcess.startProcess(SvrProcess.java:144)

-------------------------------
21:23:51.734 Trx.commit: **** POSaveAD_Issue_7373edd3-f72b-4e5e-b2d0-65f5ae64e2dd [64]
21:23:51.734===========> PackIn.importXML: importXML: [64]
java.lang.RuntimeException: Failed to save Element ISIC
at org.adempiere.pipo2.PackIn.importXML(PackIn.java:179)
at org.adempiere.pipo2.PackIn.importXML(PackIn.java:131)
at org.adempiere.pipo2.PackInProcess.doIt(PackInProcess.java:139)
at org.compiere.process.SvrProcess.process(SvrProcess.java:198)
at org.compiere.process.SvrProcess.startProcess(SvrProcess.java:144)
at org.adempiere.util.ProcessUtil.startJavaProcess(ProcessUtil.java:172)
at org.compiere.apps.AbstractProcessCtl.startProcess(AbstractProcessCtl.java:466)
at org.compiere.apps.AbstractProcessCtl.run(AbstractProcessCtl.java:234)
at org.adempiere.webui.apps.WProcessCtl.process(WProcessCtl.java:170)
at org.adempiere.webui.apps.AbstractProcessDialog$ProcessDialogRunnable.doRun(AbstractProcessDialog.java:629)
at org.adempiere.util.ContextRunnable.run(ContextRunnable.java:38)
at org.adempiere.webui.apps.DesktopRunnable.run(DesktopRunnable.java:40)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:679)
caused by: org.adempiere.pipo2.exception.POSaveFailedException: Failed to save Element ISIC
at org.adempiere.pipo2.handler.AdElementHandler.startElement(AdElementHandler.java:92)
at org.adempiere.pipo2.PackInHandler.processElement(PackInHandler.java:226)
at org.adempiere.pipo2.PackInHandler.processElement(PackInHandler.java:234)
at org.adempiere.pipo2.PackInHandler.processElement(PackInHandler.java:234)
at org.adempiere.pipo2.PackInHandler.processElement(PackInHandler.java:234)
at org.adempiere.pipo2.PackInHandler.endElement(PackInHandler.java:303)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:195)
at org.adempiere.pipo2.PackIn.importXML(PackIn.java:168)
at org.adempiere.pipo2.PackIn.importXML(PackIn.java:131)
at org.adempiere.pipo2.PackInProcess.doIt(PackInProcess.java:139)
at org.compiere.process.SvrProcess.process(SvrProcess.java:198)
at org.compiere.process.SvrProcess.startProcess(SvrProcess.java:144)

-------------------------------
21:23:51.834 Trx.commit: **** POSaveAD_Issue_4977f0a4-c32c-4629-8b21-fdcd3b9655b2 [64]
21:23:51.834===========> PackInProcess.process: Failed to save Element ISIC [64]
org.adempiere.pipo2.exception.POSaveFailedException: Failed to save Element ISIC
at org.adempiere.pipo2.handler.AdElementHandler.startElement(AdElementHandler.java:92)
at org.adempiere.pipo2.PackInHandler.processElement(PackInHandler.java:226)
at org.adempiere.pipo2.PackInHandler.processElement(PackInHandler.java:234)
at org.adempiere.pipo2.PackInHandler.processElement(PackInHandler.java:234)
at org.adempiere.pipo2.PackInHandler.processElement(PackInHandler.java:234)
at org.adempiere.pipo2.PackInHandler.endElement(PackInHandler.java:303)
at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:195)
at org.adempiere.pipo2.PackIn.importXML(PackIn.java:168)
at org.adempiere.pipo2.PackIn.importXML(PackIn.java:131)
at org.adempiere.pipo2.PackInProcess.doIt(PackInProcess.java:139)
at org.compiere.process.SvrProcess.process(SvrProcess.java:198)
at org.compiere.process.SvrProcess.startProcess(SvrProcess.java:144)

Hiep Lq

unread,
May 29, 2015, 10:40:51 AM5/29/15
to idem...@googlegroups.com
Hi Osmar.
I run in a clean install of idempiere-2.1
seem your server has installed a other LCO plug-in.
as my test 2Pack of some lco conflict each other.

Osmar Benavidez

unread,
May 29, 2015, 11:10:58 AM5/29/15
to idem...@googlegroups.com
that's exactly what I did, and worked, but when i try to open de SmartPOS window, idempiere throw "Failed to open com.smj.webui.apps.form.WSimplifiedSales",
Idempiere doesn't find that class java, I uninstall and install all again, and nothing,throw the same error

any idea?....


entired log:

-------------------------------
09:08:03.925 LCO_ValidatorWH.doHandleEvent: Type: adempiere/afterLogin [19]
09:08:10.592-----------> PosFormFactory.newFormInstance: null [20]
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:443)
at java.lang.Integer.parseInt(Integer.java:514)
at com.smj.webui.apps.form.WSimplifiedSales.<init>(WSimplifiedSales.java:133)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:534)
at java.lang.Class.newInstance(Class.java:379)
at org.smj.webui.factory.PosFormFactory.newFormInstance(PosFormFactory.java:32)
at org.adempiere.webui.Extensions.getForm(Extensions.java:46)
at org.adempiere.webui.panel.ADForm.openForm(ADForm.java:154)
at org.adempiere.webui.panel.ADForm.openForm(ADForm.java:136)
at org.adempiere.webui.desktop.TabbedDesktop.openForm(TabbedDesktop.java:88)
at org.adempiere.webui.desktop.DefaultDesktop.openForm(DefaultDesktop.java:713)
at org.adempiere.webui.desktop.AbstractDesktop.onMenuSelected(AbstractDesktop.java:76)
at org.adempiere.webui.desktop.DefaultDesktop.onMenuSelected(DefaultDesktop.java:753)
at org.adempiere.webui.panel.AbstractMenuPanel.fireMenuSelectedEvent(AbstractMenuPanel.java:302)
at org.adempiere.webui.panel.AbstractMenuPanel.doOnClick(AbstractMenuPanel.java:251)
at org.adempiere.webui.panel.AbstractMenuPanel.onEvent(AbstractMenuPanel.java:225)
at org.adempiere.webui.panel.MenuTreePanel.onEvent(MenuTreePanel.java:116)
at org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2742)

09:08:10.594-----------> DefaultFormFactory.newFormInstance: Web UI form not implemented for the swing form com.smj.webui.apps.form.WSimplifiedSales [20]
09:08:10.596===========> zkoss.handleError:1359: >>org.adempiere.webui.exception.ApplicationException: Failed to open com.smj.webui.apps.form.WSimplifiedSales
>>org.adempiere.webui.exception.ApplicationException: Failed to open com.smj.webui.apps.form.WSimplifiedSales
>> at org.adempiere.webui.panel.ADForm.openForm(ADForm.java:163)
>> at org.adempiere.webui.panel.ADForm.openForm(ADForm.java:136)
>> at org.adempiere.webui.desktop.TabbedDesktop.openForm(TabbedDesktop.java:88)
>> at org.adempiere.webui.desktop.DefaultDesktop.openForm(DefaultDesktop.java:713)
>> at org.adempiere.webui.desktop.AbstractDesktop.onMenuSelected(AbstractDesktop.java:76)
>> at org.adempiere.webui.desktop.DefaultDesktop.onMenuSelected(DefaultDesktop.java:753)
>> at org.adempiere.webui.panel.AbstractMenuPanel.fireMenuSelectedEvent(AbstractMenuPanel.java:302)
>> at org.adempiere.webui.panel.AbstractMenuPanel.doOnClick(AbstractMenuPanel.java:251)
>> at org.adempiere.webui.panel.AbstractMenuPanel.onEvent(AbstractMenuPanel.java:225)
>> at org.adempiere.webui.panel.MenuTreePanel.onEvent(MenuTreePanel.java:116)
>> at org.zkoss.zk.ui.AbstractComponent.onEvent(AbstractComponent.java:2742)
>> at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2713)
>> at org.zkoss.zk.ui.AbstractComponent.service(AbstractComponent.java:2654)
>> at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:136)
>> at org.zkoss.zk.ui.impl.UiEngineImpl.processEvent(UiEngineImpl.java:1717)
>> at org.zkoss.zk.ui.impl.UiEngineImpl.process(UiEngineImpl.java:1502)
>> at org.zkoss.zk.ui.impl.UiEngineImpl.execUpdate(UiEngineImpl.java:1212)
>> at org.zkoss.zk.au.http.DHtmlUpdateServlet.process(DHtmlUpdateServlet.java:600)
>> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doGet(DHtmlUpdateServlet.java:482)
>> at org.zkoss.zk.au.http.DHtmlUpdateServlet.doPost(DHtmlUpdateServlet.java:491)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:755)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>> at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:304)
>> at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
>> at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
>> at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
>> at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
>> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:151)
>> at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:100)
>> at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
>> at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:405)
>> at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:269)
>> at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:515)
>> at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:302)
>> at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
>> at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>> at java.lang.Thread.run(Thread.java:701)
 [20]


thanks in advance

--
You received this message because you are subscribed to a topic in the Google Groups "iDempiere" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/idempiere/veoFP2KOXTM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to idempiere+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/d0c90c0b-08cf-40a8-90bb-0e0d67b00425%40googlegroups.com.

Osmar Benavidez

unread,
May 29, 2015, 11:22:02 AM5/29/15
to idem...@googlegroups.com
the error its seems to be that  installed swing version, but i use the jar version that you have in drive.

Hiep Lq

unread,
May 29, 2015, 11:53:12 AM5/29/15
to idem...@googlegroups.com
i believe that, you don't setup all configuration for POS.
for function, as Pedro advice, i think POS forum is more suitable where for discus.

Osmar Benavidez

unread,
May 29, 2015, 12:02:24 PM5/29/15
to idem...@googlegroups.com
 thank you for answering quickly, I'll check.
...

Osmar Benavidez

unread,
May 29, 2015, 3:41:22 PM5/29/15
to idem...@googlegroups.com
Hi again, i did all configuration step by step, at least idempiere renonize the plugin, but thow exception  java.lang.NumberFormatException: null, because the system doesn't find a configuration variable call "SMJ_POSCheckOpenOrdersTime", the question is if i created de variable system, what value and the field value it'll be set.?

13:33:54.969 LCO_ValidatorWH.doHandleEvent: Type: adempiere/afterLogin [40]
13:33:59.652===========> SimplifiedSales.<init>: WSimplifiedSales constructor error [16]
java.lang.NumberFormatException: null
at java.lang.Integer.parseInt(Integer.java:443)
at java.lang.Integer.parseInt(Integer.java:514)
at com.smj.webui.component.SMJOpenTickets.runTimer(SMJOpenTickets.java:157)
at com.smj.webui.component.SMJOpenTickets.<init>(SMJOpenTickets.java:49)
at com.smj.webui.apps.form.WSimplifiedSales.initOpenTickets(WSimplifiedSales.java:701)
at com.smj.webui.apps.form.WSimplifiedSales.<init>(WSimplifiedSales.java:152)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:534)
at java.lang.Class.newInstance(Class.java:379)
at org.smj.webui.factory.PosFormFactory.newFormInstance(PosFormFactory.java:32)
at org.adempiere.webui.Extensions.getForm(Extensions.java:46)
at org.adempiere.webui.panel.ADForm.openForm(ADForm.java:154)
at org.adempiere.webui.panel.ADForm.openForm(ADForm.java:136)
at org.adempiere.webui.desktop.TabbedDesktop.openForm(TabbedDesktop.java:88)
at org.adempiere.webui.desktop.DefaultDesktop.openForm(DefaultDesktop.java:713)
at org.adempiere.webui.desktop.AbstractDesktop.onMenuSelected(AbstractDesktop.java:76)
at org.adempiere.webui.desktop.DefaultDesktop.onMenuSelected(DefaultDesktop.java:753)
at org.adempiere.webui.panel.AbstractMenuPanel.fireMenuSelectedEvent(AbstractMenuPanel.java:302)
at org.adempiere.webui.panel.AbstractMenuPanel.doOnClick(AbstractMenuPanel.java:251)

El viernes, 29 de mayo de 2015, 9:53:12 (UTC-6), Hiep Lq escribió:
...

Hiep Lq

unread,
May 30, 2015, 7:57:01 AM5/30/15
to idem...@googlegroups.com
Hi Osmar.
Maybe search on all document of smart pos can help you or post your question in POS forum,
...

Hiep Lq

unread,
Jun 8, 2015, 4:05:09 AM6/8/15
to idem...@googlegroups.com
Hi Osmar Benavidez
how about your progress?
my friend again request me continue for his test. and i meet some issue.

1. c_order.smj_tmpWebSales_ID is miss when pack-out/pack-in. must manual add it (remember sync column).
2. SMJ-DEFAULTCUSTOMER must change to SMJ_DEFAULTCUSTOMER  (SMJ-  => SMJ_)
3. must add configuration for SMJ_POSCheckOpenOrdersTime, for test i set value same SMJ_POSCheckOrdersTime

...

Osmar Benavidez

unread,
Jun 9, 2015, 1:16:02 PM6/9/15
to idem...@googlegroups.com
Hi Hiep, finally  smart pos is running, not in 100% but it does,
these are some of the bugs that I found:

1.Document type there are in uppercases like : AR INVOICE, MM SHIPMENT (AR Invoice, MM Shipment)
2.smj_iswarrantyapplied,smj_iswarranty from smj_tmpwebsalesline table were  set mandatory=true (Mandatory=false, in database need to be change too, not null=false)
3.set Price List from Business Partner on the customer information group.

thank you very much.


--
You received this message because you are subscribed to a topic in the Google Groups "iDempiere" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/idempiere/veoFP2KOXTM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to idempiere+...@googlegroups.com.

Osmar Benavidez

unread,
Jun 22, 2015, 2:19:44 PM6/22/15
to idem...@googlegroups.com
Hi Hiep, i have a question for another topic.

I continue giving support adempiere, I've  created a custom form and now i want to alternate row grid color, do you have any idea?.
...

Hiep Lq

unread,
Jun 24, 2015, 3:03:14 AM6/24/15
to idem...@googlegroups.com
Hi Osmar Benavidez,
It's zk component. just find in zk forum, has a lot info, also free ebook.
...

Pedro Rozo

unread,
Aug 3, 2015, 3:54:22 PM8/3/15
to iDempiere
Hi everyone, our answers to most of the Hiep´s topics included on this thread are here; https://sourceforge.net/p/smart-pos/discussion/technical/thread/528e3426/, for future topics focussed in SmartPOS, please use the sourcefourge forums, so we have a more organized approach for future users.  

Regards,

Pedro R
...

Carlos Antonio Ruiz Gomez

unread,
Aug 3, 2015, 4:16:45 PM8/3/15
to idem...@googlegroups.com
Pedro, let me answer one of the topics here as is from iDempiere, not from SmartPOS:

> and assuming hat Idempiere packout work flawlessly we have tried many times to packout our components,
> and installed them in isolated vanilla idempiere 2.1 but still now we have many issues that
> the packout files do not include or manage properly (info windows, traslation) and other that you have mentioned before.

2Pack manages properly translations.

Info Windows and any other object can be exported using the Data type.
The hassle when exporting with Data type is that you need to take care of exporting all the related children.

However, writing a new type for Info Window is not a big issue, we appreciate and try to push soon contributions expanding this - in terms of development it means writing some ElementHandler classes, is easy to get one of the existing (i.e. WindowElementHandler) as template and for example create InfoWindowElementHandler.

That makes easier the definition of the packout as you could just write the header and the class must take care of exporting the children, but again, without that class still any object can be exported, just you need more records on the data definition of the pack out.

Now, defining that the first time can be complex, so we have also recommended to save the 2pack definition - and in some plugins we even commit that packout definition to use it in future.  That's simple, you just navigate to the packout definition and push the export button and save it as 2pack format.

> So far we have discovered that packout does not support to move all the AD objects ...

As explained above, in principle any object (AD and functional too) can be moved using 2pack.
But of course this is software, never can be declared 100% free of flaws, so if anybody found an issue with 2pack we appreciate if you can take the time to report it.

Regards,

Carlos Ruiz

Pedro Rozo

unread,
Aug 3, 2015, 6:50:49 PM8/3/15
to iDempiere
Thanks for your feedback Carlos,  following your suggestion and in order to be more precise for bug analysis, we hope to prepare a more organized set of tests & issues and independent thread on this Google forum about this with packouts soon.  Including a new packout of the AD elements to packout .... 

Perhaps with that set, the newest enhancement of version of SmartPOS 3.2, additional testing, and some help from testers and developers together can help us to get tht process in an easier and more reliable way (so fas if tricky and non realiable)  so more people can take advantage of our R&D work ... 

Regards,

Pedro R
...

Bruno Carvalho

unread,
Aug 10, 2018, 7:53:20 AM8/10/18
to iDempiere
Hi Carlos,

 Related to that problem on packout translations from new windows, it still persists? I am exporting a menu that I created and some menu translations are not being exported.

Regards,
Bruno Carvalho.

Alejandro Guerra

unread,
Sep 25, 2020, 10:06:38 AM9/25/20
to iDempiere
Hi Pedro,

We are locking por the plugin Plugin: Smart Loyalty, can you update the link if is available?

Regards,

Alejandro Guerra

Vassili Kouleshov

unread,
Sep 27, 2020, 3:09:38 PM9/27/20
to iDempiere
Hi, I have a copy of the repo, I attach it below
Idempiere_Plugins-Sources_smartloyalty-6305389f64df.zip

Alejandro Jesus Guerra

unread,
Sep 27, 2020, 6:52:26 PM9/27/20
to idem...@googlegroups.com
Hi Vassili,

Thank a Lot .

Regards 

--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages