[jira] [Created] (OFBIZ-6336) Problem about return item in POS component

2015-05-06 Thread Hoan Dang Van (JIRA)
Hoan Dang Van created OFBIZ-6336:


 Summary: Problem about return item in POS component
 Key: OFBIZ-6336
 URL: https://issues.apache.org/jira/browse/OFBIZ-6336
 Project: OFBiz
  Issue Type: Bug
  Components: accounting, order, specialpurpose/pos
Affects Versions: Trunk
Reporter: Hoan Dang Van


In POS component, I bought  A, B product have price 50$ and 60$ respectively, 
then I return C product that price of it is 30$ and create order. The order has 
grand total is 80$. Howerver, When I check invoice of that order, I didn't saw 
that the C product is returned. 
Can everybody tell me how I solve that problem?
Thanks



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-5794) ATP not automatic decrease when a order is created

2014-11-24 Thread Hoan Dang Van (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-5794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hoan Dang Van closed OFBIZ-5794.

Resolution: Fixed

 ATP not automatic decrease when a order is created 
 ---

 Key: OFBIZ-5794
 URL: https://issues.apache.org/jira/browse/OFBIZ-5794
 Project: OFBiz
  Issue Type: Bug
  Components: order, product, specialpurpose/webpos
Affects Versions: Trunk
 Environment: Fedora 20
Reporter: Hoan Dang Van

 When I configure store in catalog component and i  selected  Is Immediately 
 Fulfilled Tab is N then i create a order by webpos. The order is completed 
 but when i check this order in order, i appear that the product that i buy, 
 have Qty Shipped status is 0 and Ship Request status is 2 (2 is quantity that 
 i bought in this order) 
 When i selected again  Is Immediately Fulfilled Tab is Y , Qty Shipped status 
 is 2 and Ship Request status is 0. Then i create a order by order component , 
 Order is created but ATP of product that i bought with this order, not 
 automatic decrease (equal before i bought )
 Can everybody tell me where i do wrong and how to fix it
 Thanks 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Reopened] (OFBIZ-5794) ATP not automatic decrease when a order is created

2014-11-24 Thread Hoan Dang Van (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-5794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hoan Dang Van reopened OFBIZ-5794:
--

 ATP not automatic decrease when a order is created 
 ---

 Key: OFBIZ-5794
 URL: https://issues.apache.org/jira/browse/OFBIZ-5794
 Project: OFBiz
  Issue Type: Bug
  Components: order, product, specialpurpose/webpos
Affects Versions: Trunk
 Environment: Fedora 20
Reporter: Hoan Dang Van

 When I configure store in catalog component and i  selected  Is Immediately 
 Fulfilled Tab is N then i create a order by webpos. The order is completed 
 but when i check this order in order, i appear that the product that i buy, 
 have Qty Shipped status is 0 and Ship Request status is 2 (2 is quantity that 
 i bought in this order) 
 When i selected again  Is Immediately Fulfilled Tab is Y , Qty Shipped status 
 is 2 and Ship Request status is 0. Then i create a order by order component , 
 Order is created but ATP of product that i bought with this order, not 
 automatic decrease (equal before i bought )
 Can everybody tell me where i do wrong and how to fix it
 Thanks 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-5794) ATP not automatic decrease when a order is created

2014-11-24 Thread Hoan Dang Van (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-5794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hoan Dang Van closed OFBIZ-5794.

Resolution: Not a Problem

 ATP not automatic decrease when a order is created 
 ---

 Key: OFBIZ-5794
 URL: https://issues.apache.org/jira/browse/OFBIZ-5794
 Project: OFBiz
  Issue Type: Bug
  Components: order, product, specialpurpose/webpos
Affects Versions: Trunk
 Environment: Fedora 20
Reporter: Hoan Dang Van

 When I configure store in catalog component and i  selected  Is Immediately 
 Fulfilled Tab is N then i create a order by webpos. The order is completed 
 but when i check this order in order, i appear that the product that i buy, 
 have Qty Shipped status is 0 and Ship Request status is 2 (2 is quantity that 
 i bought in this order) 
 When i selected again  Is Immediately Fulfilled Tab is Y , Qty Shipped status 
 is 2 and Ship Request status is 0. Then i create a order by order component , 
 Order is created but ATP of product that i bought with this order, not 
 automatic decrease (equal before i bought )
 Can everybody tell me where i do wrong and how to fix it
 Thanks 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-5834) Error during remove supplier product

2014-10-21 Thread Hoan Dang Van (JIRA)
Hoan Dang Van created OFBIZ-5834:


 Summary: Error during remove supplier product
 Key: OFBIZ-5834
 URL: https://issues.apache.org/jira/browse/OFBIZ-5834
 Project: OFBiz
  Issue Type: Bug
  Components: product
Affects Versions: Trunk
Reporter: Hoan Dang Van


When i remove supplier of product that has minimumOrderQuantity  is greater 0, 
there was have some error. I detected that when i selected language is the 
Vietnamese, that error appeared  and when i selected language is english , that 
error didn't occur




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (OFBIZ-5834) Error during remove supplier product

2014-10-21 Thread Hoan Dang Van (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-5834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hoan Dang Van updated OFBIZ-5834:
-
Description: 
When i remove supplier of product that has minimumOrderQuantity  is greater 0, 
there was have some error. I detected that when i selected language is the 
Vietnamese, that error appeared  and when i selected language is english , that 
error didn't occur
Can everyone help me fix this issue?


  was:
When i remove supplier of product that has minimumOrderQuantity  is greater 0, 
there was have some error. I detected that when i selected language is the 
Vietnamese, that error appeared  and when i selected language is english , that 
error didn't occur



 Error during remove supplier product
 

 Key: OFBIZ-5834
 URL: https://issues.apache.org/jira/browse/OFBIZ-5834
 Project: OFBiz
  Issue Type: Bug
  Components: product
Affects Versions: Trunk
Reporter: Hoan Dang Van

 When i remove supplier of product that has minimumOrderQuantity  is greater 
 0, there was have some error. I detected that when i selected language is the 
 Vietnamese, that error appeared  and when i selected language is english , 
 that error didn't occur
 Can everyone help me fix this issue?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Closed] (OFBIZ-5834) Error during remove supplier product

2014-10-21 Thread Hoan Dang Van (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-5834?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hoan Dang Van closed OFBIZ-5834.

Resolution: Duplicate

Sorry for raise this issue. I appeared that it duplicated with 
https://issues.apache.org/jira/browse/OFBIZ-4769

 Error during remove supplier product
 

 Key: OFBIZ-5834
 URL: https://issues.apache.org/jira/browse/OFBIZ-5834
 Project: OFBiz
  Issue Type: Bug
  Components: product
Affects Versions: Trunk
Reporter: Hoan Dang Van

 When i remove supplier of product that has minimumOrderQuantity  is greater 
 0, there was have some error. I detected that when i selected language is the 
 Vietnamese, that error appeared  and when i selected language is english , 
 that error didn't occur
 Can everyone help me fix this issue?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-5825) Create a product that include some items

2014-10-18 Thread Hoan Dang Van (JIRA)
Hoan Dang Van created OFBIZ-5825:


 Summary: Create a product that include some items
 Key: OFBIZ-5825
 URL: https://issues.apache.org/jira/browse/OFBIZ-5825
 Project: OFBiz
  Issue Type: Wish
  Components: product
Reporter: Hoan Dang Van


Hi everyone
I want to create a product that includes some items but i don't want customer 
to select items when they buy products (When customer select that product, 
which  are  included in it will be  automatically  added to cart)
How can i do this ?
Thank all!



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-5794) ATP not automatic decrease when a order is created

2014-10-01 Thread Hoan Dang Van (JIRA)
Hoan Dang Van created OFBIZ-5794:


 Summary: ATP not automatic decrease when a order is created 
 Key: OFBIZ-5794
 URL: https://issues.apache.org/jira/browse/OFBIZ-5794
 Project: OFBiz
  Issue Type: Bug
  Components: order, product, specialpurpose/webpos
Affects Versions: Trunk
 Environment: Fedora 20
Reporter: Hoan Dang Van


When I configure store in catalog component and i  selected  Is Immediately 
Fulfilled Tab is N then i create a order by webpos. The order is completed but 
when i check this order in order, i appear that the product that i buy, have 
Qty Shipped status is 0 and Ship Request status is 2 (2 is quantity that i 
bought in this order) 

When i selected again  Is Immediately Fulfilled Tab is Y , Qty Shipped status 
is 2 and Ship Request status is 0. Then i create a order by order component , 
Order is created but ATP of product that i bought with this order, not 
automatic decrease (equal before i bought )

Can everybody tell me where i do wrong and how to fix it

Thanks 




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (OFBIZ-5624) Payment by Gift Card in Webpos

2014-04-24 Thread Hoan Dang Van (JIRA)
Hoan Dang Van created OFBIZ-5624:


 Summary: Payment by Gift Card in Webpos
 Key: OFBIZ-5624
 URL: https://issues.apache.org/jira/browse/OFBIZ-5624
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/webpos
Affects Versions: SVN trunk
Reporter: Hoan Dang Van


When i execute payment by gift card in webpos, I typed random Gift card ref. 
num and Gift card amount  as total grand cart, Webpos successfully checkout. I 
wonder that why i typed random Gift card ref, Webpos successfully checkout. 

And When I add a gift card payment, in webpos's store, with a service type is 
not external payment(no service), webpos appear a warning Payment Gift Card 
Internal not yet supported. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (OFBIZ-5624) Payment by Gift Card in Webpos

2014-04-24 Thread Hoan Dang Van (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-5624?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13980643#comment-13980643
 ] 

Hoan Dang Van commented on OFBIZ-5624:
--

I checked in PaymentEvents.xml but i not understand what external paymend and 
internal payment mean
!--  External Payment --
if-compare-field field=paymentCheck operator=equals 
to-field=externalPaymentCode
if-not-empty field=parameters.refNum
set field=refNum from-field=parameters.refNum/
call-object-method obj-field=webPosTransaction 
method-name=processExternalPayment
field field=paymentType type=String/
field field=context.amountGiftCard 
type=BigDecimal/
field field=refNum type=String/
/call-object-method
check-errors/
else
add-errorfail-property resource=WebPosUiLabels 
property=WebPosPaymentGiftCardMissingRefNum//add-error
check-errors/
/else
/if-not-empty
!--  Internal Payment not yet supported --
else
add-errorfail-property resource=WebPosUiLabels 
property=WebPosPaymentGiftCardInternal//add-error
check-errors/
/else
/if-compare-field

 Payment by Gift Card in Webpos
 --

 Key: OFBIZ-5624
 URL: https://issues.apache.org/jira/browse/OFBIZ-5624
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/webpos
Affects Versions: SVN trunk
Reporter: Hoan Dang Van

 When i execute payment by gift card in webpos, I typed random Gift card ref. 
 num and Gift card amount  as total grand cart, Webpos successfully checkout. 
 I wonder that why i typed random Gift card ref, Webpos successfully checkout. 
 And When I add a gift card payment, in webpos's store, with a service type is 
 not external payment(no service), webpos appear a warning Payment Gift Card 
 Internal not yet supported. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (OFBIZ-5621) Amount in cash is smaller than total due in webpos

2014-04-21 Thread Hoan Dang Van (JIRA)
Hoan Dang Van created OFBIZ-5621:


 Summary: Amount in cash is smaller than total due in webpos
 Key: OFBIZ-5621
 URL: https://issues.apache.org/jira/browse/OFBIZ-5621
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/webpos
Affects Versions: SVN trunk
Reporter: Hoan Dang Van


When I buy a product that has price is 50$, (Now, total due is 50$, total 
already in cash is 0$), I paid 30$ (Now, total due is 20$, total already in 
cash is 30$).
But when I second paid 20$, total due is 30$ and it is cycle. So, i can't 
checkout my shopping session 






--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (OFBIZ-5601) Amount in cash is greater than total due

2014-03-27 Thread Hoan Dang Van (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-5601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13948998#comment-13948998
 ] 

Hoan Dang Van commented on OFBIZ-5601:
--

Piere
This is a issues being POS. The issue before I asked is of WebPOS 
https://issues.apache.org/jira/browse/OFBIZ-5583

 Amount in cash is greater than total due
 

 Key: OFBIZ-5601
 URL: https://issues.apache.org/jira/browse/OFBIZ-5601
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/pos
Affects Versions: SVN trunk
Reporter: Hoan Dang Van

 Scenario:
 1. Select product has id is GZ-1001 (GIZMO 1). It has 25.99$ price and 1.63$ 
 sale tax. Grand total 27.62$
 2. Select pay
 3. Enter 3000 (30.00$) and select cash
 4. Press Finish
 Here is error that i geted:
 [java]  exception report 
 --
  [java] [TransactionUtil.setRollbackOnly] Calling transaction 
 setRollbackOnly; this stack trace shows where this is happening:
  [java] Exception: java.lang.Exception
  [java] Message: Error in simple-method [Set The Invoice Status 
 [file:/home/hoandv/Work/OlbiusOFBiz/ofbiz_src/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml#setInvoiceStatus]]:
  ; [Cannot change status to 'paid', invoice CI7 has an unapplied balance of 
 -2.38]
  [java]  stack trace 
 ---
  [java] java.lang.Exception: Error in simple-method [Set The Invoice 
 Status 
 [file:/home/hoandv/Work/OlbiusOFBiz/ofbiz_src/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml#setInvoiceStatus]]:
  ; [Cannot change status to 'paid', invoice CI7 has an unapplied balance of 
 -2.38]
  [java] 
 org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:378)
  [java] 
 org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:319)
  [java] org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:578)
  [java] 
 org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:271)
  [java] 
 org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:290)
  [java] 
 org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
  [java] 
 org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:48)
  [java] 
 org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
  [java] 
 org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:218)
  [java] 
 org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83)
  [java] 
 org.ofbiz.accounting.invoice.InvoiceServices.checkInvoicePaymentApplications(InvoiceServices.java:2208)
  [java] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  [java] 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  [java] 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  [java] java.lang.reflect.Method.invoke(Method.java:606)
  [java] 
 org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
  [java] 
 org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
  [java] 
 org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
  [java] 
 org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:218)
  [java] 
 org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83)
  [java] 
 org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:138)
  [java] org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:159)
  [java] 
 org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:190)
  [java] 
 org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:480)
  [java] 
 org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:218)
  [java] 
 org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83)
  [java] 
 org.ofbiz.accounting.invoice.InvoiceServices.createInvoiceForOrder(InvoiceServices.java:795)
  [java] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  [java] 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  [java] 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  [java] java.lang.reflect.Method.invoke(Method.java:606)
  [java] 
 org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
  [java] 
 org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
  [java] 
 

[jira] [Reopened] (OFBIZ-5601) Amount in cash is greater than total due

2014-03-27 Thread Hoan Dang Van (JIRA)

 [ 
https://issues.apache.org/jira/browse/OFBIZ-5601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hoan Dang Van reopened OFBIZ-5601:
--


 Amount in cash is greater than total due
 

 Key: OFBIZ-5601
 URL: https://issues.apache.org/jira/browse/OFBIZ-5601
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/pos
Affects Versions: SVN trunk
Reporter: Hoan Dang Van

 Scenario:
 1. Select product has id is GZ-1001 (GIZMO 1). It has 25.99$ price and 1.63$ 
 sale tax. Grand total 27.62$
 2. Select pay
 3. Enter 3000 (30.00$) and select cash
 4. Press Finish
 Here is error that i geted:
 [java]  exception report 
 --
  [java] [TransactionUtil.setRollbackOnly] Calling transaction 
 setRollbackOnly; this stack trace shows where this is happening:
  [java] Exception: java.lang.Exception
  [java] Message: Error in simple-method [Set The Invoice Status 
 [file:/home/hoandv/Work/OlbiusOFBiz/ofbiz_src/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml#setInvoiceStatus]]:
  ; [Cannot change status to 'paid', invoice CI7 has an unapplied balance of 
 -2.38]
  [java]  stack trace 
 ---
  [java] java.lang.Exception: Error in simple-method [Set The Invoice 
 Status 
 [file:/home/hoandv/Work/OlbiusOFBiz/ofbiz_src/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml#setInvoiceStatus]]:
  ; [Cannot change status to 'paid', invoice CI7 has an unapplied balance of 
 -2.38]
  [java] 
 org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:378)
  [java] 
 org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:319)
  [java] org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:578)
  [java] 
 org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:271)
  [java] 
 org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:290)
  [java] 
 org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
  [java] 
 org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:48)
  [java] 
 org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
  [java] 
 org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:218)
  [java] 
 org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83)
  [java] 
 org.ofbiz.accounting.invoice.InvoiceServices.checkInvoicePaymentApplications(InvoiceServices.java:2208)
  [java] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  [java] 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  [java] 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  [java] java.lang.reflect.Method.invoke(Method.java:606)
  [java] 
 org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
  [java] 
 org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
  [java] 
 org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
  [java] 
 org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:218)
  [java] 
 org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83)
  [java] 
 org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:138)
  [java] org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:159)
  [java] 
 org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:190)
  [java] 
 org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:480)
  [java] 
 org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:218)
  [java] 
 org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83)
  [java] 
 org.ofbiz.accounting.invoice.InvoiceServices.createInvoiceForOrder(InvoiceServices.java:795)
  [java] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  [java] 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  [java] 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  [java] java.lang.reflect.Method.invoke(Method.java:606)
  [java] 
 org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
  [java] 
 org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
  [java] 
 org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
  [java] 
 org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:218)
  [java] 
 

[jira] [Commented] (OFBIZ-5601) Amount in cash is greater than total due

2014-03-27 Thread Hoan Dang Van (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-5601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13949008#comment-13949008
 ] 

Hoan Dang Van commented on OFBIZ-5601:
--

Jacopo
You are right. 
I think you confuse POS and WebPOS . Sorry for this misunderstanding

 Amount in cash is greater than total due
 

 Key: OFBIZ-5601
 URL: https://issues.apache.org/jira/browse/OFBIZ-5601
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/pos
Affects Versions: SVN trunk
Reporter: Hoan Dang Van

 Scenario:
 1. Select product has id is GZ-1001 (GIZMO 1). It has 25.99$ price and 1.63$ 
 sale tax. Grand total 27.62$
 2. Select pay
 3. Enter 3000 (30.00$) and select cash
 4. Press Finish
 Here is error that i geted:
 [java]  exception report 
 --
  [java] [TransactionUtil.setRollbackOnly] Calling transaction 
 setRollbackOnly; this stack trace shows where this is happening:
  [java] Exception: java.lang.Exception
  [java] Message: Error in simple-method [Set The Invoice Status 
 [file:/home/hoandv/Work/OlbiusOFBiz/ofbiz_src/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml#setInvoiceStatus]]:
  ; [Cannot change status to 'paid', invoice CI7 has an unapplied balance of 
 -2.38]
  [java]  stack trace 
 ---
  [java] java.lang.Exception: Error in simple-method [Set The Invoice 
 Status 
 [file:/home/hoandv/Work/OlbiusOFBiz/ofbiz_src/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml#setInvoiceStatus]]:
  ; [Cannot change status to 'paid', invoice CI7 has an unapplied balance of 
 -2.38]
  [java] 
 org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:378)
  [java] 
 org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:319)
  [java] org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:578)
  [java] 
 org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:271)
  [java] 
 org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:290)
  [java] 
 org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
  [java] 
 org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:48)
  [java] 
 org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
  [java] 
 org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:218)
  [java] 
 org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83)
  [java] 
 org.ofbiz.accounting.invoice.InvoiceServices.checkInvoicePaymentApplications(InvoiceServices.java:2208)
  [java] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  [java] 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  [java] 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  [java] java.lang.reflect.Method.invoke(Method.java:606)
  [java] 
 org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
  [java] 
 org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
  [java] 
 org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
  [java] 
 org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:218)
  [java] 
 org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83)
  [java] 
 org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:138)
  [java] org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:159)
  [java] 
 org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:190)
  [java] 
 org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:480)
  [java] 
 org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:218)
  [java] 
 org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83)
  [java] 
 org.ofbiz.accounting.invoice.InvoiceServices.createInvoiceForOrder(InvoiceServices.java:795)
  [java] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  [java] 
 sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  [java] 
 sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  [java] java.lang.reflect.Method.invoke(Method.java:606)
  [java] 
 org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
  [java] 
 org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
  [java] 
 

[jira] [Created] (OFBIZ-5600) Amount in cash is greater than total due

2014-03-26 Thread Hoan Dang Van (JIRA)
Hoan Dang Van created OFBIZ-5600:


 Summary: Amount in cash is greater than total due
 Key: OFBIZ-5600
 URL: https://issues.apache.org/jira/browse/OFBIZ-5600
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/pos
Affects Versions: SVN trunk
Reporter: Hoan Dang Van


Scenario:
1. Select product has id is GZ-1001 (GIZMO 1). It has 25.99$ price and 1.63$ 
sale tax. Grand total 27.62$
2. Select pay
3. Enter 3000 (30.00$) and select cash
4. Press Finish

Here is error that i geted:
[java]  exception report 
--
 [java] [TransactionUtil.setRollbackOnly] Calling transaction 
setRollbackOnly; this stack trace shows where this is happening:
 [java] Exception: java.lang.Exception
 [java] Message: Error in simple-method [Set The Invoice Status 
[file:/home/hoandv/Work/OlbiusOFBiz/ofbiz_src/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml#setInvoiceStatus]]:
 ; [Cannot change status to 'paid', invoice CI7 has an unapplied balance of 
-2.38]
 [java]  stack trace 
---
 [java] java.lang.Exception: Error in simple-method [Set The Invoice Status 
[file:/home/hoandv/Work/OlbiusOFBiz/ofbiz_src/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml#setInvoiceStatus]]:
 ; [Cannot change status to 'paid', invoice CI7 has an unapplied balance of 
-2.38]
 [java] 
org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:378)
 [java] 
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:319)
 [java] org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:578)
 [java] 
org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:271)
 [java] 
org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:290)
 [java] 
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
 [java] 
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:48)
 [java] 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
 [java] 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:218)
 [java] 
org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83)
 [java] 
org.ofbiz.accounting.invoice.InvoiceServices.checkInvoicePaymentApplications(InvoiceServices.java:2208)
 [java] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [java] 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 [java] 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [java] java.lang.reflect.Method.invoke(Method.java:606)
 [java] 
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
 [java] 
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
 [java] 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
 [java] 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:218)
 [java] 
org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83)
 [java] 
org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:138)
 [java] org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:159)
 [java] 
org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:190)
 [java] 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:480)
 [java] 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:218)
 [java] 
org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83)
 [java] 
org.ofbiz.accounting.invoice.InvoiceServices.createInvoiceForOrder(InvoiceServices.java:795)
 [java] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [java] 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 [java] 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [java] java.lang.reflect.Method.invoke(Method.java:606)
 [java] 
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
 [java] 
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
 [java] 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
 [java] 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:218)
 [java] 
org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83)
 [java] 
org.ofbiz.order.order.OrderChangeHelper.createOrderInvoice(OrderChangeHelper.java:293)
 [java] 

[jira] [Created] (OFBIZ-5601) Amount in cash is greater than total due

2014-03-26 Thread Hoan Dang Van (JIRA)
Hoan Dang Van created OFBIZ-5601:


 Summary: Amount in cash is greater than total due
 Key: OFBIZ-5601
 URL: https://issues.apache.org/jira/browse/OFBIZ-5601
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/pos
Affects Versions: SVN trunk
Reporter: Hoan Dang Van


Scenario:
1. Select product has id is GZ-1001 (GIZMO 1). It has 25.99$ price and 1.63$ 
sale tax. Grand total 27.62$
2. Select pay
3. Enter 3000 (30.00$) and select cash
4. Press Finish

Here is error that i geted:
[java]  exception report 
--
 [java] [TransactionUtil.setRollbackOnly] Calling transaction 
setRollbackOnly; this stack trace shows where this is happening:
 [java] Exception: java.lang.Exception
 [java] Message: Error in simple-method [Set The Invoice Status 
[file:/home/hoandv/Work/OlbiusOFBiz/ofbiz_src/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml#setInvoiceStatus]]:
 ; [Cannot change status to 'paid', invoice CI7 has an unapplied balance of 
-2.38]
 [java]  stack trace 
---
 [java] java.lang.Exception: Error in simple-method [Set The Invoice Status 
[file:/home/hoandv/Work/OlbiusOFBiz/ofbiz_src/applications/accounting/script/org/ofbiz/accounting/invoice/InvoiceServices.xml#setInvoiceStatus]]:
 ; [Cannot change status to 'paid', invoice CI7 has an unapplied balance of 
-2.38]
 [java] 
org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.java:378)
 [java] 
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:319)
 [java] org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:578)
 [java] 
org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:271)
 [java] 
org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:290)
 [java] 
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:79)
 [java] 
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:48)
 [java] 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
 [java] 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:218)
 [java] 
org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83)
 [java] 
org.ofbiz.accounting.invoice.InvoiceServices.checkInvoicePaymentApplications(InvoiceServices.java:2208)
 [java] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [java] 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 [java] 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [java] java.lang.reflect.Method.invoke(Method.java:606)
 [java] 
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
 [java] 
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
 [java] 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
 [java] 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:218)
 [java] 
org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83)
 [java] 
org.ofbiz.service.eca.ServiceEcaAction.runAction(ServiceEcaAction.java:138)
 [java] org.ofbiz.service.eca.ServiceEcaRule.eval(ServiceEcaRule.java:159)
 [java] 
org.ofbiz.service.eca.ServiceEcaUtil.evalRules(ServiceEcaUtil.java:190)
 [java] 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:480)
 [java] 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:218)
 [java] 
org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83)
 [java] 
org.ofbiz.accounting.invoice.InvoiceServices.createInvoiceForOrder(InvoiceServices.java:795)
 [java] sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 [java] 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
 [java] 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
 [java] java.lang.reflect.Method.invoke(Method.java:606)
 [java] 
org.ofbiz.service.engine.StandardJavaEngine.serviceInvoker(StandardJavaEngine.java:100)
 [java] 
org.ofbiz.service.engine.StandardJavaEngine.runSync(StandardJavaEngine.java:57)
 [java] 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:383)
 [java] 
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:218)
 [java] 
org.ofbiz.service.GenericDispatcherFactory$GenericDispatcher.runSync(GenericDispatcherFactory.java:83)
 [java] 
org.ofbiz.order.order.OrderChangeHelper.createOrderInvoice(OrderChangeHelper.java:293)
 [java] 

[jira] [Commented] (OFBIZ-5588) Error while press F9(change quantity) in webpos

2014-03-24 Thread Hoan Dang Van (JIRA)

[ 
https://issues.apache.org/jira/browse/OFBIZ-5588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13946088#comment-13946088
 ] 

Hoan Dang Van commented on OFBIZ-5588:
--

I tested. All function of F1- F11, up and down key run 13 time. I think cause 
is  function bind() in jquery .
I wasn't $(document).bind(type, data, fnCode); line in definition WebPosHotkeys

and edited and all thing run good. 

function activateHotKeys() {

WebPosHotkeys.bind(keydown, f1, productToSearchFocus, 
productToSearchFocus(), ${uiLabelMap.WebPosShortcutF1});

WebPosHotkeys.bind(keydown, f2, partyToSearchFocus, 
partyToSearchFocus(), ${uiLabelMap.WebPosShortcutF2});
WebPosHotkeys.bind(keydown, f3, payCash, payCash(), 
${uiLabelMap.WebPosShortcutF3});
WebPosHotkeys.bind(keydown, f4, payCheck, payCheck(), 
${uiLabelMap.WebPosShortcutF4});
WebPosHotkeys.bind(keydown, f5, payGiftCard, payGiftCard(), 
${uiLabelMap.WebPosShortcutF5});
WebPosHotkeys.bind(keydown, f6, payCreditCard, payCreditCard(), 
${uiLabelMap.WebPosShortcutF6});
WebPosHotkeys.bind(keydown, f7, payFinish, payFinish(), 
${uiLabelMap.WebPosShortcutF7});
WebPosHotkeys.bind(keydown, f8, itemQuantityFocus, 
itemQuantityFocus(), ${uiLabelMap.WebPosShortcutF8});
WebPosHotkeys.bind(keydown, f9, incrementItemQuantity, 
incrementItemQuantity(), ${uiLabelMap.WebPosShortcutF9});
WebPosHotkeys.bind(keydown, f10, decrementItemQuantity, 
decrementItemQuantity(), ${uiLabelMap.WebPosShortcutF10});
WebPosHotkeys.bind(keydown, f11, emptyCart, emptyCart(), 
${uiLabelMap.WebPosShortcutF11});
WebPosHotkeys.bind(keydown, up, keyUp, keyUp(), 
${uiLabelMap.WebPosShortcutKeyUp});
WebPosHotkeys.bind(keydown, down, keyDown, keyDown(), 
${uiLabelMap.WebPosShortcutKeyDown});
keypress();

updateHotKeys();
  }
  function keypress(){
$(document).ready(function() {
$(document).bind('keydown', 'f1', function() {

productToSearchFocus();
e.preventDefault();
return false;
});
});
   // function of f2.f11,up and down key is similar
  }

 Error while press F9(change quantity) in webpos 
 

 Key: OFBIZ-5588
 URL: https://issues.apache.org/jira/browse/OFBIZ-5588
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/webpos
Affects Versions: SVN trunk
Reporter: Hoan Dang Van

 When i click F9 to change quantity input of product, it increase 1 but when I 
 press F9 key, the quantity of product increase 13. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Created] (OFBIZ-5588) Error while press F9(change quantity) in webpos

2014-03-19 Thread Hoan Dang Van (JIRA)
Hoan Dang Van created OFBIZ-5588:


 Summary: Error while press F9(change quantity) in webpos 
 Key: OFBIZ-5588
 URL: https://issues.apache.org/jira/browse/OFBIZ-5588
 Project: OFBiz
  Issue Type: Bug
  Components: specialpurpose/webpos
Affects Versions: SVN trunk
Reporter: Hoan Dang Van


When i click F9 to change quantity input of product, it increase 1 but when I 
press F9 key, the quantity of product increase 13. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)