Re: One view entity member of another view entity

2009-03-24 Thread Pranay Pandey

Thanks David, for explanation, clarification.

Kind Regards
--
Pranay Pandey


On Mar 23, 2009, at 10:01 PM, David E Jones wrote:



Is it feasible? That depends on the constraints you're working with.

It does usually work and can be done, but also often results in  
asking the database to do more than your code really needs it to do  
(ie including things in the joins that you don't need, significantly  
slowing performance). The same is true of poorly defined view- 
entities with normal (non-view) member entities, but there is more  
of a tendency for that with views of views.


-David


On Mar 23, 2009, at 5:36 AM, Pranay Pandey wrote:


BJ,

Here I am posting my question again for reference from my first  
email:


Please help me in  understanding that is it feasible to use one  
view entity as a member entity into another view entity?


Thanks  Regards
--
Pranay Pandey


On Mar 23, 2009, at 4:51 PM, BJ Freeman wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

What seems to be the problem
what is not working


Pranay Pandey sent the following on 3/23/2009 3:45 AM:
Here for reference I am posting the view entity which has been  
created

and log I got while fetching records.

view-entity entity-name=OrderItemAndFacilityLocation
package-name=org.ofbiz.product.facility title=Order Item And  
Facility

Location View Entity
 member-entity entity-alias=SMT entity- 
name=ShipmentMethodType/
 member-entity entity-alias=OISG entity- 
name=OrderItemShipGroup/

 member-entity entity-alias=OI entity-name=OrderItem/
 member-entity entity-alias=PFLV
entity-name=ProductFacilityLocationView/
 alias entity-alias=OISG name=orderId/
 alias entity-alias=OISG name=shipGroupSeqId/
 alias entity-alias=OISG name=shipmentMethodTypeId/
 alias entity-alias=OISG name=carrierPartyId/
 alias entity-alias=OI name=productId/
 alias entity-alias=OI name=orderItemSeqId/
 alias entity-alias=PFLV name=locationSeqId/
 alias entity-alias=PFLV name=locationTypeEnumId/
 view-link entity-alias=PFLV rel-entity-alias=OI
   key-map field-name=productId/
 /view-link
 view-link entity-alias=OI rel-entity-alias=OISG
   key-map field-name=orderId/
 /view-link
 view-link entity-alias=OISG rel-entity-alias=SMT
   key-map field-name=shipmentMethodTypeId/
 /view-link
 relation type=one-nofk rel-entity-name=ShipmentMethodType
   key-map field-name=shipmentMethodTypeId/
 /relation
/view-entity


and log:

SELECT OISG.ORDER_ID, OISG.SHIP_GROUP_SEQ_ID,
OISG.SHIPMENT_METHOD_TYPE_ID, OISG.CARRIER_PARTY_ID, OI.PRODUCT_ID,
OI.ORDER_ITEM_SEQ_ID, PFLV.PFL_LOCATION_SEQ_ID,
PFLV.FL_LOCATION_TYPE_ENUM_ID FROM (((SELECT PFL.PRODUCT_ID AS
PFL_PRODUCT_ID, PFL.FACILITY_ID AS PFL_FACILITY_ID,  
PFL.LOCATION_SEQ_ID

AS PFL_LOCATION_SEQ_ID, PFL.MINIMUM_STOCK AS PFL_MINIMUM_STOCK,
PFL.MOVE_QUANTITY AS PFL_MOVE_QUANTITY, FL.LOCATION_TYPE_ENUM_ID AS
FL_LOCATION_TYPE_ENUM_ID, FL.AREA_ID AS FL_AREA_ID, FL.AISLE_ID AS
FL_AISLE_ID, FL.SECTION_ID AS FL_SECTION_ID, FL.LEVEL_ID AS  
FL_LEVEL_ID,
FL.POSITION_ID AS FL_POSITION_ID FROM  
OFBIZ.PRODUCT_FACILITY_LOCATION

PFL INNER JOIN OFBIZ.FACILITY_LOCATION FL ON PFL.FACILITY_ID =
FL.FACILITY_ID AND PFL.LOCATION_SEQ_ID = FL.LOCATION_SEQ_ID) PFLV  
INNER
JOIN OFBIZ.ORDER_ITEM OI ON PFLV.PFL_PRODUCT_ID = OI.PRODUCT_ID)  
INNER
JOIN OFBIZ.ORDER_ITEM_SHIP_GROUP OISG ON OI.ORDER_ID =  
OISG.ORDER_ID)

INNER JOIN OFBIZ.SHIPMENT_METHOD_TYPE SMT ON
OISG.SHIPMENT_METHOD_TYPE_ID = SMT.SHIPMENT_METHOD_TYPE_ID WHERE
(OISG.ORDER_ID = ? AND PFLV.FL_LOCATION_TYPE_ENUM_ID = ? AND
OI.ORDER_ITEM_SEQ_ID = ?) ORDER BY OI.ORDER_ITEM_SEQ_ID ASC
=

Thanks  Regards
--
Pranay Pandey


On Mar 23, 2009, at 3:51 PM, Pranay Pandey wrote:


Hello All,

Please help me in  understanding that is it feasible to use one  
view

entity as a member entity into another view entity?

I have tried to do so and saw the log for prepared statement in
SQLProcessor.java.  Found that there are so many inner joins in  
the

query on console.

Thanks in advance for any help.

Regards
--
Pranay Pandey






-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJx3DNrP3NbaWWqE4RAoz6AJ9BNX4Y0PQRd90kWGv1KoGQSalAGwCcDt7Z
CVCddvLEPo2pt3rGy1S5j64=
=02uo
-END PGP SIGNATURE-








smime.p7s
Description: S/MIME cryptographic signature


Re: Ant VS MVN in offbiz

2009-03-24 Thread Shi Jinghai
We have setup a maven2 repository using Apache Archiva 1.2:
http://maven2.langhua.org/

The public repository url is:
http://maven2.langhua.org/public/

This repository can be used in a pom.xml by adding:
  repositories
repository
  idlanghua-public-repository/id
  nameLanghua.org Public Maven2 Repository/name
  urlhttp://maven2.langhua.org/public/url
/repository
  /repositories

If anybody is interested in maintaining jars and sources.jars of
org.apache.ofbiz, please send me an email privately.

Cheers,

Shi Jinghai/Beijing Langhua Ltd.


在 2009-03-14六的 18:18 +0800,Shi Jinghai写道:
 Many people here can understand your feeling and have the same feeling.
 Obviously maven is better when you're crazy for so many projects and
 deployment to maintain.
 
 We'll try to do something in this area as we are mavening our source
 code now. We'll setup maven2.langhua.org to play the role of OFBiz
 maven2 repository.
 
 What is the main problem now is OFBiz is not version released, it's
 difficult to decide which trunk version should be put into repository. 
 
 Anyway, we'll set it up in 2009. Hope it's not too late for you :).
 
 Regards,
 
 Shi Jinghai/Beijing Langhua Ltd.
 
 
 在 2009-03-14六的 07:42 +0530,Ambient Solution写道:
  Hi,
  
  
  I worked on offbiz for four year previously and again I started as some of
  my associated recomend to research on it.
  
  I am not sure whether I am asking reight quesiton here or not.
  
  Previously when I was working on offbiz to setup workspace in eclipse , its
  a hattick job , Setting classpath is a manual process in eclipse while for
  build we use ant build.
  
  Same functionality is provided by Maven  which support boath IDE and duild
  creation . Is some one already worked on ant to Maven Migration.
  
  The benifit I seen in MVN you can set dependecy which is required for
  perticular project or JAR level not you have set a full folder.
  Second benift I found that once you setup your repository on server which is
  not a part of your  project ,  It will save space on version server  , Cos
  every new branch or project dosent require to copy all jar.
  
 This process also reduce traffic  on n/w at build time , Cos that time
  you dont have to download jar again , MVN download only new or updated jar .
  
  If is there any one who worked on the same thing , Please help me.
  
  Regards,
  Sumit
  Solution Architect
  +91-9221182885
 



proporties file

2009-03-24 Thread lahmar

Hi,

I WOULD LIKE TO KNOW what the role of .properties file in the user
interface.

Thks.
-- 
View this message in context: 
http://www.nabble.com/proporties-file-tp22681079p22681079.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



freemarker variablmes

2009-03-24 Thread lahmar


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



Re: Problem while performing Quick Ship Entire Order

2009-03-24 Thread Deepesh Kapoor

Hello All,

I have tried to fix this thing and provided the patch for the same, 
here is the URL :


https://issues.apache.org/jira/secure/ManageAttachments.jspa?id=12419303

Please have a look and provide suggestions on whether this is the right 
way to go about in FTLs to resolve the security issues. In the patch i 
have tried to resolve the exceptions which occurred  while changing 
order status. If the solution is feasible than this can be done in other 
FTLs also.


Thanks  Regards
- -
Deepesh



Deepesh Kapoor wrote:
Thanks for the reply David, yes my present work concerns with return 
created for the order. I will take the reference from the changes made 
earlier to fix this.

-
Deepesh

David E Jones wrote:


Yes, I did expect questions about this, but not so much from 
developers...


To fix this the link needs to be changed into a form so that the 
parameters are encrypted (more secure from snooping, spoofing, etc).


There has been significant discussion around this point, and changes 
made in various places to fix this, so there are quite a few examples.


Is that something you are working on?

-David


On Mar 23, 2009, at 12:37 AM, Deepesh Kapoor wrote:


Hello All,

I am working on latest OFBiz rev. After creating Sales order when i 
try to Quick Ship Entire Order in order to proceed further and 
create Return an Error occurs in ServiceEventHandler.java
Found URL parameter [orderId] passed to secure (https) request-map 
with uri [quickShipOrder] with an event that calls service 
[quickShipEntireOrder]; this is not allowed for security reasons! 
The data should be encrypted by making it part of the request body 
instead of the request URL.
There has been a recent commit in ServiceEventHandler.java and David 
is expecting questions/comments after this, so here is my bit :-)


Thanks  Regards
- -
Deepesh








attributes in .ftl file

2009-03-24 Thread lahmar

Hi,

I would like to know where we define the attributes of an entity in ftl file
ex:
${uiLabelMap.CommonUsername} where uiLabelMap is a  map-name but i don't
know what the CommonUsername.

Any one has an idea?

Thks  best regards.
Lahmar.
-- 
View this message in context: 
http://www.nabble.com/attributes-in-.ftl-file-tp22681626p22681626.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



To locate productstores on the basis of the postalcode given

2009-03-24 Thread Vikas Gupta

Hello All,
 Facility entity has its ownerPartyId. A facility can have many 
ProductStores. I need to get postal address of the ProductStore. I think 
Postal address can be got through ContactMech, but that again would 
require PartyId. Is it possible that different ProductStores have 
different ownerPartyIds, so that I could have respective PostalAddresses 
for these productstores. Productstore entity has payToPartyId and not 
any ownerPartyId.


Please suggest me, I want to locate productstores on the basis of the 
postalcode given.



Thanks,
--
Vikas Gupta


Re: Setting up a warehouse

2009-03-24 Thread madppiper

Ah,

well, what I don't understand is why neither of the services is exportable
(a webservice). So yes, we can call services that automatically send data to
a specified url or create xml documents on the fly (which is great, because
most of the reporting is done asynchroneously), but there is some exchange
of information (eg the shipment status) from the logistics partner/warehouse
to us, where I would have expected a simple webservice in place. 


Perhaps it is also a good idea to specify the purpose of the services and
later update the wiki/description with that information? So as far as I
understand, here's a non complete list of services and their purpose:

1. oagisReceiveSyncInventory
Processes an XML document as defined in 068_sync_inventory_005.xsd
(http://iscaservices.com/f1/scs_oagis_syncinventory_cyclecountinglistrequest.html
,
http://iscaservices.com/f1/scs_busdoc_oagis_sync_inventory_stocktakinglistresponse.html).
Will sync the inventory of a given warehouse (specified by of:SITELEVEL)
with the internal inventoryItems entity. 

Structure Overview

SYNC_INVENTORY (INVENTORY)
INVENTORY ()



2. oagisReceiveShowShipment
Process an incoming Status-Message from your logistics partner. The Status
Message is defined in 161_show_shipment_005.xsd. Will update the current
shipment status of a given inventory.

Structure Overview

SHOW_SHIPMENT (SHIPMENT, SHIPUNIT*)
SHIPMENT ( PARTNER+, SHIPITEM+, ATTCHREF*, CHARGE*, DOCUMNTREF* 
)
SHIPITEM ( DOCUMNTREF*, INVDETAIL* )
DOCUMNTREF()
INVDETAIL()
DOCUMNTREF()
SHIPUNIT ( PARTNER+, ATTCHREF*, CHARGE*, CONTAINER*, 
DOCUMNTREF*, INVITEM*
)
CONTAINER( DOCUMNTREF*, INVITEM+ )
DOCUMNTREF()
INVITEM ( DOCUMNTREF*, INVDETAIL* )
DOCUMNTREF()
INVDETAIL()
DOCUMNTREF()
INVITEM ( DOCUMNTREF*, INVDETAIL* )
DOCUMNTREF()
INVDETAIL()

3. oagisSendReceiveDelivery
Creates a deliveryMessage as specified in 197_receive_delivery_001.xsd.
Document location can be specified by path, document name and url. Will
notify the warehouse of incoming deliveries defined in the shipment module. 

Structure Overview

RECEIVE_DELIVERY ( RECEIPTHDR, ((RECEIPTLN+, RECEIPTUNT*) |
RECEIPTUNT+) )
RECEIPTHDR ( ATTCHREF*, CHARGE*, DOCUMNTREF*, PARTNER*, 
RCPTDISCRP*
)
RCPTDISCRP() 
RECEIPTLN ( ATTCHREF*, CHARGE*, DOCUMNTREF*, INVDETAIL*,
RCPTDISCRP* )
INVDETAIL()
RCPTDISCRP()
RECEIPTUNT ( ATTCHREF*, CHARGE*, DOCUMNTREF*, PARTNER*,
RCPTDISCRP*, RECEIPTITM* )
RCPTDISCRP()
RECEIPTITM ( ATTCHREF*, CHARGE*, DOCUMNTREF*, INVDETAIL*,
RCPTDISCRP* )
INVDETAIL()
RCPTDISCRP()



Please correct any of the above - I am still trying to put the pieces
together ;)
-- 
View this message in context: 
http://www.nabble.com/Setting-up-a-warehouse-tp22660311p22681722.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: proporties file

2009-03-24 Thread madppiper

.properties files cannot be edited through the UI, but set general system
variables, such as passwords, data lookup paths, email settings, fallbacks
etc etc. I guess you could say that the settings set in .properties files
affect the UI but cannot be accessed or set through the UI ;)
-- 
View this message in context: 
http://www.nabble.com/proporties-file-tp22681079p22681777.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: attributes in .ftl file

2009-03-24 Thread Olivier Michel
Hello Lahmar !

I usually declare my property files in the action section of the decorator,
so that every screen using this decorator has access to the property file:

screen name=my-decorator
section
actions
property-map resource=EcommerceUiLabels
map-name=uiLabelMap global=true/
...

Then the file itself, EcommerceUiLabels.properties is in
/ecommerce/ecommerce/config

Hope this helps,

  Olivier Michel
  Cypoint AB
  http://www.cypoint.se


On Tue, Mar 24, 2009 at 3:29 PM, lahmar lahmar.abdeloua...@gmail.comwrote:


 Hi,

 I would like to know where we define the attributes of an entity in ftl
 file
 ex:
 ${uiLabelMap.CommonUsername} where uiLabelMap is a  map-name but i don't
 know what the CommonUsername.

 Any one has an idea?

 Thks  best regards.
 Lahmar.
 --
 View this message in context:
 http://www.nabble.com/attributes-in-.ftl-file-tp22681626p22681626.html
 Sent from the OFBiz - User mailing list archive at Nabble.com.




Re: attributes in .ftl file

2009-03-24 Thread Ashish Nagar

Hello Lahmar,

You can find the key CommonUsername  and its corresponding value in 
CommonUiLabels.xml. UiLabels are mapped in the screens.


Thanks  Regards,
--
Ashish Nagar

Olivier Michel wrote:

Hello Lahmar !

I usually declare my property files in the action section of the decorator,
so that every screen using this decorator has access to the property file:

screen name=my-decorator
section
actions
property-map resource=EcommerceUiLabels
map-name=uiLabelMap global=true/
...

Then the file itself, EcommerceUiLabels.properties is in
/ecommerce/ecommerce/config

Hope this helps,

  Olivier Michel
  Cypoint AB
  http://www.cypoint.se


On Tue, Mar 24, 2009 at 3:29 PM, lahmar lahmar.abdeloua...@gmail.comwrote:

  

Hi,

I would like to know where we define the attributes of an entity in ftl
file
ex:
${uiLabelMap.CommonUsername} where uiLabelMap is a  map-name but i don't
know what the CommonUsername.

Any one has an idea?

Thks  best regards.
Lahmar.
--
View this message in context:
http://www.nabble.com/attributes-in-.ftl-file-tp22681626p22681626.html
Sent from the OFBiz - User mailing list archive at Nabble.com.





  




Re: attributes in .ftl file

2009-03-24 Thread BJ Freeman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I would suggest if you have not already to get the Eclipse IDE to do you
programming in.
it is free and runs on windows Mac, and Linux.
Eclipse will let you go through the code and find most of your answers.
it has a search feature the find like CommonUsername
it will also let you search the code for properties or uiLabelMap to let
you see how the code uses such.

also suggest going over the videos. I had to review them many time to
get everything out of them.

Hope this helps.

lahmar sent the following on 3/24/2009 7:29 AM:
 Hi,
 
 I would like to know where we define the attributes of an entity in ftl file
 ex:
 ${uiLabelMap.CommonUsername} where uiLabelMap is a  map-name but i don't
 know what the CommonUsername.
 
 Any one has an idea?
 
 Thks  best regards.
 Lahmar.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJyP7OrP3NbaWWqE4RAvj/AJ9xBCmuyFT9iYPe5UXEIrTGfjlPZQCdGfUd
ldvWMRZz2Swg4CThwdHRk4I=
=rPJR
-END PGP SIGNATURE-


Re: Setting up a warehouse

2009-03-24 Thread BJ Freeman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Paul:
I think first the flow of OAGIS is important to understand
it is done through sending (sendMessageText) to a URL and giving a URL
to return (oagisReceiveConfirmBod) the confirm message.


The difference btw OAGIS communications and AS2 it that in AS2 you
define a trading partner certificate that each has to validate and
define how and where to communicate.  This is now accepted by most
trading partners. OAGIS uses a properties and the way it is setup now,
in ofbiz, can only deal with one trading partner.  Check out the
oagis.properties.

if you look at oagisReceiveSyncInventory in the controller that is a URI
  the other trading partner will send to. the properties has the URL you
sent the messages to.

So there is no need for Webservices if you going to use this as it was
intended.

The Noun Verb in the OAGIS Documents defines the process like
CONFIRM (verb) BOD(Noun)
if you look at the OagisServices.java this will show you.

now as far as information, you have the standard forms and by using
those you can  send any information you want.
http://www.visualschema.com/vs/oagis/



madppiper sent the following on 3/24/2009 7:33 AM:
 Ah,
 
 well, what I don't understand is why neither of the services is exportable
 (a webservice). So yes, we can call services that automatically send data to
 a specified url or create xml documents on the fly (which is great, because
 most of the reporting is done asynchroneously), but there is some exchange
 of information (eg the shipment status) from the logistics partner/warehouse
 to us, where I would have expected a simple webservice in place. 
 
 
 Perhaps it is also a good idea to specify the purpose of the services and
 later update the wiki/description with that information? So as far as I
 understand, here's a non complete list of services and their purpose:
 
 1. oagisReceiveSyncInventory
 Processes an XML document as defined in 068_sync_inventory_005.xsd
 (http://iscaservices.com/f1/scs_oagis_syncinventory_cyclecountinglistrequest.html
 ,
 http://iscaservices.com/f1/scs_busdoc_oagis_sync_inventory_stocktakinglistresponse.html).
 Will sync the inventory of a given warehouse (specified by of:SITELEVEL)
 with the internal inventoryItems entity. 
   
 Structure Overview
 
   SYNC_INVENTORY (INVENTORY)
   INVENTORY ()
 
 
 
 2. oagisReceiveShowShipment
 Process an incoming Status-Message from your logistics partner. The Status
 Message is defined in 161_show_shipment_005.xsd. Will update the current
 shipment status of a given inventory.
 
 Structure Overview
 
   SHOW_SHIPMENT (SHIPMENT, SHIPUNIT*)
   SHIPMENT ( PARTNER+, SHIPITEM+, ATTCHREF*, CHARGE*, DOCUMNTREF* 
 )
   SHIPITEM ( DOCUMNTREF*, INVDETAIL* )
   DOCUMNTREF()
   INVDETAIL()
   DOCUMNTREF()
   SHIPUNIT ( PARTNER+, ATTCHREF*, CHARGE*, CONTAINER*, 
 DOCUMNTREF*, INVITEM*
 )
   CONTAINER( DOCUMNTREF*, INVITEM+ )
   DOCUMNTREF()
   INVITEM ( DOCUMNTREF*, INVDETAIL* )
   DOCUMNTREF()
   INVDETAIL()
   DOCUMNTREF()
   INVITEM ( DOCUMNTREF*, INVDETAIL* )
   DOCUMNTREF()
   INVDETAIL()
 
 3. oagisSendReceiveDelivery
 Creates a deliveryMessage as specified in 197_receive_delivery_001.xsd.
 Document location can be specified by path, document name and url. Will
 notify the warehouse of incoming deliveries defined in the shipment module. 
 
 Structure Overview
 
   RECEIVE_DELIVERY ( RECEIPTHDR, ((RECEIPTLN+, RECEIPTUNT*) |
 RECEIPTUNT+) )
   RECEIPTHDR ( ATTCHREF*, CHARGE*, DOCUMNTREF*, PARTNER*, 
 RCPTDISCRP*
 )
   RCPTDISCRP() 
   RECEIPTLN ( ATTCHREF*, CHARGE*, DOCUMNTREF*, INVDETAIL*,
 RCPTDISCRP* )
   INVDETAIL()
   RCPTDISCRP()
   RECEIPTUNT ( ATTCHREF*, CHARGE*, DOCUMNTREF*, PARTNER*,
 RCPTDISCRP*, RECEIPTITM* )
   RCPTDISCRP()
   RECEIPTITM ( ATTCHREF*, CHARGE*, DOCUMNTREF*, INVDETAIL*,
 RCPTDISCRP* )
   INVDETAIL()
   RCPTDISCRP()
 
 
 
 Please correct any of the above - I am still trying to put the pieces
 together ;)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJyQgyrP3NbaWWqE4RAgVRAKCf07UYFOKa5xSz8+L7FO7lSL/4pQCgzhoV
8cDXghazxQs1YVNSy/CPs1o=
=e3PA
-END PGP SIGNATURE-


Cancel Sales Order

2009-03-24 Thread Muhammad Aamir
Is there any way to cancel the service order if it is not approved yet?

Thanks


Re: attributes in .ftl file

2009-03-24 Thread lahmar

Hello Ashish,

where i can find CommonUiLabels.xml because i don't find it.

Thks.
-- 
View this message in context: 
http://www.nabble.com/attributes-in-.ftl-file-tp22681626p22684365.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



Re: Cancel Sales Order

2009-03-24 Thread BJ Freeman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

from the ordertypedata.xml

StatusValidChange condition= statusId=ORDER_CREATED
statusIdTo=ORDER_CANCELLED transitionName=Cancel Order/

  StatusValidChange condition= statusId=ORDER_PROCESSING
statusIdTo=ORDER_CANCELLED transitionName=Cancel Order/

StatusValidChange condition= statusId=ORDER_APPROVED
statusIdTo=ORDER_CANCELLED transitionName=Cancel Order/



Muhammad Aamir sent the following on 3/24/2009 9:25 AM:
 Is there any way to cancel the service order if it is not approved yet?
 
 Thanks
 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJyRh5rP3NbaWWqE4RAs/dAJ90nIdTAGlX+ZtJypmrqTEUxRacKwCeLHSX
pYpKRxg61fiFSRx2LKpE0xw=
=LFDV
-END PGP SIGNATURE-


Re: attributes in .ftl file

2009-03-24 Thread cjhorton

It is located in framework/common/config



lahmar wrote:
 
 Hello Ashish,
 
 where i can find CommonUiLabels.xml because i don't find it.
 
 Thks.
 

-- 
View this message in context: 
http://www.nabble.com/attributes-in-.ftl-file-tp22681626p22685310.html
Sent from the OFBiz - User mailing list archive at Nabble.com.



RE: Exchanges

2009-03-24 Thread Sanders, Brian
So, here's the idea I want to try out:
1. I made an Exchange ReturnType
2. I made an Exchange OrderType
3. I added a referenceProductId relation to ReturnItem
4. I will probably add a referenceQuantity field to ReturnItem as well

In the return screen, if you select Exchange, then the user will be
asked for the product/quantity of the replacement item. Accepting the
return will function just like a replace, except the item/quantity will
be pulled from the new fields. 

I just wanted to get some feedback as to whether or not this seems like
a good design. I feel that the logic is ok, but I'm unsure if adding the
reference fields to ReturnItem is the proper way to add the feature. I
just don't want to paint myself (or anyone else) into this corner where
you have to add fields to entity to add a similar feature. Thanks.

-Original Message-
From: David E Jones [mailto:david.jo...@hotwaxmedia.com] 
Sent: Thursday, March 19, 2009 3:52 PM
To: user@ofbiz.apache.org
Subject: Re: Exchanges


OFBiz does support various things that could be called an Exchange.  
Usually this is done as a return for in-store credit, and then the  
customer can place whatever order they would like. A CSR could also do  
this on behalf of a customer without the customer having to place the  
actual order.

Typically the return for replacement is for the same item and not  
exchanging for a different item, but with a little playing it could  
easily be used way... it's just more complicated since an exchange for  
a different item usually results in a credit to, or balance due from,  
the customer.

-David


On Mar 19, 2009, at 9:29 AM, Sanders, Brian wrote:

 I haven't fully looked into it yet myself, but I'm told that OFBiz  
 does
 not have exchange functionality. However, my understanding is that you
 can do replacements. I will look into it in the meantime, but if OFBiz
 does support exchanges, can someone point me in the right direction
 (docs, ML, etc...)? Thanks.




Re: attributes in .ftl file

2009-03-24 Thread Jacques Le Roux

The problem is that Lahmar is using OFBiz-Neogia I guess. And OFBiz-Neogia is 
still using .properties files for translation

Lahmar, as I said before, you should better use the Neogia mailing list than OFBiz, since it's not the same thing. Hopefully, in a 
not so far future, Neogia specific components will be added to OFBiz as regular components (in specialpurpose), but it's still not 
the case.


Jacques

From: cjhorton jayhor...@gmail.com


It is located in framework/common/config



lahmar wrote:


Hello Ashish,

where i can find CommonUiLabels.xml because i don't find it.

Thks.



--
View this message in context: 
http://www.nabble.com/attributes-in-.ftl-file-tp22681626p22685310.html
Sent from the OFBiz - User mailing list archive at Nabble.com.






OFBiz Requirements and Designs

2009-03-24 Thread BJ Freeman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

sort of hidden away thought others might be interested
http://docs.ofbiz.org/pages/listpages-alphaview.action?key=OFBREQDES
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJyR7qrP3NbaWWqE4RAjaRAJ9sCyQ98yfqocwMzZsG3Z82dNXBlQCggNyq
VfpbEH5S7EKWXxO4akJb8d0=
=iJF8
-END PGP SIGNATURE-


Re: Exchanges

2009-03-24 Thread David E Jones


What does it do if the new product costs more or less than the old?

-David


On Mar 24, 2009, at 11:51 AM, Sanders, Brian wrote:


So, here's the idea I want to try out:
1. I made an Exchange ReturnType
2. I made an Exchange OrderType
3. I added a referenceProductId relation to ReturnItem
4. I will probably add a referenceQuantity field to ReturnItem as  
well


In the return screen, if you select Exchange, then the user will be
asked for the product/quantity of the replacement item. Accepting the
return will function just like a replace, except the item/quantity  
will

be pulled from the new fields.

I just wanted to get some feedback as to whether or not this seems  
like
a good design. I feel that the logic is ok, but I'm unsure if adding  
the

reference fields to ReturnItem is the proper way to add the feature. I
just don't want to paint myself (or anyone else) into this corner  
where

you have to add fields to entity to add a similar feature. Thanks.

-Original Message-
From: David E Jones [mailto:david.jo...@hotwaxmedia.com]
Sent: Thursday, March 19, 2009 3:52 PM
To: user@ofbiz.apache.org
Subject: Re: Exchanges


OFBiz does support various things that could be called an Exchange.
Usually this is done as a return for in-store credit, and then the
customer can place whatever order they would like. A CSR could also do
this on behalf of a customer without the customer having to place the
actual order.

Typically the return for replacement is for the same item and not
exchanging for a different item, but with a little playing it could
easily be used way... it's just more complicated since an exchange for
a different item usually results in a credit to, or balance due from,
the customer.

-David


On Mar 19, 2009, at 9:29 AM, Sanders, Brian wrote:


I haven't fully looked into it yet myself, but I'm told that OFBiz
does
not have exchange functionality. However, my understanding is that  
you
can do replacements. I will look into it in the meantime, but if  
OFBiz

does support exchanges, can someone point me in the right direction
(docs, ML, etc...)? Thanks.







Re: OFBiz Requirements and Designs

2009-03-24 Thread David E Jones


Anyone who is interested in this should read the introduction document:

http://docs.ofbiz.org/display/OFBREQDES/UBPL+Introduction

If anyone has questions, please feel free to send them to me. Aside  
from fleshing out the stories one step coming up right away is to do a  
gap analysis between these stories and OFBiz itself. This serves 2  
purposes: documenting how to do things that exist, and identifying  
opportunities for improvement in OFBiz where things don't exist.


-David


On Mar 24, 2009, at 11:56 AM, BJ Freeman wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

sort of hidden away thought others might be interested
http://docs.ofbiz.org/pages/listpages-alphaview.action?key=OFBREQDES
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJyR7qrP3NbaWWqE4RAjaRAJ9sCyQ98yfqocwMzZsG3Z82dNXBlQCggNyq
VfpbEH5S7EKWXxO4akJb8d0=
=iJF8
-END PGP SIGNATURE-




GlAccountOrganization and roleTypeId

2009-03-24 Thread Stephen Rufle
On entity GlAccountOrganization what is the roleTypeId used for? I
searched the seed data and looked at some of the services. roleTypeId
seems to never be set.




Re: To locate productstores on the basis of the postalcode given

2009-03-24 Thread David E Jones


There are certainly structures in place for this sort of thing, but  
the detail here is not sufficient to select one.


To start out... Are you talking about physical stores (like a physical  
retail store), or are you talking about different ecommerce stores  
that serve different parts of the world?


The main point is, you have to have the business case really solid  
before you start doing any sort of design or gap analysis with  
existing software. Without that, it's like a casual conversation over  
dinner and you can't expect any rubber to hit the road.


-David


On Mar 24, 2009, at 8:31 AM, Vikas Gupta wrote:


Hello All,
Facility entity has its ownerPartyId. A facility can have  
many ProductStores. I need to get postal address of the  
ProductStore. I think Postal address can be got through ContactMech,  
but that again would require PartyId. Is it possible that different  
ProductStores have different ownerPartyIds, so that I could have  
respective PostalAddresses for these productstores. Productstore  
entity has payToPartyId and not any ownerPartyId.


Please suggest me, I want to locate productstores on the basis of  
the postalcode given.



Thanks,
--
Vikas Gupta




RE: Exchanges

2009-03-24 Thread Sanders, Brian
To keep things simple in this case, you may only exchange for an item of
equal value (ie. different size/color). 

-Original Message-
From: David E Jones [mailto:david.jo...@hotwaxmedia.com] 
Sent: Tuesday, March 24, 2009 2:51 PM
To: user@ofbiz.apache.org
Subject: Re: Exchanges


What does it do if the new product costs more or less than the old?

-David


On Mar 24, 2009, at 11:51 AM, Sanders, Brian wrote:

 So, here's the idea I want to try out:
 1. I made an Exchange ReturnType
 2. I made an Exchange OrderType
 3. I added a referenceProductId relation to ReturnItem
 4. I will probably add a referenceQuantity field to ReturnItem as  
 well

 In the return screen, if you select Exchange, then the user will be
 asked for the product/quantity of the replacement item. Accepting the
 return will function just like a replace, except the item/quantity  
 will
 be pulled from the new fields.

 I just wanted to get some feedback as to whether or not this seems  
 like
 a good design. I feel that the logic is ok, but I'm unsure if adding  
 the
 reference fields to ReturnItem is the proper way to add the feature. I
 just don't want to paint myself (or anyone else) into this corner  
 where
 you have to add fields to entity to add a similar feature. Thanks.

 -Original Message-
 From: David E Jones [mailto:david.jo...@hotwaxmedia.com]
 Sent: Thursday, March 19, 2009 3:52 PM
 To: user@ofbiz.apache.org
 Subject: Re: Exchanges


 OFBiz does support various things that could be called an Exchange.
 Usually this is done as a return for in-store credit, and then the
 customer can place whatever order they would like. A CSR could also do
 this on behalf of a customer without the customer having to place the
 actual order.

 Typically the return for replacement is for the same item and not
 exchanging for a different item, but with a little playing it could
 easily be used way... it's just more complicated since an exchange for
 a different item usually results in a credit to, or balance due from,
 the customer.

 -David


 On Mar 19, 2009, at 9:29 AM, Sanders, Brian wrote:

 I haven't fully looked into it yet myself, but I'm told that OFBiz
 does
 not have exchange functionality. However, my understanding is that  
 you
 can do replacements. I will look into it in the meantime, but if  
 OFBiz
 does support exchanges, can someone point me in the right direction
 (docs, ML, etc...)? Thanks.





Re: Exchanges

2009-03-24 Thread BJ Freeman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

it would seem that you can model after the return services to credit the
product to an partyid attached to a account and one that fills in the
data and send them to the order entry screen.

if the exchange item is more then the customer is charged extra amount
if the exchange item is less then the customer has a credit for the next
order. this could be expanded to have option as to how to handle the credit.

Sanders, Brian sent the following on 3/24/2009 1:22 PM:
 To keep things simple in this case, you may only exchange for an item of
 equal value (ie. different size/color). 
 
 -Original Message-
 From: David E Jones [mailto:david.jo...@hotwaxmedia.com] 
 Sent: Tuesday, March 24, 2009 2:51 PM
 To: user@ofbiz.apache.org
 Subject: Re: Exchanges
 
 
 What does it do if the new product costs more or less than the old?
 
 -David
 
 
 On Mar 24, 2009, at 11:51 AM, Sanders, Brian wrote:
 
 So, here's the idea I want to try out:
 1. I made an Exchange ReturnType
 2. I made an Exchange OrderType
 3. I added a referenceProductId relation to ReturnItem
 4. I will probably add a referenceQuantity field to ReturnItem as  
 well

 In the return screen, if you select Exchange, then the user will be
 asked for the product/quantity of the replacement item. Accepting the
 return will function just like a replace, except the item/quantity  
 will
 be pulled from the new fields.

 I just wanted to get some feedback as to whether or not this seems  
 like
 a good design. I feel that the logic is ok, but I'm unsure if adding  
 the
 reference fields to ReturnItem is the proper way to add the feature. I
 just don't want to paint myself (or anyone else) into this corner  
 where
 you have to add fields to entity to add a similar feature. Thanks.

 -Original Message-
 From: David E Jones [mailto:david.jo...@hotwaxmedia.com]
 Sent: Thursday, March 19, 2009 3:52 PM
 To: user@ofbiz.apache.org
 Subject: Re: Exchanges


 OFBiz does support various things that could be called an Exchange.
 Usually this is done as a return for in-store credit, and then the
 customer can place whatever order they would like. A CSR could also do
 this on behalf of a customer without the customer having to place the
 actual order.

 Typically the return for replacement is for the same item and not
 exchanging for a different item, but with a little playing it could
 easily be used way... it's just more complicated since an exchange for
 a different item usually results in a credit to, or balance due from,
 the customer.

 -David


 On Mar 19, 2009, at 9:29 AM, Sanders, Brian wrote:

 I haven't fully looked into it yet myself, but I'm told that OFBiz
 does
 not have exchange functionality. However, my understanding is that  
 you
 can do replacements. I will look into it in the meantime, but if  
 OFBiz
 does support exchanges, can someone point me in the right direction
 (docs, ML, etc...)? Thanks.

 
 
 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJyUdjrP3NbaWWqE4RAlKSAJsHpx62c8C3INd1CQijxhFWZbB59QCaAmor
Lg8k1QkkwjO9dX0RCGX5aJY=
=iuCM
-END PGP SIGNATURE-


E commerce setup Contact Us

2009-03-24 Thread Jacek Wagner

All,

Where contact us  suppose to be mail to?

Jacek


Re: E commerce setup Contact Us

2009-03-24 Thread BJ Freeman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

partymgr-communication

Jacek Wagner sent the following on 3/24/2009 2:16 PM:
 All,
 
 Where contact us  suppose to be mail to?
 
 Jacek
 
 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJyU9IrP3NbaWWqE4RAtGJAJ9l0IWqMj1xlZSn0ws/PCE0d5MpJQCg0reX
tAsE7G69SLlhWbcOJTHDCMA=
=rkmJ
-END PGP SIGNATURE-


Re: E commerce setup Contact Us

2009-03-24 Thread Jacek Wagner

It works.

Very much impressed Jacek

BJ Freeman wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

partymgr-communication

Jacek Wagner sent the following on 3/24/2009 2:16 PM:
  

All,

Where contact us  suppose to be mail to?

Jacek




-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJyU9IrP3NbaWWqE4RAtGJAJ9l0IWqMj1xlZSn0ws/PCE0d5MpJQCg0reX
tAsE7G69SLlhWbcOJTHDCMA=
=rkmJ
-END PGP SIGNATURE-
  




Re: E commerce setup Contact Us

2009-03-24 Thread BJ Freeman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

same with requests


Jacek Wagner sent the following on 3/24/2009 2:59 PM:
 It works.
 
 Very much impressed Jacek
 
 BJ Freeman wrote:
 partymgr-communication
 
 Jacek Wagner sent the following on 3/24/2009 2:16 PM:
  
 All,

 Where contact us  suppose to be mail to?

 Jacek


 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFJyVk6rP3NbaWWqE4RAoviAJ4pX+GfGiFo+iHBjXdZzsXRTbt0HACfVEgu
AzuhGJsMPfrjOFf7SE1+vDM=
=c1jY
-END PGP SIGNATURE-


How to do Shipment for Sales Order

2009-03-24 Thread Muhammad Aamir
I created a sales order and then approved, but I couldn't figure out how to
ship to order items. There is no link in Sales Order screen for the
shipment. (However I noticed that the inventory item have been reserved for
the order/shipment).

Regards
Muhammad Aamir


Two accounting transaction for each payment

2009-03-24 Thread Muhammad Aamir
 I noticed that whenever I make and outgoing payment, it creates two
duplicate accounting transactions. Is it a bug or I am doing something
wrong?

Note: I am using trunk release.

Thanks


Re: Team collaboration

2009-03-24 Thread David E Jones


Look in the Content Manager and the eCommerce templates.

If you are familiar with the OFBiz framework enough to use the  
ArtifactInfo pages (in the WebTools webapp), start with the Content  
entity and look at related artifacts.


-David


On Mar 24, 2009, at 9:33 PM, Mansour Al Akeel wrote:


Hello all:

I have been evaluating ofbiz for one of our project, and it looks  
great

up to this point. I am expecting a long way to master it.

Usually in an enterprise, one of the requirements is to have an  
internal

wiki, news, document management, blogs ... etc.

If this is supported in ofbiz, under which component I can find this?
Any docs, tutorials ?






Re: Two accounting transaction for each payment

2009-03-24 Thread David E Jones


On Mar 24, 2009, at 9:38 PM, Muhammad Aamir wrote:


I noticed that whenever I make and outgoing payment, it creates two
duplicate accounting transactions. Is it a bug or I am doing something
wrong?

Note: I am using trunk release.


Unless someone has seen the same thing recently and happens to know  
what you are talking about you'll probably have to be more specific.


Steps to reproduce are a good place to start...

-David




Team collaboration

2009-03-24 Thread Mansour Al Akeel
Hello all:

I have been evaluating ofbiz for one of our project, and it looks great
up to this point. I am expecting a long way to master it.

Usually in an enterprise, one of the requirements is to have an internal
wiki, news, document management, blogs ... etc.

If this is supported in ofbiz, under which component I can find this?
Any docs, tutorials ? 




Re: How to do Shipment for Sales Order

2009-03-24 Thread Pratik Khera

Hello Aamir ,
 There is a Label named as Quick Ship Entire 
Order in Order View Screens on Order Detail Page.You can ship your 
order from here itself.Also there will be an option named as  New 
Shipment For Ship Group, you can also ship your order from here.


Regards
Pratik Khera

Muhammad Aamir wrote:
I created a sales order and then approved, but I couldn't figure out 
how to ship to order items. There is no link in Sales Order screen for 
the shipment. (However I noticed that the inventory item have been 
reserved for the order/shipment).


Regards
Muhammad Aamir




how to create Product price for multiple countries????

2009-03-24 Thread Kumaraswamy nandipati
Hi.,

I had one product which need to be displayed in multiple countries and the
price varies from country to country.

Am I required to maintain new productId for same product in each country and
add product price individually?

OR
Is there any alternative for this?(like country specific prices for a single
productId)


-- 
Thanks in Advance,
Kumaraswamy.N
91-9866805250.