...
Table of Contents | ||||
---|---|---|---|---|
|
...
Accounting
- MISC Accounting Links
- Billing Account
- If you get accounting related issues and are not interested in posting accounting transactions, see here
- Show prices with VAT included in eCommerce (B2C)
- How are managed transactions in different currencies from the one of GL ?
- glAccountClass vs glAccountType : follow the links
- A thread about glAccountType
- Sage payment integration
...
Another approach deprecated since r892712
For those who are familiar with Spring, you may be interested by Apache CXF instead of AXIS2. You will find a quick comparaison between AXIS2 and CXF here deprecated since r89271
Themes
...
Then you are ready to create order and to specify the GC as a payment method.
A tip from Rashko Rejmer
Anchor | ||||
---|---|---|---|---|
|
...
where todos is and exe to download (search with Google). Of course you will have to deal with path. But at this stage I guess it's easy...
I just learned from https://sourceforge.net/project/shownotes.php?release_id=508633 that the "--binary" option may be used in that case, did no try yet...
I tried --binary today on a Windows XP system with patches created on the same system: it does not work :/
Anchor | ||||
---|---|---|---|---|
|
...
If you receive an SQL error in ofbiz, it doesn't show the error from the database itself. Instead, it shows a general error which isn't neccessarily clear. Run the SQL directly on the database get a more helpful error message.
Anchor | ||||
---|---|---|---|---|
|
...
Code Block | ||
---|---|---|
| ||
<datasource name="localderby" helper-class="org.apache.ofbiz.entity.datasource.ReadOnlyHelperDAO" schema-name="OFBIZ" field-type-name="derby">... |
Anchor | ||||
---|---|---|---|---|
|
...
Show prices with VAT included in eCommerce (B2C)
For that in your store you must :
- In your store, set the field "Show Prices With Vat Tax"=Y
- Set the field "Vat Tax Auth Geo Id" with the corresponding VAT Geo (it's a default value, remember the VAT is applied in function of the client Geo)
- Set the field "Vat Tax Auth Party Id" with a correctly set Tax Authority (see below how to set it in accouting)
- Set the field "Show Prices With Vat Tax"=Y
- In accouting, set your Tax Authority (and any you will need)
- "Include Tax In Price"=Y
- Create the "Categories" that will include products with VAT included (this is not mandatory, it allows to limit the scope)
- Set the "Product Rates" you need. Note that you can Tax Promotions and Shipping if needed
...
If the caches are on (ie not on dev mode), it's the same (you don't need to recompile) but you need to clear the caches. See at ...webtools/control/FindUtilCache You might even clear only the cache where things changed (production performance).
Anchor | ||||
---|---|---|---|---|
|
...
The ETag header is causing an issue with browser cache not being updated when the server has been updated. Actually a weak ETag, see http://en.wikipedia.org/wiki/HTTP_ETag
Seems like tomcat’s DefaultServlet will only serve weak ETag’s even though tomcat7+ does have code for strong ETag but is never used and there is no documentation on how to set it
A possible solution is to remove If-None-Match request header and ETag response header in apache http server
RequestHeader unset If-None-Match
Header unset ETag
Anchor | ||||
---|---|---|---|---|
|
How to measure SQL queries durations
If a query takes more than 150 ms its duration is shown in log. To change that look for:
Debug.logTiming("Ran query in "
in GenericDAO.java
Anchor | ||||
---|---|---|---|---|
|
What is the difference between [+0] and [] in a widget screen file?
[] If the list does not exist, create a new list and append item to it. If the list exist, append item to the end of the list
[+0] If list does not exist, create a new list and append item to it. If the list exist, insert item at the beginning of the list
Anchor | ||||
---|---|---|---|---|
|
What's the recommended workflow engine in OFBiz? Is it Shark?
OFBiz gave up on Workflow Engines. Shark was implemented last but never really used in OFBiz. Instead of using a Workflow Engine, OFBiz uses an Event Driven Architecture (EDA), so ECAs (SECA, EECA, MECA) are used in OFBiz to drive the Workflow. ECA is the acronym of Event Condition Action. SECAs are for Services (triggered on services conditions), EECAs are for Entity (triggered on entities conditions), MECAs are for Mail.
Anchor | ||||
---|---|---|---|---|
|
Dash vs "en dash" in Gradle commands
When you use a command like
gradlew "ofbiz --load-data readers=seed,seed-initial,ext,ext-demo"
Beware that copying this command in Microsoft Word will automatically transform the double dash in "en dashes" (Unicode 0x2013: "–" from Unicode Map)
Other cases not related to Word were also reported.So when this command does not work check that you are really using dashes!