Re: element supported in form widget element?

2014-02-25 Thread Jacques Le Roux
 is is only supported in services definition in relation with the  element. In form you can hide fields with hidden (fields 
types default to edit).

In such case, 1st check widget-form.xsd (which misses some in-line 
documentation :/ )

Jacques

Le 24/02/2014 23:29, Christian Carlow a écrit :
Does the  form widget element support the ?  I thought it was at least supported for  but can't 
seem to get it working either.




Question on link between customer order and production order

2014-02-25 Thread Serge ROY

Hi all,

I am actually working on a project, and I need to be able to get the 
customer order ID (number) in the production run.


What I did :

1- My finish product is set with the Requirement Method Enum Id as : 
Automatic For Every Sales Order
2 - I create a customer order and generate the requirement for my finish 
product directly from that order
3 - I was expected to get the customer order number define in the Order 
ITems portlet in the production run...But nothing


So how can I get the customer order id (number) in my production run, in 
purpose to link the production run and the customer order, to be able to 
inform the commercial service than the customer order is ready to be 
delivered ?


Thanks for your help,

Best regards,

Serge Roy
Project director
Nomaka company France



Shouldn't the maximum declaration amount of the task responsible for issuing components be limited to the amount issued?

2014-02-25 Thread Christian Carlow
Arbitrary quantityProduced values may be specified for production run 
declarations.  In a previous post, it was agreed that the 
quantityProduced should be limited to the quantityProduced of the 
previous task.  Shouldn't this logic apply to the task that is 
responsible for stocking out materials also?  For example, if I have a 
production run to create 10 GZ-BASKET but issue only 1 of its GZ-1000 
components, shouldn't the quantity produced of that task be limited to 1 
since the remaining 9 GZ-1000 components haven't been issued yet?  
Currently it allows for any value such as 1000 to be entered as the 
quantityProduced.


Re: Shouldn't the maximum declaration amount of the task responsible for issuing components be limited to the amount issued?

2014-02-25 Thread Christian Carlow
If the quantityProduced amount for the material-stock-out task should be 
limited to the amount of materials issued, then I'm not sure how to 
handle tasks that might occur before the material-stock-out task.  The 
first task of a production run is automatically chosen as the 
material-stock-out task if one isn't chosen.  I can't think of a reason 
why material stock out would occur after prior tasks and if those prior 
tasks would need to declare quantityProduced.  Anyone have suggestions?


On 02/25/2014 10:21 AM, Christian Carlow wrote:
Arbitrary quantityProduced values may be specified for production run 
declarations.  In a previous post, it was agreed that the 
quantityProduced should be limited to the quantityProduced of the 
previous task.  Shouldn't this logic apply to the task that is 
responsible for stocking out materials also?  For example, if I have a 
production run to create 10 GZ-BASKET but issue only 1 of its GZ-1000 
components, shouldn't the quantity produced of that task be limited to 
1 since the remaining 9 GZ-1000 components haven't been issued yet?  
Currently it allows for any value such as 1000 to be entered as the 
quantityProduced.




Re: New to Ofbiz and Ofbiz POS

2014-02-25 Thread monica ford
Hi Jacques

Below is details of my terminal. For Problem with order change; see error
logs

Regards

java.lang.Exception: Tx Stack Placeholder
org.ofbiz.entity.transaction.TransactionUtil.setTransactionBeginStack(Transactio
nUtil.java:736)
org.ofbiz.entity.transaction.TransactionUtil.begin(TransactionUtil.java:172)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:307)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:225)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:163)
org.ofbiz.order.order.OrderChangeHelper.createReceivedPayments(OrderChangeHelper
.java:269)
org.ofbiz.order.order.OrderChangeHelper.completeOrder(OrderChangeHelper.java:116
)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:1
154)
org.ofbiz.order.shoppingcart.CheckOutHelper.processPayment(CheckOutHelper.java:9
17)
org.ofbiz.pos.PosTransaction.processSale(PosTransaction.java:870)
org.ofbiz.pos.event.PaymentEvents.processSale(PaymentEvents.java:371)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.ofbiz.pos.config.ButtonEventConfig.invoke(ButtonEventConfig.java:209)
org.ofbiz.pos.config.ButtonEventConfig.invokeButtonEvent(ButtonEventConfig.java:
106)
org.ofbiz.pos.component.PosButton$1.construct(PosButton.java:119)
net.xoetrope.xui.helper.SwingWorker$2.run(Unknown Source)
java.lang.Thread.run(Unknown Source)



2014-02-25 11:02:42,279 (Thread-28) [  ServiceDispatcher.java:525:ERROR]
Error i
n Service [createOrderPaymentApplication]: Error trying to begin
transaction, co
uld not process method: The current transaction is marked for rollback, not
begi
nning a new transaction and aborting current operation; the rollbackOnly was
cau
sed by: Error in simple-method [Convert UOM values
[file:/C:/ofbiz12/framework/c
ommon/script/org/ofbiz/common/CommonServices.xml#convertUom]]: ; {UOM
Conversion
 Relationship Not Found}
2014-02-25 11:02:42,279 (Thread-28) [TransactionUtil.java:384:INFO ]
[Transa
ctionUtil.setRollbackOnly] transaction rollback only not set, rollback only
is a
lready set.
2014-02-25 11:02:42,279 (Thread-28) [  ServiceDispatcher.java:585:INFO ]
Slow sy
nc service execution detected: service
[POSDispatcher/createOrderPaymentApplicat
ion] finished in [66] milliseconds
2014-02-25 11:02:42,282 (Thread-28) [TransactionUtil.java:288:ERROR]
 exception report
--

Rollback Only was set when trying to commit transaction here; throwing
rollbackO
nly cause exception
Exception: javax.transaction.RollbackException
Message: Unable to commit: transaction marked for rollback
 cause
-

Exception: org.apache.geronimo.transaction.manager.SetRollbackOnlyException
Message: setRollbackOnly() called.  See stacktrace for origin
 stack trace
---

org.apache.geronimo.transaction.manager.SetRollbackOnlyException:
setRollbackOnl
y() called.  See stacktrace for origin
org.apache.geronimo.transaction.manager.TransactionImpl.setRollbackOnly(Transact
ionImpl.java:126)
org.apache.geronimo.transaction.manager.TransactionManagerImpl.setRollbackOnly(T
ransactionManagerImpl.java:243)
org.ofbiz.entity.transaction.TransactionUtil.setRollbackOnly(TransactionUtil.jav
a:381)
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:320)
org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:582)
org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:275)
org.ofbiz.minilang.SimpleMethod.runSimpleService(SimpleMethod.java:294)
org.ofbiz.minilang.SimpleServiceEngine.serviceInvoker(SimpleServiceEngine.java:7
9)
org.ofbiz.minilang.SimpleServiceEngine.runSync(SimpleServiceEngine.java:48)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:390)
org.ofbiz.service.ServiceDispatcher.runSync(ServiceDispatcher.java:225)
org.ofbiz.service.GenericDispatcher.runSync(GenericDispatcher.java:177)
org.ofbiz.minilang.method.callops.CallService.exec(CallService.java:218)
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:311)
org.ofbiz.minilang.method.conditional.CompareFieldCondition.exec(CompareFieldCon
dition.java:137)
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:311)
org.ofbiz.minilang.method.ifops.IfNotEmpty.exec(IfNotEmpty.java:61)
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:311)
org.ofbiz.minilang.method.conditional.EmptyCondition.exec(EmptyCondition.java:80
)
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.java:311)
org.ofbiz.minilang.method.conditional.EmptyCondition.exec(EmptyCondition.java:84
)
org.ofbiz.minilang.SimpleMethod.runSubOps(SimpleMethod.jav

Re: New to Ofbiz and Ofbiz POS

2014-02-25 Thread monica ford
why i am getting 'order change' error



--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/New-to-Ofbiz-and-Ofbiz-POS-tp4647653p4648557.html
Sent from the OFBiz - User mailing list archive at Nabble.com.