Accounting UI, custom time period, errors

2010-11-27 Thread Anne Jessel
Hi

Editing of custom time periods on demo-trunk.ofbiz.apache.org in the
accounting section seems to have a bug.

Go to Accounting Manager, Global GL Settings, Edit Custom Time Periods.

On this screen is a warning that children have no parent period. And
none of the displayed time periods have a parent displayed.

I would expect that if I choose parent ID 6010 for the first row (id
6011), then choose Update, that time period 6010 would become parent
of 6011. However instead I see an error that the fromDate and thruDate
are unparseable.

It appears the data is correct, as if I choose set as current for
time period with id 6010, the 6011 (and others) are then listed as its
children.

Cheers,
Anne.

-- 
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Phone: (03) 9585 6788
Fax: (03) 9585 1086
Web: http://www.cohsoft.com.au/
Email: sa...@cohsoft.com.au

Bonsai ERP, the all-inclusive ERP system
http://www.bonsaierp.com.au/


ProductStoreForms.xml does not validate

2010-11-26 Thread Anne Jessel
Hi

I'm seeing an error message in the logs with a fairly recent trunk
(maybe 2 weeks old).

UtilXml.java:1060:ERROR] XmlFileLoader: File
file:/test/applications/product/widget/catalog/ProductStoreForms.xml
process error. Line: 28. Error message: cvc-complex-type.2.4.a:
Invalid content was found starting with element 'order-by'. One of
'{field-map}' is expected.

Not surprisingly, the xml does not validate.

Not sure what the right fix is, so I'm hoping whoever created this bit
of code knows what it should be, and can fix it.

Cheers,
Anne.

-- 
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Phone: (03) 9585 6788
Fax: (03) 9585 1086
Web: http://www.cohsoft.com.au/
Email: sa...@cohsoft.com.au

Bonsai ERP, the all-inclusive ERP system
http://www.bonsaierp.com.au/


Re: Submitting co-dependent patches

2010-11-17 Thread Anne Jessel
Done, at OFBIZ-4024.

Let me know if it needs any changes.

Cheers,
Anne.

On 17 November 2010 21:39, Jacques Le Roux jacques.le.r...@les7arts.com wrote:
 I'd suggest to 1st create a Jira, attach the big patch and then we will see

 Thanks

 Jacques

 From: Anne Jessel a...@cohsoft.com.au

 Hi

 I've been adding some small enhancements to the display of products in
 ecommerce. Most of the changes are modifications to
 productdetails.ftl.

 I'd like to submit my changes, but if I submit one big patch it'll be
 difficult for anyone to review. If I submit several small patches, one
 per feature added, they'll be a lot easier to review. But the moment
 one of the patches is applied, the others will no longer apply
 cleanly.

 What is the recommended procedure? I don't mind submitting one patch
 per feature, and re-submitting new versions of pending ones as each is
 accepted. But if there's a simpler approach, I'm happy to do it!

 Cheers,
 Anne.

 --
 Coherent Software Australia Pty Ltd
 PO Box 2773
 Cheltenham Vic 3192
 Phone: (03) 9585 6788
 Fax: (03) 9585 1086
 Web: http://www.cohsoft.com.au/
 Email: sa...@cohsoft.com.au

 Bonsai ERP, the all-inclusive ERP system
 http://www.bonsaierp.com.au/






-- 
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Phone: (03) 9585 6788
Fax: (03) 9585 1086
Web: http://www.cohsoft.com.au/
Email: sa...@cohsoft.com.au

Bonsai ERP, the all-inclusive ERP system
http://www.bonsaierp.com.au/


Re: UEL exception: title-property vs titleProperty?

2010-11-16 Thread Anne Jessel
Jira issue created, with patch attached. JIRA-4018.

As I commented on Jira, some of the labels referred to were not
present in the Order module. I copied the corresponding ones from
Ecommerce. My guess is that part is a hangover from when ecommerce was
under applications.

Adrian, I believe everything that should be a String already is. The
mis-typed fieldname is confusing the system into thinking it isn't a
String when in fact it already is.

Cheers,
Anne.


On 17 November 2010 02:49, Adrian Crum adri...@hlmksw.com wrote:
 Erwan,

 Keep in mind that in UEL, title-property evaluates to subtract property
 from title. So, fixing this error will require converting the expression to
 a String.

 -Adrian

 On 11/16/2010 1:04 AM, Erwan de FERRIERES wrote:

 Le 16/11/2010 06:36, Anne Jessel a écrit :

 Hi

 I'm seeing the following in logs:

 [FlexibleMapAccessor.java:163:ERROR] UEL exception while setting
 value: javax.el.ELException: Cannot set value of a non-lvalue
 expression 'title - property', original = title-property

 I think it's caused by this in the quickFinalizeOrder screen in
 OrderEntryOrderScreens.xml in ordermgr:

 set field=title-property value=PageTitleCheckoutOptions/

 It seems that title-property should be titleProperty? Is this correct?

 If so, OrderEntryCatalogScreens.xml has the same problem.

 Should I create a Jira issue and a patch?

 Cheers,
 Anne.

 Hi Anne,

 this would be the best solution.
 I will then review your patch !

 Cheers,





-- 
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Phone: (03) 9585 6788
Fax: (03) 9585 1086
Web: http://www.cohsoft.com.au/
Email: sa...@cohsoft.com.au

Bonsai ERP, the all-inclusive ERP system
http://www.bonsaierp.com.au/


Submitting co-dependent patches

2010-11-16 Thread Anne Jessel
Hi

I've been adding some small enhancements to the display of products in
ecommerce. Most of the changes are modifications to
productdetails.ftl.

I'd like to submit my changes, but if I submit one big patch it'll be
difficult for anyone to review. If I submit several small patches, one
per feature added, they'll be a lot easier to review. But the moment
one of the patches is applied, the others will no longer apply
cleanly.

What is the recommended procedure? I don't mind submitting one patch
per feature, and re-submitting new versions of pending ones as each is
accepted. But if there's a simpler approach, I'm happy to do it!

Cheers,
Anne.

-- 
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Phone: (03) 9585 6788
Fax: (03) 9585 1086
Web: http://www.cohsoft.com.au/
Email: sa...@cohsoft.com.au

Bonsai ERP, the all-inclusive ERP system
http://www.bonsaierp.com.au/


UEL exception: title-property vs titleProperty?

2010-11-15 Thread Anne Jessel
Hi

I'm seeing the following in logs:

[FlexibleMapAccessor.java:163:ERROR] UEL exception while setting
value: javax.el.ELException: Cannot set value of a non-lvalue
expression 'title - property', original = title-property

I think it's caused by this in the quickFinalizeOrder screen in
OrderEntryOrderScreens.xml in ordermgr:

  set field=title-property value=PageTitleCheckoutOptions/

It seems that title-property should be titleProperty? Is this correct?

If so, OrderEntryCatalogScreens.xml has the same problem.

Should I create a Jira issue and a patch?

Cheers,
Anne.

-- 
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Phone: (03) 9585 6788
Fax: (03) 9585 1086
Web: http://www.cohsoft.com.au/
Email: sa...@cohsoft.com.au

Bonsai ERP, the all-inclusive ERP system
http://www.bonsaierp.com.au/


Re: Where did this go?

2009-09-09 Thread Anne Jessel
Hi Ruth

No problems. Just trying to stimulate other ways of thinking about
things, in case there's a good reason for not changing anything, or
for changing things in new and different ways. I personally was happy
with the old way, and am just as happy with the new way.

Not having a preference makes me more likely to argue in favour of the
side no one else is supporting. ;-)

Cheers,
Anne.

2009/9/8 Ruth Hoffman rhoff...@aesolves.com:
 Hi Anne:
 I appreciate your comments.

 In my experience, the store logo almost always remains the same. For
 example, look at Amazon. No matter where you go on any Amazon site you see
 the same store logo. The catalog and category image logos may change, but
 the store logo (the one in the header at the top and left of the page)
 remains the same. IMHO, no store owner would want more than one
 company/store logo. After all, branding is all about getting people to
 recognize your logo and then associate that with something. If you have more
 than one store logo... well that just makes branding that much more
 difficult.

 BTW, I'm not saying don't allow setting of logo's per catalog. Certainly we
 would want to preserve that. You can still do that  on category pages. IMHO,
 that is where that kind of branding belongs. I'm only suggesting that
 whoever decided to take away the ability to set the store logo (top left
 image on the store website header) in the Catalog Manager did not consider
 the full impact of what they did.

 Just my 2 cents.
 Ruth
 Anne Jessel wrote:

 Hi,

 I can't think of any advantages for having the logo set for the
 product store rather than for the catalog, as it is now (both in
 Catalog Manager). I presume there was some reason the setting was
 previously moved from product store to the catalog.

 Setting per catalog rather than per store does make some sense to me.
 I imagine a store might sell different lines of goods as different
 catalogs, and might want a different logo for each. Perhaps a clothing
 store has a different logo for their adult clothing versus their
 children's clothing? Or a reseller of two or more well known brands
 might use a different catalog for each brand, and want the brand logo
 displayed depending on the user's chosen catalog.

 I have no idea whether the above makes sense. Feel free to ignore it.
 Just throwing the thought out there, because presumably someone had a
 reason for moving the setting from the product store settings to the
 catalog settings in Catalog Manager.

 Cheers,
 Anne.

 2009/9/7 Ruth Hoffman rhoff...@aesolves.com:


 Hi Scott:
 This is a great idea, however I would argue that the logo in question is
 not
 part of the theme (colors, fonts, layout)  but rather a part of the
 content
 for the header. I still say it should be put back into the store
 management
 portion of the Catalog Manager. I have created a Jira issue #2898.

 Just my 2 cents.
 Ruth

 Scott Gray wrote:


 No that just specifies the visual theme set to use for the web site i.e.
 ECOMMERCE or BACKOFFICE.

 I think what we really need is some visual theme management screens
 where
 you can change this sort of thing.

 Regards
 Scott

 HotWax Media
 http://www.hotwaxmedia.com

 On 7/09/2009, at 8:32 PM, Erwan de FERRIERES wrote:



 Maybe what you are looking for is this :

 https://localhost:8443/content/control/EditWebSite?webSiteId=WebStore

 In the bottom part of the list, you can select the visual theme for
 your
 store.

 HTH

 Le 06/09/2009 20:18, Ruth Hoffman a écrit :


 Hi BJ:
 I submitted a bug report. This is a bug. IMHO, themes should not
 disable
 this feature. For example, they don't disable putting a Title and
 Sub-title on the store's header. Why disable the dynamic logo
 replacement?


 ../..
 - Erwan -









-- 
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Phone: (03) 9585 6788
Fax: (03) 9585 1086
Web: http://www.cohsoft.com.au/
Email: sa...@cohsoft.com.au

Bonsai ERP, the all-inclusive ERP system
http://www.bonsaierp.com.au/


Re: ant run-install and mysql problems

2009-09-05 Thread Anne Jessel
A guess, which might be totally wrong, is that you've changed the
entityengine.xml file so it is inconsistent, and now ofbiz can't find
the right fieldtype file to use. I'd suggest reviewing your edits of
that file.

Cheers,
Anne.

2009/9/4 Lucio Crusca i...@virtual-bit.com:
 I've tried ant run-install again with the same results, so I guess that's
 not a race condition. Then I ran ant again and logged the output to a file,
 here are the first exceptions I get:

 [java] 2009-09-04 08:16:23,864 (main) [   EntityDataLoader.java:130:WARN ]
 Could not get URL for Component ResourceHandler:
 org.ofbiz.base.component.ComponentException: File Resource not found:
 /opt/ofbiz-svn/ofbiz.9.04/themes/bizznesstime/data/BizznessTimeThemeData.xml

 [java] 2009-09-04 08:16:32,671 (main) [    EntitySaxReader.java:563:WARN ]
     [java]  runtime exception report
 --
     [java] Could not set field CurrencyDimension.dimensionId to the value _NF_
     [java] Exception: java.lang.IllegalArgumentException
     [java] Message: Type id-ne not found
     [java]  stack trace
 ---
     [java] java.lang.IllegalArgumentException: Type id-ne not found
     [java] org.ofbiz.entity.GenericEntity.setString(GenericEntity.java:461)
     [java]
 org.ofbiz.entity.util.EntitySaxReader.startElement(EntitySaxReader.java:557)
     [java] javolution.xml.sax.XMLReaderImpl.parseAll(Unknown Source)
 ...

    [java] 2009-09-04 08:16:32,764 (main) [    TransactionUtil.java:285: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:284)
     [java]
 org.ofbiz.entity.transaction.TransactionUtil.rollback(TransactionUtil.java:266)
     [java]
 org.ofbiz.entity.util.EntitySaxReader.parse(EntitySaxReader.java:270)
 ...

    [java] 2009-09-04 08:16:32,768 (main) [    TransactionUtil.java:295:INFO ]
 [TransactionUtil.rollback] transaction rolled back
     [java] 2009-09-04 08:16:32,771 (main) [
 EntityDataLoader.java:220:ERROR]
     [java]  exception report
 --
     [java] [install.loadData]: Error loading XML Resource file:/opt/ofbiz-
 svn/ofbiz.9.04/framework/common/data/DimensionTypeData.xml; Error was: A
 transaction error occurred reading data
     [java] Exception: org.xml.sax.SAXException
     [java] Message: A transaction error occurred reading data
 ...


 and then a few other similar exceptions, all with message Type id-ne not
 found.

 Any clue?
 --
 Virtual Bit di Lucio Crusca
 http://www.virtual-bit.com




-- 
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Phone: (03) 9585 6788
Fax: (03) 9585 1086
Web: http://www.cohsoft.com.au/
Email: sa...@cohsoft.com.au

Bonsai ERP, the all-inclusive ERP system
http://www.bonsaierp.com.au/


Re: Where did this go?

2009-09-05 Thread Anne Jessel
Was looking at some of the code for header logo settings in trunk a
couple of days ago. Yes, the one defined in the theme is now used
instead, and there's a comment somewhere in the code that the logo
field for the product store is no longer used. I presume the same
applies to the style sheet, but haven't checked.

The code I looked at did appear to have some other mechanism for
overriding the logo defined by the theme. Didn't follow this up, but
it looked like it was associated with the company settings?

Cheers,
Anne.

2009/9/5 Ruth Hoffman rhoff...@aesolves.com:
 Hi Jacques:
 Thanks. Anyone else care to comment?
 TIA
 Ruth
 Jacques Le Roux wrote:

 I think it's now related to Visual Themes, but just a guess

 Jacques

 From: Ruth Hoffman rhoff...@aesolves.com

 Hello List:
 Got a quick question:
 In 4.x releases dating back to 765601, there is a place in the Catalog
 Manager under store configuration where the user may enter in a style sheet
 and header logo for a store. By default these are set to
 /images/ecommain.css and /images/ofbiz_logo.jpg respectively.

 In the latest trunk release and 9.x releases, where did these fields go?
 How does one change these fields on an existing store (or a new store for
 that matter) using the Catalog Manager?

 TIA
 Ruth







-- 
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Phone: (03) 9585 6788
Fax: (03) 9585 1086
Web: http://www.cohsoft.com.au/
Email: sa...@cohsoft.com.au

Bonsai ERP, the all-inclusive ERP system
http://www.bonsaierp.com.au/


Re: SQL Exception when running ant run-install for CREATE INDEX SURVEY on an IBM iSeries

2009-09-05 Thread Anne Jessel
I see the same message with Postgresql 8.3, running java -jar
ofbiz.jar -install -readers=seed,seed-initial,ext on a clean database.

Cheers,
Anne.

2009/9/6 André Herbst a...@softmatic.dk:
 Hi,

 I am getting this error when running ant run-install on a clean database
 schema.

 2009-09-05 22:35:43,845 (main) [       DatabaseUtil.java:2929:ERROR] Could not
 create foreign key indices for entity [WorkEffortSurveyAppl]: SQL Exception
 while executing the following:
 CREATE INDEX SURVEY ON OFBIZ.WORK_EFFORT_SURVEY_APPL (SURVEY_ID)
 Error was: com.ibm.db2.jdbc.app.DB2SQLSyntaxErrorException: SURVEY in OFBIZ of
 type *FILE already exists.

 Has anybody else seen this error or is this somehow IBM DB2 related?

 -André





-- 
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Phone: (03) 9585 6788
Fax: (03) 9585 1086
Web: http://www.cohsoft.com.au/
Email: sa...@cohsoft.com.au

Bonsai ERP, the all-inclusive ERP system
http://www.bonsaierp.com.au/


Re: Where did this go?

2009-09-05 Thread Anne Jessel
Hi Ruth

You got me curious, so I had a more detailed look at the code.

In the standard ecommerce web pages, the logo is set to be the first
found of the following:

1. a logo set for the user's session only, something to do with
tracking codes in Marketing, didn't follow this up further. Haven't
started trying to learn about Marketing yet :-)

2. the logo associated with the catalog (see Catalog Manager, same
screen where you set the name for the catalog)

3. the logo associated with the theme.

Don't know much about the first option, but I guess the one for the
theme (#3) is meant to be the fallback if one hasn't been set for the
catalog (#2)? Haven't actually tried any of this.

I suspect what you are wanting is the one associated with the catalog.
Looks like it's moved to there from the productstore.

Cheers,
Anne.

2009/9/5 Ruth Hoffman rhoff...@aesolves.com:
 Hi Erwan:
 Understood, but that isn't my point. Unless I'm wrong, we have taken away a
 feature that anyone with permission could accomplish using the Catalog
 Manager and a form based interface and replaced that with a task that
 requires the following skills:

   The user needs to either be versed in using a text editor *and* know
   what file to change and where to change it

   Or have database experience

 In either case, they may also need to reinstall seed data. Not sure since I
 can't find it documented anywhere precisely how this is suppose to work.

 Am I wrong? Is there a Theme design document anywhere?
 Just my 2 cents.
 Ruth

 Erwan de FERRIERES wrote:


 Le 05/09/2009 12:38, Ruth Hoffman a écrit :

 Hi Anne:
 Thanks. I haven't had time to delve into the code.

 Seems to me like this would not be a good thing - taking away a feature
 in the Catalog Manager (especially something as useful as changing the
 logo) and replacing it with: 1) hardwiring in a configuration file 2)
 plus I now find out a reinstall of the seed data is required to change a
 theme. Does that mean a reinstall of seed data is needed to change the
 logo?

 you can just change the logo in the database, by modifying this entry :
 VisualThemeResource visualThemeId=BLUELIGHT
 resourceTypeEnumId=VT_HDR_IMAGE_URL resourceValue=/images/ofbiz_logo.gif
 sequenceId=01/


 Am I wrong? Can I still dynamically change the logo using the Catalog
 Manager or some other OFBiz tool?
 Any comments? Anyone else on the list care about stuff like this?


 ../..




-- 
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Phone: (03) 9585 6788
Fax: (03) 9585 1086
Web: http://www.cohsoft.com.au/
Email: sa...@cohsoft.com.au

Bonsai ERP, the all-inclusive ERP system
http://www.bonsaierp.com.au/


Re: Need to make text field of date-time field in form widgets non editable

2009-08-13 Thread Anne Jessel
Does this do what you want?

field name=fromDate
display type=date/
/field

Cheers,
Anne.

2009/8/13 Hemanth Kumar Kanamarlapudi hemanth_kanamarlap...@mindtree.com:
 Hi Users,

 Can any one help out if we can make the text field in date-time field used in 
 form widgets as non editable?

 Because of this I am forced to validate all the dates entered for valid check 
 in my events class.
 (eg: modified date from 12-01-2010 to 00-00-)

 Present usage:
 date-time type=date input-method=text//field

 Thanks in advance.

 Regards
 Hemanth


 
 http://www.mindtree.com/email/disclaimer.html




-- 
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Phone: (03) 9585 6788
Fax: (03) 9585 1086
Web: http://www.cohsoft.com.au/
Email: sa...@cohsoft.com.au


Credit card payment of invoices

2009-08-04 Thread Anne Jessel
Hi

I've been through a lot of the payment and invoicing code, trying to
understand how it fits together. It seems that the PaymentGateway
implementation requires the presence of an OrderPaymentPreference, which in
turn requires an Order.

However invoices generated via a Timesheet do not seem to have an Order
associated with them. So how can they (or any other Invoice!) be paid by a
credit card capture?

Cheers,
Anne.

-- 
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Phone: (03) 9585 6788
Fax: (03) 9585 1086
Web: http://www.cohsoft.com.au/
Email: sa...@cohsoft.com.au


Re: EftAccount versus new entity

2009-08-04 Thread Anne Jessel
Thank you Scott, Hans.

I do intend to contribute the code, provided I can work out how to write it
in a general enough way that it is useful.

After reading about the routing number via Scott's reference, I think it is
close enough in concept to a BSB number (
http://en.wikipedia.org/wiki/Bank_State_Branch) that it would make sense to
use that field. I could probably ignore the SWIFT code for now - the
existing functionality does not seem to support transactions between two
countries (unless I looked in the wrong places), so leaving it out wouldn't
reduce existing functionality.

I still need to work out how to hook it into the existing invoice payments
system, so I think it'll be a while before I have anything functional.

Cheers,
Anne.


2009/8/3 Scott Gray scott.g...@hotwaxmedia.com

 My vote (if we were voting) would be for separate fields because each
 identifier (routing number, SWIFT code, BSB) ultimately serves a different
 purpose.

 If I'm not wrong (and I could be) I thought the routing number was used to
 store this: http://en.wikipedia.org/wiki/Routing_transit_number
 Whereas a SWIFT code is this: http://en.wikipedia.org/wiki/ISO_9362

 If you use the field for anything other than a routing number then you run
 the risk of conflicting with any new functionality implemented in OFBiz and
 you also wouldn't be able to contribute the code back (if desired) because
 the use of the field would be specific to your circumstance.

 Regards
 Scott

 HotWax Media
 http://www.hotwaxmedia.com


 On 3/08/2009, at 10:22 PM, Hans Bakker wrote:

  Hi Anne,

 in general is is always better to extend and existing entity than to
 create a new one where ever possible.

 In your case all the fields fit except, as you state, the BSB and swift
 code. I would suggest to put them both into the routing number field
 separated by either a '/' or a blank. The routing code is the code which
 identifies the bank in the international payment transfers.

 Regards,
 Hans

 On Mon, 2009-08-03 at 19:27 +1000, a...@cohsoft.com.au wrote:

 I'm trying to work out the best way to get OFBiz to support Australian
 direct-entry payments. This is where a customer makes a payment by
 directly transferring the money to the company's bank account, usually
 via online banking. This is currently a very common payment method.

 The same system is also used to allow a company to debit regular
 payments directly from the customer's bank account, or for the company
 to pay its bills.

 For storing the relevant bank details, the EftAccount entity seems to
 be closest. However it is not a good match. I am unsure whether my
 best approach would be to use the existing EftAccount entity in some
 way, or to create a new entity.

 The fields that are relevant to Australian transactions are:

 BSB: a number denoting which branch of which bank
 Account number: the account number
 Account name: the name (person or organisation) associated with the
 bank account
 SWIFT code: a code denoting which bank - this is only relevant when
 one of the banks involved in the transaction is outside Australia,
 e.g. the customer is paying from an overseas bank account.
 Bank name: not usually needed, but handy to record

 Some of these fields map to the existing EftAccount entity, some
 don't:

 Account name - nameOnAccount
 Account number - accountNumber
 BSB - ? (perhaps routingNumber? I don't know what routingNumber is
 really for)
 SWIFT code - ?
 Bank name - bankName

 What approach is likely to be the best option?

 Also, I'll need to add support for a new payment gateway to support an
 Australian provider. It would be nice if all I had to do was create
 the payment gateway interface code, following the examples for the
 other third party gateways, and then somehow it all just magically
 fitted together and worked with the existing code. Is this asking too
 much? :-)

 Cheers,
 Anne.


 --
 Coherent Software Australia Pty Ltd
 PO Box 2773
 Cheltenham Vic 3192
 Phone: (03) 9585 6788
 Fax: (03) 9585 1086
 Web: http://www.cohsoft.com.au/
 Email: sa...@cohsoft.com.au

  --
 Antwebsystems.com: Quality OFBiz services for competitive rates





-- 
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Phone: (03) 9585 6788
Fax: (03) 9585 1086
Web: http://www.cohsoft.com.au/
Email: sa...@cohsoft.com.au

Bonsai ERP, the all-inclusive ERP system
http://www.bonsaierp.com.au/


Billing Account, payment, invoice interaction

2009-08-02 Thread Anne Jessel
Hi

I'm trying to understand how billing accounts, invoices and payments
interact in 9.04. As part of this, I'm looking at the case where a customer
gives a part payment (e.g. deposit) before an invoice has been created. I
think a Billing Account is the correct thing to use for several reasons.

Volume 1 of the The Data Model Resource Book covers this in chapter 7, where
it says a payment may be applied on account, which means it is applied to a
BILLING ACCOUNT without being applied to specific invoices. ... [this]
allows moneys to be accepted in advance of charges.

On
http://docs.ofbiz.org/display/OFBENDUSER/06+Billing+Accounts
it says
A payment that is applied (or matched) to a Billing Account it should still
be applied to an invoice. In the case where the payment arrives before the
invoice has been generated then once the invoice is generated it should be
applied to the payment or payments.

Also, on
http://ofbiz-new.blogspot.com/2007/06/ofbiz-development-r547609.html it says
re-factoring of billing account. Now payment applications are *not* applied
to a billing account; they are simply associated to it and can be applied to
pay the invoices associated to the billing account. (543923, 543924,
543944)


From this information I expected to be able to create a new payment with:

from PartyId: the customer who owns a billing account
payment method type: cash
payment type: Customer Payment

Then I thought I should apply that payment to the customer's billing account
(I couldn't see any other way to associate the payment with the billing
account - did I miss something important here?). This works, though when I
then list the payment applications for this payment, I see that the full
amount has been applied to invoiceId [].

Then I edited an in-process invoice for this customer, setting the billing
account Id field.

At this stage, viewing things under Billing Accounts and Invoices both
looked as I expected.

I set the Invoice status to approved.

However now I can not find any way to apply the payment to the invoice. The
Applications tab under the invoice does not list the relevant payment. If I
specify the paymentId on this screen, the error message says the payment has
already been fully applied. The Available Balance on the billing account
equals the amount of the payment, although the invoice is listed on the
Invoices tab for the billing account.

I guess I have misunderstood what I have read, or the documentation I read
is wrong. Could someone please explain the recommended way to enter a
payment from a customer before an invoice is generated, and then later apply
that payment to the invoice?

Cheers,
Anne.


-- 
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Phone: (03) 9585 6788
Fax: (03) 9585 1086
Web: http://www.cohsoft.com.au/
Email: sa...@cohsoft.com.au


Re: Re: Auto scheduler to start ofbiz instance required.

2009-07-08 Thread Anne Jessel
2009/7/9 Kumaraswamy nandipati kumarasw...@ecomzera.com


 I am novise to linux script coding. My another question *is Is there a
 autoScheduler which will identify whether a ofbiz instance is running or
 not. If not, it will schedule(start) ofbiz automatically*.


I have successfully used monit. It watches the PID and will restart a
service if there is no process matching the PID. I have also had it watch a
log file, and take action if the log file is not updated after a specific
length of time.

Cheers,
Anne.

-- 
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Phone: (03) 9585 6788
Fax: (03) 9585 1086
Web: http://www.cohsoft.com.au/
Email: sa...@cohsoft.com.au

Bonsai ERP, the all-inclusive ERP system
http://www.bonsaierp.com.au/