Hi Rishi, Akash,webSiteId is one of those fields that is always present in the context so auto-fields-entity will always find a value for it unless we tell it to look somewhere more specific for it's values like this: <auto-fields-entity entity-name="OrderHeaderAndShipGroups" default- field-type="hidden" map-name="parameters"/>
This way auto-fields-entity will only look in the parameter map for values to populate the form with. Hope that helps.
Regards Scott HotWax Media http://www.hotwaxmedia.com On 23/11/2009, at 7:10 PM, Rishi Solanki wrote:
It should be better then previous like changing the web.xml was not goodidea. Doing this form will be independent from the webSiteId. But before finalizing we should wait.Jacques/Others could you pleas provide some love to this thread ;-), as bugexists in OFBiz so that we can finalize some solution. Rishi Solanki Enterprise Software Developer HotWax Media Pvt. Ltd.On Mon, Nov 23, 2009 at 11:06 AM, Akash Jain <[email protected] >wrote:Thanks Rishi for reply. I have found out one more solution of this problem, After commenting, <auto-fields-entityentity-name="OrderHeaderAndShipGroups" default-field-type="hidden"/ > for lookupPurchaseOrderHeaderAndShipInfo form in FieldLookupForms.xml file (at line no. 149) lookup works fine. I have tested all scenarios it works finefor all. Thanks and Regards -- Akash Jain Rishi Solanki wrote:If we look at your specify entity then all purchase orders are associatedto OrderEntry websitId. But the Facility component uses the FACILITY as websiteId in web.xml.By changing the websiteId to OrderEntry in /facility/web.xml the lookupworks fine at my end, but it should not be good one. This needs to be fix lets see what others say on this. Rishi Solanki Enterprise Software Developer HotWax Media Pvt. Ltd. On Fri, Nov 20, 2009 at 4:44 PM, Akash Jain <[email protected]wrote:I have look up code and find out the reason, actually when there isgenerate string for searching results then webSiteId=FACILITY is alsoadded in this string and records is searching in OrderHeaderAndShipGroups entity and there is value of webSiteId is not FACILITY. Thanks and Regards -- Akash Jain Akash Jain wrote:Hello All,Order Lookup is not working properly for Receive Inventory process.I have done following:- (1) Hit url https://demo.ofbiz.org/facility/control/ReceiveInventory?facilityId=WebStoreWarehouse (2) Depress Lookup for Purchase Order Number.(3) First time it works proper there is shown list of purchase ordersproperly.(4) Depress LOOKUP button, now there is no purchase order in the result.Thanks and Regards -- Akash Jain
smime.p7s
Description: S/MIME cryptographic signature
