Reflect Inventory availability w/o concrete figures

2011-07-08 Thread Carsten Schinzer
All,


I'd like to find a way to build the following requirements into the standard
product / facility mechanisms of OFBiz:

* Inventory is not kept in the store, actually the stite is a reseller
platform (orders collected and forwarded to reseller who does all handling
includung shipping)
* Availability of Inventory is communicated nightly by the Product Supplier;
this is not figures of QoH but rather an info of type: {we have it; we won't
have it any more; will be available as of date}

I am currently slightly confused about the Product and Inventory data model
and how I should set flags on Product:
* Is it enough to Create an InventoryItem per product and set the 'statusId'
to a proper value? A nightly job would then check the status and change it?
How can I -- in this aproach -- reflect projected "available-again" dates?
* Is it required to go the InventoryItemDetail path and create a detail for
each availability-period of a product?
* How do I handle QoH? Can I just set to value 1 and switch off the
"requires QoH" flag on the Product? What would I then select as Inventory
Method?

Thanks for any hint !
Regards


Carsten


Accounting Manager

2011-07-08 Thread prasanth r
Hi all,

 Is there any technical architecture diagram for Accounting Manager
application?

thanks & regards
prasath rajan.


upload pdf content for a task

2011-07-08 Thread Mansour Al Akeel
I am trying to add contents to a task. The content is a pdf document.
It's failing with:

Error: No uploaded content found in context  calling service
createContentFromUploadedFile in createWorkEffortContent

I can upload png files but not PDF. I started from a fresh install
from trunk. On the demo site, it's possible to upload PDF files.
Is there any special configuration or setup I need to do to allow PDFs ?

Here's the page I am talking about
https://demo-trunk.ofbiz.apache.org/projectmgr/control/EditTaskContents?workEffortId=9002

Thank you.


Help required to setup the Sync between to servers

2011-07-08 Thread Pankaj Singh
Hi All ,
I am trying to establish the Sync between two servers for few Entities  .
But am not able to establish the proper connection between both servers i
tried with rmi and Http both ways  using remoteStoreEntitySyncDataHttp or
remoteStoreEntitySyncDatarmi services after updating the serviceengine.xml
with values of entity-sync-rmi or entity-sync-http.

I have followed the *
https://cwiki.apache.org/OFBIZ/sync-setup-notes-and-example.html* guide not
seems helpful to me much.





-- 
Thanks ,
Pankaj Kumar Singh


Re: Run Opentaps source code in Eclipse

2011-07-08 Thread nagavaraprasad
Hi Friends,

   Could you please send me the document for Opentaps source code to setup
with Eclipse 3.5 Please help me.It is very urgent. 

   I try to setup this link:
 http://www.opensourcestrategies.com/ofbiz/ofbiz_eclipse.php .

Thanks in Advance.

Thanks & Regards,
Prasad D


--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/Run-Opentaps-source-code-in-Eclipse-tp152259p3653311.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Visiting Amsterdam until July 22nd

2011-07-08 Thread David E Jones

Hello all,

I'm in Amsterdam until July 22nd visiting a client and have some time free on 
evenings and weekends to meet with others in the area who have an interest in 
Apache OFBiz (and Moqui if you really twist my arm to talk about it... ;) ).

If you're interested please contact me directly by email.

-David



Re: Reflect Inventory availability w/o concrete figures

2011-07-08 Thread BJ Freeman
your describing Dropship with a customization for inventory levels.
Normally in Dropship the code does not look for inventory.
the way I handle it is a component for the dropshipper or fulfillment
company. I define an entity that fits their data. once this is imported,
I use the custom code to read their data and set the dates based on
their inventory. if discontinued then use the through date to disable
product. if out of stock change the from date to when the product will
be in-stock.

the custom code creates a product in  catalog for the supplier of new
products that a employee can then copy in their store catalog. Custom
code copies the product then adds a supplier product in inventory linked
to the catalog product they copied.
The custom code looks for products that are linked to the supplier
product by partyID to change the dates.

this should get you going in the right direction.



Carsten Schinzer sent the following on 7/8/2011 12:34 AM:
> All,
> 
> 
> I'd like to find a way to build the following requirements into the standard
> product / facility mechanisms of OFBiz:
> 
> * Inventory is not kept in the store, actually the stite is a reseller
> platform (orders collected and forwarded to reseller who does all handling
> includung shipping)
> * Availability of Inventory is communicated nightly by the Product Supplier;
> this is not figures of QoH but rather an info of type: {we have it; we won't
> have it any more; will be available as of date}
> 
> I am currently slightly confused about the Product and Inventory data model
> and how I should set flags on Product:
> * Is it enough to Create an InventoryItem per product and set the 'statusId'
> to a proper value? A nightly job would then check the status and change it?
> How can I -- in this aproach -- reflect projected "available-again" dates?
> * Is it required to go the InventoryItemDetail path and create a detail for
> each availability-period of a product?
> * How do I handle QoH? Can I just set to value 1 and switch off the
> "requires QoH" flag on the Product? What would I then select as Inventory
> Method?
> 
> Thanks for any hint !
> Regards
> 
> 
> Carsten
> 


Re: Accounting Manager

2011-07-08 Thread BJ Freeman
the closest is the artifact and interactive entity models in webtools.
The video do a good job of giving you  general ofbiz flow.
understanding TomCat WebApps helps for the starting point.
The controller.xml give you all the entry points and what is return to
the user.


prasanth r sent the following on 7/8/2011 2:18 AM:
> Hi all,
> 
>  Is there any technical architecture diagram for Accounting Manager
> application?
> 
> thanks & regards
> prasath rajan.
> 


AW: Re: Reflect Inventory availability w/o concrete figures

2011-07-08 Thread c . schinzer
Hi BJ and thanks for your comment.
I realize, I had a typo in my requirements as it is rather the product supplier 
who handles fulfillment after we drop orders to their end. Not the reseller.

However I do not feel this will change your comments. Will need to get that on 
a sheet of paper though and digest.

Thanks again. Regards


Carsten
Gesendet mit BlackBerry® Webmail von Telekom Deutschland  

-Original Message-
From: BJ Freeman 
Date: Fri, 08 Jul 2011 07:50:13 
To: 
Reply-To: user@ofbiz.apache.org
Subject: Re: Reflect Inventory availability w/o concrete figures

your describing Dropship with a customization for inventory levels.
Normally in Dropship the code does not look for inventory.
the way I handle it is a component for the dropshipper or fulfillment
company. I define an entity that fits their data. once this is imported,
I use the custom code to read their data and set the dates based on
their inventory. if discontinued then use the through date to disable
product. if out of stock change the from date to when the product will
be in-stock.

the custom code creates a product in  catalog for the supplier of new
products that a employee can then copy in their store catalog. Custom
code copies the product then adds a supplier product in inventory linked
to the catalog product they copied.
The custom code looks for products that are linked to the supplier
product by partyID to change the dates.

this should get you going in the right direction.



Carsten Schinzer sent the following on 7/8/2011 12:34 AM:
> All,
> 
> 
> I'd like to find a way to build the following requirements into the standard
> product / facility mechanisms of OFBiz:
> 
> * Inventory is not kept in the store, actually the stite is a reseller
> platform (orders collected and forwarded to reseller who does all handling
> includung shipping)
> * Availability of Inventory is communicated nightly by the Product Supplier;
> this is not figures of QoH but rather an info of type: {we have it; we won't
> have it any more; will be available as of date}
> 
> I am currently slightly confused about the Product and Inventory data model
> and how I should set flags on Product:
> * Is it enough to Create an InventoryItem per product and set the 'statusId'
> to a proper value? A nightly job would then check the status and change it?
> How can I -- in this aproach -- reflect projected "available-again" dates?
> * Is it required to go the InventoryItemDetail path and create a detail for
> each availability-period of a product?
> * How do I handle QoH? Can I just set to value 1 and switch off the
> "requires QoH" flag on the Product? What would I then select as Inventory
> Method?
> 
> Thanks for any hint !
> Regards
> 
> 
> Carsten
> 


Re: amazon ec2

2011-07-08 Thread Fernando
Hi,
I am trying to run ofbiz in AWS with an Ubuntu-AMI.  I have installed
apache, java, ant,svn but when I try to run ./ant  the above error occur.  
I`m just starting to use Ofbiz. 


Buildfile: build.xmlofbiz-init:

build:
 [echo] [build] == Start Building (Compile) ==

ofbiz-init:

dir-init:

BUILD FAILED
/home/ofbiz/ofbiz/build.xml:204: The following error occurred while
executing this line:
/home/ofbiz/ofbiz/framework/build.xml:52: Directory
/home/ofbiz/ofbiz/runtime/logs/test-results creation was not successful for
an unknown reason

Total time: 1 second


Regards,
Fernando

--
View this message in context: 
http://ofbiz.135035.n4.nabble.com/amazon-ec2-tp3428717p3655336.html
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: upload pdf content for a task

2011-07-08 Thread Mansour Al Akeel
I am unable to upload jpg images either. Some formats are ok like xml,
text, png. 

The log says there's no content found, but the file is a valid pdf
file, and it exists!

I am stuck, and need some help. Thank you a lot.

Here's the log:

 [java] 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:554)
 [java] 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
 [java] 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
 [java] 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
 [java] 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
 [java] java.lang.Thread.run(Thread.java:662)
 [java] 

 [java] 
 [java] 2011-07-09 00:01:53,847 (http-0.0.0.0-8443-2) [   
CallSimpleMethod.java:109:WARN ] Got error [error] calling inline simple-method 
named [saveLocalFileDataResource] in resource [], message is null, and the 
error message list is: {No uploaded content found in context}
 [java] 2011-07-09 00:01:53,848 (http-0.0.0.0-8443-2) [
TransactionUtil.java:383:INFO ] [TransactionUtil.setRollbackOnly] transaction 
rollback only not set, rollback only is already set.
 [java] 2011-07-09 00:01:53,849 (http-0.0.0.0-8443-2) [  
ServiceDispatcher.java:543:ERROR] Error in Service 
[attachUploadToDataResource]: No uploaded content found in context
 [java] 2011-07-09 00:01:53,850 (http-0.0.0.0-8443-2) [
TransactionUtil.java:383:INFO ] [TransactionUtil.setRollbackOnly] transaction 
rollback only not set, rollback only is already set.
 [java] 2011-07-09 00:01:53,850 (http-0.0.0.0-8443-2) [ 
GroupModel.java:165:ERROR] Grouped service [attachUploadToDataResource] failed.
 [java] 2011-07-09 00:01:53,851 (http-0.0.0.0-8443-2) [  
ServiceDispatcher.java:543:ERROR] Error in Service 
[createContentFromUploadedFile]: No uploaded content found in context
 [java] 2011-07-09 00:01:53,851 (http-0.0.0.0-8443-2) [
TransactionUtil.java:383:INFO ] [TransactionUtil.setRollbackOnly] transaction 
rollback only not set, rollback only is already set.
 [java] 2011-07-09 00:01:53,852 (http-0.0.0.0-8443-2) [  
ServiceDispatcher.java:604:INFO ] Sync service 
[projectmgr/createContentFromUploadedFile] finished in [1067] milliseconds with 
response [{errorMessageList={No uploaded content found in context}, 
responseMessage=error}]
 [java] 2011-07-09 00:01:53,864 (http-0.0.0.0-8443-2) [ 
UtilProperties.java:1056:INFO ] ResourceBundle DefaultMessages (en) created in 
0.01s with 11 properties
 [java] 2011-07-09 00:01:53,879 (http-0.0.0.0-8443-2) [ 
UtilProperties.java:1056:INFO ] ResourceBundle MiniLangErrorUiLabels (en) 
created in 0.014s with 4 properties
 [java] 2011-07-09 00:01:53,881 (http-0.0.0.0-8443-2) [
TransactionUtil.java:341:ERROR] 
 [java]  exception report 
--
 [java] [TransactionUtil.rollback]
 [java] Exception: java.lang.Exception
 [java] Message: Stack Trace
 [java]  stack trace 
---
 [java] java.lang.Exception: Stack Trace
 [java] 
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:340)
 [java] 
org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:317)
 [java] org.ofbiz.minilang.SimpleMethod.exec(SimpleMethod.java:870)
 [java] 
org.ofbiz.minilang.SimpleMethod.runSimpleMethod(SimpleMethod.java:160)
 [java] 
org.ofbiz.minilang.SimpleMethod.runSimpleEvent(SimpleMethod.java:121)
 [java] 
org.ofbiz.webapp.event.SimpleEventHandler.invoke(SimpleEventHandler.java:70)
 [java] 
org.ofbiz.webapp.control.RequestHandler.runEvent(RequestHandler.java:647)
 [java] 
org.ofbiz.webapp.control.RequestHandler.doRequest(RequestHandler.java:393)
 [java] 
org.ofbiz.webapp.control.ControlServlet.doGet(ControlServlet.java:224)
 [java] 
org.ofbiz.webapp.control.ControlServlet.doPost(ControlServlet.java:87)
 [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
 [java] javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
 [java] 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 [java] 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 [java] 
org.ofbiz.webapp.control.ContextFilter.doFilter(ContextFilter.java:336)
 [java] 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 [java] 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 [java] 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
 [java] 
org.apache.catalina.core.StandardContextValve.invoke(Stan