Re: purchase invoice payment

2009-10-03 Thread Chris Snow
Hi Sharan,

When you say that trunk is looking a lot better accounting-wise, am I
right in thinking that 9.04 accounting is not ready for typical
organisational accounting processes?  How close is trunk to meeting the
majority of company processes to be considered usable for accounting?

Many thanks,

Chris

>
> Hi Chris
>
> At the moment I use 9.04 but am helping to put together the online help
> documentation for the latest trunk so have been trying to keep up with the
> changes happening there especially on the accounting side.
>
> I think the trunk is looking a lot better accounting-wise but I just want
> to
> give it a thorough test to be able to understand the processes before I
> think about moving versions.
>
> Jacques – On the business process story side  I've mentioned to David
> that
> it's something I'd like to  contribute to but will finish the accounting
> documentation first so I get a fuller picture of whats what.
>
> Thanks
> Sharan
>
>
> jacques.le.roux wrote:
>>
>> This may turn helpful (since Sharan gave much guidance details) as a new
>> business story in the library...
>>
>> Jacques
>>
>> From: "Chris Snow" 
>>> Hi Sharan,
>>>
>>> Which version of ofbiz do you normally prefer to go for?
>>>
>>> Many thanks,
>>>
>>> Chris
>>>
>>> Sharan-F wrote:
 Hi Chris

 No worries – I'm no OFBiz expert either and OFBiz was new to
 everyone at
 some point or other.

 The scenario you describe sounds like Indirect Purchasing so could be
 something like office supplies etc, rather than something that is
 directly
 part of a product or a product manufacturing process that will be on
 sold to
 customers.

 You're also talking about pre-payment here because you pay (via credit
 card)
 before the product itself gets delivered. A lot of purchasing
 processes
 have
 the product delivered first then they send the invoice and even then
 you
 get
 several days (or weeks or months!) in which to pay.

 It will probably depend on the number of these purchasing credit card
 transactions that will determine how you handle it. It there are a lot
 of
 them then you'd probably want to streamline it.
 What I've seen done before is an import of an electronic credit card
 statement where the payment is generated from the statement itself and
 then
 matched to the purchase invoice via reference numbers etc.

 Without knowing too much about your scope and thinking off the top of
 my
 head you could put something together that could create the payment
 automatically but you still might need some way to track the company
 credit
 card transactions like you would a bank account.  You'd probably want
 to
 track the credit limit for the card since you dont want the employee
 to
 spend $1001 when the credit card limit it $1000.You may also want  to
 setup
 a GL account to mirror the credit card transactions in the General
 Ledger
 for reconciliation and accounting purposes.

 Not sure if this helps much but hopefully someone else may respond
 with
 other ideas too.

 Thanks
 Sharan


 Chris Snow-3 wrote:

> Hi Sharan,
> Many thanks for the detailed reply.
> The type of scenario I was thinking about was where a company
> employee
> purchases a consumable product using company credit card.
> The company is a small business and does not need a purchase order
> approval process.  I was thinking that because the payment
> has already been made by credit card, having the payment as a
> separate
> step in ofbiz makes the process quite cumbersome.
>
> I apologize if my questions (and usage of ofbiz) seem stupid!
>
> Many thanks,
>
> Chris
>
>
>
>
> Sharan-F wrote:
>
>> Hi Chris
>>
>> I'm not sure that you can automate a payment in this way in OFBiz
>> and
>> I'm
>> not sure from a business perspective that you would want to take out
>> the
>> manual creation of payments to suppliers (since effectively you're
>> taking
>> out key verification / approval step).
>>
>> OFBiz can generate the purchase invoice for you if you use Order
>> Entry
>> to
>> enter a Purchase Order to a supplier, then when  you  receive the
>> purchase
>> order products  Ofbiz will generate a 'pro forma' invoice (which in
>> layman's
>> terms is 'draft Purchase Invoice' based on the Purchase Order.) so
>> it
>> will
>> contain the same costs and taxes as the original purchase order.
>>
>> When the real Purchase Invoice arrives you can enter any adjustments
>> (eg
>> perhaps they gave you a discount or there was a price increase that
>> you
>> werent aware of) and update the pro forma invoice so that it is
>> correct,
>> then you can a

Possible Error Creating New Deposit Payments

2009-10-03 Thread Sharan-F

Hi 

I writing up some online help documentation for the new functionality for
Financial Accounts and I think I've come across a minor bug or
inconsistency. Steps to duplicate are as follows:

1. Go to 'Accounting / Financial Accounts / Main'
2. Select Fin Account Id '9000' Standard Chartered
3. Click on the 'Deposit/Withdraw' tab
4. Press 'Find' (By default a list of demo data transactions displayed. This
is fine – no problems here)
5. Next press the 'Create New Deposit Payment' button and add details as
follows:
  Add a 'Customer Payment' 
  Payment Method Type 'Cash' 
  Leave Credit Card details blank,
  From Party Id 'DemoCustomer', 
  To Party Id' 'Company'
  Effective Date = current date and time
  Amount = 99 (Any memorable amount will do!)
  Click the 'Deposit Payment in : Standard Charted' box
6. Press the 'Create' button
7. The new payment and deposit transactions are created.

Here is where I see the inconsistency...
Press 'Find' again on the 'Deposit / Withdraw' tab and and you will see that
the new deposit payment transaction is not displayed. This means that you
cant add it to a batch payment group or make a deposit slip for it. 

However if you use the 'Transactions' tab for the Standard Chartered
Financial Account you will see that the deposit payment transaction does
appear in the list of Standard Chartered transactions and also that the
payment transaction has been created correctly.

This also happens when you create a New Withdrawal Payment too. I would have
expected them to be displayed.

Does anyone know if this is the expected behaviour - if it isnt then I'll
create a Jira.

Thanks
Sharan 
-- 
View this message in context: 
http://www.nabble.com/Possible-Error-Creating-New-Deposit-Payments-tp25735332p25735332.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: fine grained party

2009-10-03 Thread ARays

BTW, the seed data that prompted me to start thinking on these lines is below








I am still searching if some of the sub types are used in some ways in
ofbiz. 

- Arays



ARays wrote:
> 
> ah! there definitely is a catch. However, if one were to have a
> base/principal role/purpose (sort of their primary which is not expected
> to change) then one can base some workflows on that.. To share my
> scenario, I am looking to use ofbiz for back office use where the workflow
> changes quite dramatically for employees vs contractors. They can
> obviously play different roles such as sales clerk, manager, accountant
> etc, but the way they are compensated for example is different. Not sure
> if that makes sense in the context of ofbiz, but I am looking at ways to
> support such a scenario. For example in PartyMgr Orders makes sense for
> customers, but may not as much for employees and my intent is to have
> context specific (primary purpose of their engagement) viewprofiles and be
> able to extend the datamodel appropriately for each segment of user. 
> 
> As I mentioned I did consider using roles to differentiate, but then the
> challenge may be that down the line someone might change or drop roles
> which can complicate matters. The idea is to treat the primary purpose
> much like the 'sex of a person' which is not expected to change in most
> cases if not all ;-) 
> 
> - Arays
> 
> 
> 
> David E Jones-4 wrote:
>> 
>> 
>> How would this handle a Party that is in multiple roles, as the current
>> model does?
>> 
>> -David
>> 
>>  
>> On Saturday, October 03, 2009, at 12:03PM, "ARays" 
>> wrote:
>>>
>>>Hi, 
>>>
>>>I am trying to get party entries to be a little more fine grained. For
now
>>>it seems like there are only two types in use 'person' & 'partygroup'.
The
>>>view profile reflects this difference. However, I would like to control
it
>>>some more based on whether the party person is primarily an employee or
>>>contractor etc. Which is a better option to go about the same? 
>>>a) Use roles to distinguish between different types. This may cause
>>>integrity problems since any workflow based on roles may break if the
roles
>>>are changed down the line. 
>>>b) Use the partyTypeId to distinguish. This seems like a cleaner
approach.
>>>However, I am unable to find out how and where partyTypeId is set. I
would
>>>expect to extend person with sub types as employee, contractor etc, say
as
>>>below
>>>
>>>>>partyTypeId="EMPLOYEE"/>
>>>>> parentTypeId="PERSON"
>>>partyTypeId="CONTRACTOR"/>
>>>
>>>Looking for some inputs/suggestions. 
>>>
>>>Thanks
>>>Arays
>>>-- 
>>>View this message in context:
http://www.nabble.com/fine-grained-party-tp25731734p25731734.html
>>>Sent from the OFBiz - User mailing list archive at Nabble.com.
>>>
>>>
>>>
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/fine-grained-party-tp25731734p25734852.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: fine grained party

2009-10-03 Thread ARays

ah! there definitely is a catch. However, if one were to have a
base/principal role/purpose (sort of their primary which is not expected to
change) then one can base some workflows on that.. To share my scenario, I
am looking to use ofbiz for back office use where the workflow changes quite
dramatically for employees vs contractors. They can obviously play different
roles such as sales clerk, manager, accountant etc, but the way they are
compensated for example is different. Not sure if that makes sense in the
context of ofbiz, but I am looking at ways to support such a scenario. For
example in PartyMgr Orders makes sense for customers, but may not as much
for employees and my intent is to have context specific (primary purpose of
their engagement) viewprofiles and be able to extend the datamodel
appropriately for each segment of user. 

As I mentioned I did consider using roles to differentiate, but then the
challenge may be that down the line someone might change or drop roles which
can complicate matters. The idea is to treat the primary purpose much like
the 'sex of a person' which is not expected to change in most cases if not
all ;-) 

- Arays



David E Jones-4 wrote:
> 
> 
> How would this handle a Party that is in multiple roles, as the current
> model does?
> 
> -David
> 
>  
> On Saturday, October 03, 2009, at 12:03PM, "ARays" 
> wrote:
>>
>>Hi, 
>>
>>I am trying to get party entries to be a little more fine grained. For now
>>it seems like there are only two types in use 'person' & 'partygroup'. The
>>view profile reflects this difference. However, I would like to control it
>>some more based on whether the party person is primarily an employee or
>>contractor etc. Which is a better option to go about the same? 
>>a) Use roles to distinguish between different types. This may cause
>>integrity problems since any workflow based on roles may break if the
roles
>>are changed down the line. 
>>b) Use the partyTypeId to distinguish. This seems like a cleaner approach.
>>However, I am unable to find out how and where partyTypeId is set. I would
>>expect to extend person with sub types as employee, contractor etc, say as
>>below
>>
>>>partyTypeId="EMPLOYEE"/>
>>>partyTypeId="CONTRACTOR"/>
>>
>>Looking for some inputs/suggestions. 
>>
>>Thanks
>>Arays
>>-- 
>>View this message in context:
http://www.nabble.com/fine-grained-party-tp25731734p25731734.html
>>Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/fine-grained-party-tp25731734p25734851.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: purchase invoice payment

2009-10-03 Thread Sharan-F

Hi Chris

At the moment I use 9.04 but am helping to put together the online help
documentation for the latest trunk so have been trying to keep up with the
changes happening there especially on the accounting side.

I think the trunk is looking a lot better accounting-wise but I just want to
give it a thorough test to be able to understand the processes before I
think about moving versions.

Jacques – On the business process story side  I've mentioned to David that
it's something I'd like to  contribute to but will finish the accounting
documentation first so I get a fuller picture of whats what.

Thanks
Sharan


jacques.le.roux wrote:
> 
> This may turn helpful (since Sharan gave much guidance details) as a new
> business story in the library...
> 
> Jacques
> 
> From: "Chris Snow" 
>> Hi Sharan,
>>
>> Which version of ofbiz do you normally prefer to go for?
>>
>> Many thanks,
>>
>> Chris
>>
>> Sharan-F wrote:
>>> Hi Chris
>>>
>>> No worries – I'm no OFBiz expert either and OFBiz was new to everyone at
>>> some point or other.
>>>
>>> The scenario you describe sounds like Indirect Purchasing so could be
>>> something like office supplies etc, rather than something that is
>>> directly
>>> part of a product or a product manufacturing process that will be on
>>> sold to
>>> customers.
>>>
>>> You're also talking about pre-payment here because you pay (via credit
>>> card)
>>> before the product itself gets delivered. A lot of purchasing processes
>>> have
>>> the product delivered first then they send the invoice and even then you
>>> get
>>> several days (or weeks or months!) in which to pay.
>>>
>>> It will probably depend on the number of these purchasing credit card
>>> transactions that will determine how you handle it. It there are a lot
>>> of
>>> them then you'd probably want to streamline it.
>>> What I've seen done before is an import of an electronic credit card
>>> statement where the payment is generated from the statement itself and
>>> then
>>> matched to the purchase invoice via reference numbers etc.
>>>
>>> Without knowing too much about your scope and thinking off the top of my
>>> head you could put something together that could create the payment
>>> automatically but you still might need some way to track the company
>>> credit
>>> card transactions like you would a bank account.  You'd probably want to
>>> track the credit limit for the card since you dont want the employee to
>>> spend $1001 when the credit card limit it $1000.You may also want  to
>>> setup
>>> a GL account to mirror the credit card transactions in the General
>>> Ledger
>>> for reconciliation and accounting purposes.
>>>
>>> Not sure if this helps much but hopefully someone else may respond with
>>> other ideas too.
>>>
>>> Thanks
>>> Sharan
>>>
>>>
>>> Chris Snow-3 wrote:
>>>
 Hi Sharan,
 Many thanks for the detailed reply.
 The type of scenario I was thinking about was where a company employee
 purchases a consumable product using company credit card. 
 The company is a small business and does not need a purchase order
 approval process.  I was thinking that because the payment 
 has already been made by credit card, having the payment as a separate
 step in ofbiz makes the process quite cumbersome.

 I apologize if my questions (and usage of ofbiz) seem stupid!

 Many thanks,

 Chris




 Sharan-F wrote:

> Hi Chris
>
> I'm not sure that you can automate a payment in this way in OFBiz and
> I'm
> not sure from a business perspective that you would want to take out
> the
> manual creation of payments to suppliers (since effectively you're
> taking
> out key verification / approval step).
>
> OFBiz can generate the purchase invoice for you if you use Order Entry
> to
> enter a Purchase Order to a supplier, then when  you  receive the
> purchase
> order products  Ofbiz will generate a 'pro forma' invoice (which in
> layman's
> terms is 'draft Purchase Invoice' based on the Purchase Order.) so it
> will
> contain the same costs and taxes as the original purchase order.
>
> When the real Purchase Invoice arrives you can enter any adjustments
> (eg
> perhaps they gave you a discount or there was a price increase that
> you
> werent aware of) and update the pro forma invoice so that it is
> correct,
> then you can approve it and pay it.
>
> I suppose similar to the 'pro forma invoice' concept you could create
> a
> 'pro
> forma payment' but you'd still need some form of manual approval to
> ensure
> that the company bank account will be able bear the cost of the
> payment.
> I've been on projects where we have implemented automatic Purchase
> Order/Goods Received Note(GRN) and payment voucher generation for
> purchase
> orders so I know there are businesses out there that do use it.
>>

Re: Running multiple ofbiz code on different ports of tomcat

2009-10-03 Thread James McGill
On Sat, Oct 3, 2009 at 4:01 AM, Vanita  wrote:

>
> It didn't solved my problem.
> Kindly,tell me where else i need to make changes?
>
>

You will have to change various ports in framework/base/config

You may want to change the bind address from 0.0.0.0 to the address of a
particular interface in ofbiz-containers.xml
and then change various ports for the connectors in that file.  (For
instance, ajp/8009, bsh -9990, and http/https (8080, 8443).)

I think there's also a JNDI port (1099) and a change here probably requires
corresponding changes elsewhere.

Personally, I think it's a better bet to use Apache as the front-end and
redirect on a per-URL basis to a single appserver config.
There are many benefits from using mod-proxy+mod-rewrite or  AJP.

We have several test / devel configurations of OFBiz, and use Xen VM's on
CentOS to manage them.  Then it's just a simple
ProxyPass / Location config in Apache to give them outside names, and we can
do stuff like host-based authentication, and it's easy to move things
around.


-- 
James McGill
Phoenix AZ


Re: fine grained party

2009-10-03 Thread David E. Jones

How would this handle a Party that is in multiple roles, as the current model 
does?

-David

 
On Saturday, October 03, 2009, at 12:03PM, "ARays"  wrote:
>
>Hi, 
>
>I am trying to get party entries to be a little more fine grained. For now
>it seems like there are only two types in use 'person' & 'partygroup'. The
>view profile reflects this difference. However, I would like to control it
>some more based on whether the party person is primarily an employee or
>contractor etc. Which is a better option to go about the same? 
>a) Use roles to distinguish between different types. This may cause
>integrity problems since any workflow based on roles may break if the roles
>are changed down the line. 
>b) Use the partyTypeId to distinguish. This seems like a cleaner approach.
>However, I am unable to find out how and where partyTypeId is set. I would
>expect to extend person with sub types as employee, contractor etc, say as
>below
>
>partyTypeId="EMPLOYEE"/>
>partyTypeId="CONTRACTOR"/>
>
>Looking for some inputs/suggestions. 
>
>Thanks
>Arays
>-- 
>View this message in context: 
>http://www.nabble.com/fine-grained-party-tp25731734p25731734.html
>Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>
>


fine grained party

2009-10-03 Thread ARays

Hi, 

I am trying to get party entries to be a little more fine grained. For now
it seems like there are only two types in use 'person' & 'partygroup'. The
view profile reflects this difference. However, I would like to control it
some more based on whether the party person is primarily an employee or
contractor etc. Which is a better option to go about the same? 
a) Use roles to distinguish between different types. This may cause
integrity problems since any workflow based on roles may break if the roles
are changed down the line. 
b) Use the partyTypeId to distinguish. This seems like a cleaner approach.
However, I am unable to find out how and where partyTypeId is set. I would
expect to extend person with sub types as employee, contractor etc, say as
below




Looking for some inputs/suggestions. 

Thanks
Arays
-- 
View this message in context: 
http://www.nabble.com/fine-grained-party-tp25731734p25731734.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: Calling simple method from another component

2009-10-03 Thread ARays

ah! amazing.. 

Many thanks.
Arays



Mridul Pathak-2 wrote:
> 
> Following code will serve your purpose:
> 
> 
>  "component://party/script/org/ofbiz/party/user/UserEvents.xml"/>
> 
> -- 
> Thanks & Regards
> Mridul Pathak
> Hotwax Media
> http://www.hotwaxmedia.com
> mridul.pat...@hotwaxmedia.com
> -
> direct: +91 - 942.592.6892
> 
> 
> On Sat, Oct 3, 2009 at 3:26 PM, ARays  wrote:
> 
>>
>> Hi,
>>
>> I am trying to extend PartyMgr application to cover a few additional
>> types
>> of uses besides Employee, Customer types, for example 'Viewer'. As just
>> have
>> created a new component called 'myapp' under hot-deploy folder and have
>> been
>> able to get the forms showing. The form submit now goes through request
>> mapping fine in controller.xml (under myapp). See snippet below
>>
>>
>>
>>> path="component://viewer/script/org/ofbiz/party/user/UserEvents.xml"
>> invoke="createViewer"/>
>>> value="viewprofile"/>
>>
>>
>>
>> "createViewer" code is on the lines similar to "createEmployee" that is
>> available in UserEvents.xml under party component.
>>
>> The trouble is createViewer method in turn needs to call
>>   
>>
>> createUser method is still under Party application and I looking to see
>> if
>> I
>> can avoid duplicating the code and directly point to the orginal
>> createUser
>> method. Tried setting up a servicedef with the full package name like
>> below
>> but no luck.
>>
>>> default-entity-name="Person"
>>location="org.ofbiz.party.party.PartyServices"
>> invoke="createUser" auth="false">
>>
>> Any pointers to what I may be missing?
>>
>> Thanks
>> Aray
>> --
>> View this message in context:
>> http://www.nabble.com/Calling-simple-method-from-another-component-tp25727271p25727271.html
>> Sent from the OFBiz - User mailing list archive at Nabble.com.
>>
>>
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Calling-simple-method-from-another-component-tp25727271p25729928.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: Running multiple ofbiz code on different ports of tomcat

2009-10-03 Thread Carsten Schinzer
Vanita,

with the guidance given above you are able to control the listen port of
your ofbiz instance.

If I get your requirement correctly, you want to run two different instances
of ofbiz running on the same machine using different ports to be accessed?
So you need to have two copies of ofbiz in different logical paths on your
machine (well, you could run with one copy, but then that concept works only
on unix/linux and requires (a) deep level ofbiz config knowledge and (b)
some extended symlinking).

Well, moreover, your URLs will then not look nice. For example if you
configure your instance of OFBiz to listen on ports 18080 ans 28080. then
each user needs to know the appropriate ports to add into URI which will
then look like:
Instance A: http://localhost:18080/ecommerce/control/main
Instance B: http://localhost:28080/ecommerce/control/main

A very typical practice to "hide" these details from users is to use an
Apache in front of your ofbiz that translates a certain URL into the
destination using portmapping. Of course you could also have a network
device (Content Switch, Load Balancer, etc.) do this mapping for you.

Let me know if this goes the direction of your original question...

Regards


Carsten

2009/10/3 Vanita 

>
> It didn't solved my problem.
> Kindly,tell me where else i need to make changes?
>
> Vanita
>
> Vanita wrote:
> >
> > Hi
> >
> > I need to run ofbiz application on two different ports of tomcat.
> > Can anyone provide me all the required steps for it?
> >
> > Thanks in advance.
> >
> > Regards
> > Vanita Jain
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Running-multiple-ofbiz-code-on-different-ports-of-tomcat-tp25694873p25727738.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>


-- 

Best

Carsten Schinzer

Waisenhausstr. 53a
80637 München
Germany


Re: Little annoyance in the UI when entering order

2009-10-03 Thread Cimballi
Done here : https://issues.apache.org/jira/browse/OFBIZ-2996

Cimballi


On Sat, Oct 3, 2009 at 5:25 AM, Jacques Le Roux
 wrote:
> Hi Cimballi,
>
> Yes indeed, there is a quirk there. Could you please create a Jira ?
>
> Thanks
>
> Jacques
>
> From: "Cimballi" 
>>
>> Hi,
>>
>> I found a little annoyance in the UI when entering order.
>> If the customer doesn't have a credit card, then the process propose
>> him to create one, but at the end of the creation of the credit card,
>> the UI is redirected at the first order summary screen, it doesn't
>> continue.
>> It's not so bad because if you click on finalize it shows you the next
>> screen after the credit card creation.
>>
>> Version ofbiz-rel9.04-2009-09-25-v818777.
>>
>> Cimballi
>>
>
>


Re: How to integrate ofbiz in JBoss

2009-10-03 Thread Gnanashankar Shanmugam
hi arun,
i followed your steps, i Created keystore file as you told, but still i am
getting error. I can not open jboss webserver page. below i pasted when i
start Jboss server, give me any idea to debug this error...Thanks In
advance..


org.jboss.deployment.deploymenti...@6b168046 {
url=file:/C:/JBoss-Ofbiz/jboss-4
2.2.GA/server/default/deploy/ofbiz.ear/manufacturing.war/ }
  deployer: MBeanProxyExt[jboss.web:service=WebServer]
  status: Created
  state: CREATED
  watch: file:/C:/JBoss-Ofbiz/
jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/ma
ufacturing.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1254567329593
  lastModified: 1254372914765
  mbeans:

org.jboss.deployment.deploymenti...@965e {
url=file:/C:/JBoss-Ofbiz/jboss-4
2.2.GA/server/default/deploy/ofbiz.ear/marketing.war/ }
  deployer: MBeanProxyExt[jboss.web:service=WebServer]
  status: Created
  state: CREATED
  watch: file:/C:/JBoss-Ofbiz/
jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/ma
keting.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1254567329750
  lastModified: 1254372921421
  mbeans:

org.jboss.deployment.deploymenti...@7e126752 {
url=file:/C:/JBoss-Ofbiz/jboss-4
2.2.GA/server/default/deploy/ofbiz.ear/multiflex.war/ }
  deployer: MBeanProxyExt[jboss.web:service=WebServer]
  status: Created
  state: CREATED
  watch: file:/C:/JBoss-Ofbiz/
jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/mu
tiflex.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1254567329765
  lastModified: 1254372983109
  mbeans:

org.jboss.deployment.deploymenti...@eca2a884 {
url=file:/C:/JBoss-Ofbiz/jboss-4
2.2.GA/server/default/deploy/ofbiz.ear/myportal.war/ }
  deployer: MBeanProxyExt[jboss.web:service=WebServer]
  status: Created
  state: CREATED
  watch: file:/C:/JBoss-Ofbiz/
jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/my
ortal.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1254567329796
  lastModified: 1254372929828
  mbeans:

org.jboss.deployment.deploymenti...@e0c92965 {
url=file:/C:/JBoss-Ofbiz/jboss-4
2.2.GA/server/default/deploy/ofbiz.ear/oagis.war/ }
  deployer: MBeanProxyExt[jboss.web:service=WebServer]
  status: Created
  state: CREATED
  watch: file:/C:/JBoss-Ofbiz/
jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/oa
is.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1254567329812
  lastModified: 1254372928656
  mbeans:

org.jboss.deployment.deploymenti...@caab6068 {
url=file:/C:/JBoss-Ofbiz/jboss-4
2.2.GA/server/default/deploy/ofbiz.ear/ofbiz.war/ }
  deployer: MBeanProxyExt[jboss.web:service=WebServer]
  status: Created
  state: CREATED
  watch: file:/C:/JBoss-Ofbiz/
jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/of
iz.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1254567329828
  lastModified: 1254372927890
  mbeans:

org.jboss.deployment.deploymenti...@7eb0a0d2 {
url=file:/C:/JBoss-Ofbiz/jboss-4
2.2.GA/server/default/deploy/ofbiz.ear/ordermgr.war/ }
  deployer: MBeanProxyExt[jboss.web:service=WebServer]
  status: Created
  state: CREATED
  watch: file:/C:/JBoss-Ofbiz/
jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/or
ermgr.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1254567329843
  lastModified: 1254372920781
  mbeans:

org.jboss.deployment.deploymenti...@6d161c6a {
url=file:/C:/JBoss-Ofbiz/jboss-4
2.2.GA/server/default/deploy/ofbiz.ear/partymgr.war/ }
  deployer: MBeanProxyExt[jboss.web:service=WebServer]
  status: Created
  state: CREATED
  watch: file:/C:/JBoss-Ofbiz/
jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/pa
tymgr.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1254567329859
  lastModified: 1254372907734
  mbeans:

org.jboss.deployment.deploymenti...@c2afae9d {
url=file:/C:/JBoss-Ofbiz/jboss-4
2.2.GA/server/default/deploy/ofbiz.ear/projectmgr.war/ }
  deployer: MBeanProxyExt[jboss.web:service=WebServer]
  status: Created
  state: CREATED
  watch: file:/C:/JBoss-Ofbiz/
jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/pr
jectmgr.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1254567329890
  lastModified: 1254372928359
  mbeans:
org.jboss.deployment.deploymenti...@d14da016 {
url=file:/C:/JBoss-Ofbiz/jboss-4
2.2.GA/server/default/deploy/ofbiz.ear/sfa.war/ }
  deployer: MBeanProxyExt[jboss.web:service=WebServer]
  status: Created
  state: CREATED
  watch: file:/C:/JBoss-Ofbiz/
jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/sf
.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1254567329890
  lastModified: 1254372921750
  mbeans:

org.jboss.deployment.deploymenti...@b3e254af {
url=file:/C:/JBoss-Ofbiz/jboss-4
2.2.GA/server/default/deploy/ofbiz.ear/smoothfeather.war/ }
  deployer: MBeanProxyExt[jboss.web:service=WebServer]
  status: Created
  state: CREATED
  watch: file:/C:/JBoss-Ofbiz/
jboss-4.2.2.GA/server/default/deploy/ofbiz.ear/sm
othfeather.war/WEB-INF/web.xml
  altDD: null
  lastDeployed: 1254567329921
  lastModified: 1254372906781
  mbeans:

org.jboss.deployment.deploymenti...@4e7a1b81 {
url=file:/C:/JBoss-Ofbiz/jboss-4
2.2.GA/server/default/deploy/ofbiz.ear/tempfiles.war/ }
  deployer: MBeanProxyExt[jboss.

Re: Running multiple ofbiz code on different ports of tomcat

2009-10-03 Thread Vanita

It didn't solved my problem.
Kindly,tell me where else i need to make changes?

Vanita

Vanita wrote:
> 
> Hi
> 
> I need to run ofbiz application on two different ports of tomcat.
> Can anyone provide me all the required steps for it?
> 
> Thanks in advance.
> 
> Regards
> Vanita Jain
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Running-multiple-ofbiz-code-on-different-ports-of-tomcat-tp25694873p25727738.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: Calling simple method from another component

2009-10-03 Thread Mridul Pathak
Following code will serve your purpose:




-- 
Thanks & Regards
Mridul Pathak
Hotwax Media
http://www.hotwaxmedia.com
mridul.pat...@hotwaxmedia.com
-
direct: +91 - 942.592.6892


On Sat, Oct 3, 2009 at 3:26 PM, ARays  wrote:

>
> Hi,
>
> I am trying to extend PartyMgr application to cover a few additional types
> of uses besides Employee, Customer types, for example 'Viewer'. As just
> have
> created a new component called 'myapp' under hot-deploy folder and have
> been
> able to get the forms showing. The form submit now goes through request
> mapping fine in controller.xml (under myapp). See snippet below
>
>
>
> path="component://viewer/script/org/ofbiz/party/user/UserEvents.xml"
> invoke="createViewer"/>
> value="viewprofile"/>
>
>
>
> "createViewer" code is on the lines similar to "createEmployee" that is
> available in UserEvents.xml under party component.
>
> The trouble is createViewer method in turn needs to call
>   
>
> createUser method is still under Party application and I looking to see if
> I
> can avoid duplicating the code and directly point to the orginal createUser
> method. Tried setting up a servicedef with the full package name like below
> but no luck.
>
>location="org.ofbiz.party.party.PartyServices"
> invoke="createUser" auth="false">
>
> Any pointers to what I may be missing?
>
> Thanks
> Aray
> --
> View this message in context:
> http://www.nabble.com/Calling-simple-method-from-another-component-tp25727271p25727271.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>


Re: Error Message

2009-10-03 Thread Jacques Le Roux

I get any problems with trunk, but yes there is a problem in 9.04.
Coud you please create a Jira issue ?
http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best+Practices

Thanks

Jacques

From: "R. S." 

Hello Everybody,

I hope somebody can help me. I get following Error Message when I`m 
logged in as admin and try to find some orders over "find orders". When 
I type nothing in the field Order-Id nothing happens but when I type 
something like the Order-Id in the field "Order-Id", I get following 
Error Message:


org.ofbiz.widget.screen.ScreenRenderException: Error rendering screen 
[component://order/widget/ordermgr/OrderViewScreens.xml#OrderHeaderView]: 
groovy.lang.MissingPropertyException: No such property: orderItems for 
class: OrderView (No such property: orderItems for class: OrderView)


I get the same Error Message when I fire following request: 
https://localhost:8443/ordermgr/control/orderview


Version: Ofbiz 9.4 819460
Thanks in advance!

Rudolf






Re: purchase invoice payment

2009-10-03 Thread Jacques Le Roux

This may turn helpful (since Sharan gave much guidance details) as a new 
business story in the library...

Jacques

From: "Chris Snow" 

Hi Sharan,

Which version of ofbiz do you normally prefer to go for?

Many thanks,

Chris

Sharan-F wrote:

Hi Chris

No worries – I'm no OFBiz expert either and OFBiz was new to everyone at
some point or other.

The scenario you describe sounds like Indirect Purchasing so could be
something like office supplies etc, rather than something that is directly
part of a product or a product manufacturing process that will be on sold to
customers.

You're also talking about pre-payment here because you pay (via credit card)
before the product itself gets delivered. A lot of purchasing processes have
the product delivered first then they send the invoice and even then you get
several days (or weeks or months!) in which to pay.

It will probably depend on the number of these purchasing credit card
transactions that will determine how you handle it. It there are a lot of
them then you'd probably want to streamline it.
What I've seen done before is an import of an electronic credit card
statement where the payment is generated from the statement itself and then
matched to the purchase invoice via reference numbers etc.

Without knowing too much about your scope and thinking off the top of my
head you could put something together that could create the payment
automatically but you still might need some way to track the company credit
card transactions like you would a bank account.  You'd probably want to
track the credit limit for the card since you dont want the employee to
spend $1001 when the credit card limit it $1000.You may also want  to setup
a GL account to mirror the credit card transactions in the General Ledger
for reconciliation and accounting purposes.

Not sure if this helps much but hopefully someone else may respond with
other ideas too.

Thanks
Sharan


Chris Snow-3 wrote:


Hi Sharan,
Many thanks for the detailed reply.
The type of scenario I was thinking about was where a company employee purchases a consumable product using company credit card. 
The company is a small business and does not need a purchase order approval process.  I was thinking that because the payment 
has already been made by credit card, having the payment as a separate step in ofbiz makes the process quite cumbersome.


I apologize if my questions (and usage of ofbiz) seem stupid!

Many thanks,

Chris




Sharan-F wrote:


Hi Chris

I'm not sure that you can automate a payment in this way in OFBiz and I'm
not sure from a business perspective that you would want to take out the
manual creation of payments to suppliers (since effectively you're taking
out key verification / approval step).

OFBiz can generate the purchase invoice for you if you use Order Entry to
enter a Purchase Order to a supplier, then when  you  receive the
purchase
order products  Ofbiz will generate a 'pro forma' invoice (which in
layman's
terms is 'draft Purchase Invoice' based on the Purchase Order.) so it
will
contain the same costs and taxes as the original purchase order.

When the real Purchase Invoice arrives you can enter any adjustments (eg
perhaps they gave you a discount or there was a price increase that you
werent aware of) and update the pro forma invoice so that it is correct,
then you can approve it and pay it.

I suppose similar to the 'pro forma invoice' concept you could create a
'pro
forma payment' but you'd still need some form of manual approval to
ensure
that the company bank account will be able bear the cost of the payment.
I've been on projects where we have implemented automatic Purchase
Order/Goods Received Note(GRN) and payment voucher generation for
purchase
orders so I know there are businesses out there that do use it.

Thanks
Sharan


Chris Snow-3 wrote:


If I receive enter a purchase invoice into ofbiz when I receive a
vendors
invoice, I have to:

- raise the purchase invoice
- raise an outgoing payment and apply to the purchase invoice.

Is it possible to combine the steps, i.e. raising the invoice and
automatically generate the payment for the invoice and apply it to the
invoice?

Many thanks in advance,

Chri


















Re: Little annoyance in the UI when entering order

2009-10-03 Thread Jacques Le Roux

Hi Cimballi,

Yes indeed, there is a quirk there. Could you please create a Jira ?

Thanks

Jacques

From: "Cimballi" 

Hi,

I found a little annoyance in the UI when entering order.
If the customer doesn't have a credit card, then the process propose
him to create one, but at the end of the creation of the credit card,
the UI is redirected at the first order summary screen, it doesn't
continue.
It's not so bad because if you click on finalize it shows you the next
screen after the credit card creation.

Version ofbiz-rel9.04-2009-09-25-v818777.

Cimballi





Calling simple method from another component

2009-10-03 Thread ARays

Hi, 

I am trying to extend PartyMgr application to cover a few additional types
of uses besides Employee, Customer types, for example 'Viewer'. As just have
created a new component called 'myapp' under hot-deploy folder and have been
able to get the forms showing. The form submit now goes through request
mapping fine in controller.xml (under myapp). See snippet below








"createViewer" code is on the lines similar to "createEmployee" that is
available in UserEvents.xml under party component. 

The trouble is createViewer method in turn needs to call 
   

createUser method is still under Party application and I looking to see if I
can avoid duplicating the code and directly point to the orginal createUser
method. Tried setting up a servicedef with the full package name like below
but no luck. 



Any pointers to what I may be missing? 

Thanks
Aray
-- 
View this message in context: 
http://www.nabble.com/Calling-simple-method-from-another-component-tp25727271p25727271.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: MyPortal Integration

2009-10-03 Thread Vanita

Hi

I cannot update my existing structure as i've done many changes in the
May,09 code which i cannot revert back.
Kindly,tell me some other solution for it.

regards
Vanita



hansbak wrote:
> 
> Hi Vanita,
> If i were you i would upgrade the code of the existing system.
> 
> If you do not want to do that, check all changes to
> the /specialpurpose/myportal directory. (svn log command)
> 
> then your error message: "No data seed or You may be using old data"
> is rather strange because I could not find it in the latest trunk.
> 
> Regards,
> Hans
> 
> 
> On Sat, 2009-10-03 at 01:25 -0700, vanita jain wrote:
>> Hi
>> 
>> My Ofbiz application is using May,09 release code. I want to integrate
>> new code of MyPortal to the existing code. But its giving an error: No
>> data seed or You may be using old data.I've also compared Ofbiz's current
>> table with my existing tables which are not updated according to Ofbiz
>> code.
>> Can anyone tell me the resolution of this problem?
>> Thanks in advance.
>> 
>> Regards
>> Vanita Jain
> -- 
> Antwebsystems.com: Quality OFBiz services for competitive rates
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/MyPortal-Integration-tp25726707p25727108.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: purchase invoice payment

2009-10-03 Thread Chris Snow

Hi Sharan,

Which version of ofbiz do you normally prefer to go for?

Many thanks,

Chris

Sharan-F wrote:

Hi Chris

No worries – I'm no OFBiz expert either and OFBiz was new to everyone at
some point or other.

The scenario you describe sounds like Indirect Purchasing so could be
something like office supplies etc, rather than something that is directly
part of a product or a product manufacturing process that will be on sold to
customers.

You're also talking about pre-payment here because you pay (via credit card)
before the product itself gets delivered. A lot of purchasing processes have
the product delivered first then they send the invoice and even then you get
several days (or weeks or months!) in which to pay.

It will probably depend on the number of these purchasing credit card
transactions that will determine how you handle it. It there are a lot of
them then you'd probably want to streamline it. 


What I've seen done before is an import of an electronic credit card
statement where the payment is generated from the statement itself and then
matched to the purchase invoice via reference numbers etc.

Without knowing too much about your scope and thinking off the top of my
head you could put something together that could create the payment
automatically but you still might need some way to track the company credit
card transactions like you would a bank account.  You'd probably want to
track the credit limit for the card since you dont want the employee to
spend $1001 when the credit card limit it $1000.You may also want  to setup
a GL account to mirror the credit card transactions in the General Ledger
for reconciliation and accounting purposes.

Not sure if this helps much but hopefully someone else may respond with
other ideas too.

Thanks
Sharan


Chris Snow-3 wrote:
  
Hi Sharan, 

Many thanks for the detailed reply. 

The type of scenario I was thinking about was where a company employee 
purchases a consumable product using company credit card.  The company 
is a small business and does not need a purchase order approval 
process.  I was thinking that because the payment has already been made 
by credit card, having the payment as a separate step in ofbiz makes the 
process quite cumbersome.


I apologize if my questions (and usage of ofbiz) seem stupid!

Many thanks,

Chris




Sharan-F wrote:


Hi Chris

I'm not sure that you can automate a payment in this way in OFBiz and I'm
not sure from a business perspective that you would want to take out the
manual creation of payments to suppliers (since effectively you're taking
out key verification / approval step).

OFBiz can generate the purchase invoice for you if you use Order Entry to
enter a Purchase Order to a supplier, then when  you  receive the
purchase
order products  Ofbiz will generate a 'pro forma' invoice (which in
layman's
terms is 'draft Purchase Invoice' based on the Purchase Order.) so it
will
contain the same costs and taxes as the original purchase order.

When the real Purchase Invoice arrives you can enter any adjustments (eg
perhaps they gave you a discount or there was a price increase that you
werent aware of) and update the pro forma invoice so that it is correct,
then you can approve it and pay it.

I suppose similar to the 'pro forma invoice' concept you could create a
'pro
forma payment' but you'd still need some form of manual approval to
ensure
that the company bank account will be able bear the cost of the payment. 


I've been on projects where we have implemented automatic Purchase
Order/Goods Received Note(GRN) and payment voucher generation for
purchase
orders so I know there are businesses out there that do use it.

Thanks
Sharan


Chris Snow-3 wrote:
  
  

If I receive enter a purchase invoice into ofbiz when I receive a
vendors
invoice, I have to:

- raise the purchase invoice
- raise an outgoing payment and apply to the purchase invoice.

Is it possible to combine the steps, i.e. raising the invoice and
automatically generate the payment for the invoice and apply it to the
invoice?

Many thanks in advance,

Chri




  
  





  




Re: Server Hardware for Ofbiz hosting

2009-10-03 Thread Jacques Le Roux

Thanks David

I put it in FAQ

Jacques

From: "David E Jones" 
Because customizations can dramatically change the performance  
characteristics of OFBiz it is a good idea to always do performance  
and load testing once development is complete.


That said... a decent mid-range server (dual processor, 4GB RAM for  
example) can typically handle a peak of about 100,000 page hits per  
hour, or that's what I use as a typical rule of thumb for early  
estimates. Typically the peak hours are concentrated into certain  
times of day, and as another rule of thumb I usually use an effective  
10 hour day for estimates, so that makes roughly 1,000,000 page hits  
per day.


In short your estimate of 100,000 page hits per day is WELL within  
what a single server can handle, even with the database and app server  
running on the same machine.


-David


On Sep 1, 2009, at 10:20 AM, masionas wrote:



hi Guys,

I have a couple of questions regarding  the best server  
configurations to

run Ofbiz smoothly to handle about 100 000 hits per day.

1) What will be the best hardware requirements to achieve this?
2) We can go with either  Dual Core or Quad Core - will there be a
noticeable difference in performance? In other words is it worth to  
go with

Quad Core?
3) Will the 4GB of RAM be sufficient or better to go with 8MB?
4) I would appreciate on some sample hardware configs for ofbiz used  
on real

production systems with busy websites.

Thank you  in advance.

Best Regards,
Michael
--
View this message in context: 
http://www.nabble.com/Server-Hardware-for-Ofbiz-hosting-tp25243388p25243388.html
Sent from the OFBiz - User mailing list archive at Nabble.com.







Re: MyPortal Integration

2009-10-03 Thread Hans Bakker
Hi Vanita,
If i were you i would upgrade the code of the existing system.

If you do not want to do that, check all changes to
the /specialpurpose/myportal directory. (svn log command)

then your error message: "No data seed or You may be using old data"
is rather strange because I could not find it in the latest trunk.

Regards,
Hans


On Sat, 2009-10-03 at 01:25 -0700, vanita jain wrote:
> Hi
> 
> My Ofbiz application is using May,09 release code. I want to integrate new 
> code of MyPortal to the existing code. But its giving an error: No data seed 
> or You may be using old data.I've also compared Ofbiz's current table with my 
> existing tables which are not updated according to Ofbiz code.
> Can anyone tell me the resolution of this problem?
> Thanks in advance.
> 
> Regards
> Vanita Jain
-- 
Antwebsystems.com: Quality OFBiz services for competitive rates



Re: MyPortal Integration

2009-10-03 Thread Jacques Le Roux

Did you try to follow
http://docs.ofbiz.org/display/OFBTECH/Revisions+Requiring+Data+Migration ?

Jacques

From: "vanita jain" 
Hi

My Ofbiz application is using May,09 release code. I want to integrate new code of MyPortal to the existing code. But its giving an 
error: No data seed or You may be using old data.I've also compared Ofbiz's current table with my existing tables which are not 
updated according to Ofbiz code.

Can anyone tell me the resolution of this problem?
Thanks in advance.

Regards
Vanita Jain




MyPortal Integration

2009-10-03 Thread vanita jain
Hi

My Ofbiz application is using May,09 release code. I want to integrate new code 
of MyPortal to the existing code. But its giving an error: No data seed or You 
may be using old data.I've also compared Ofbiz's current table with my existing 
tables which are not updated according to Ofbiz code.
Can anyone tell me the resolution of this problem?
Thanks in advance.

Regards
Vanita Jain