hhfacility error in quantity type

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

hhfacility error in quantity type

Dan Dodd
I am new so there is a lot of reading I still need to do, suggestions
welcome.

 

errors in ../hhfacility/control/receiveproductqty) and  in release 9.04
OOTB

I saw a discussion regarding the first error awhile ago but cannot find
it now.

I don't know if I am looking in the right place , or if I am changing
the right components.  

 

In receiveproductqty:

After entering a product ID I get a screen with 2 entry fields location
and quantity, entered location and quantity:

ERROR: Could not complete the Receive Product to Facility
[file:/opt/ofbiz/specialpurpose/hhfacility/script/org/ofbiz/hhfacility/F
acilityServices.xml#tc_ReceiveProductQty] process [problem invoking the
[receiveInventoryProduct] service with the map named [receiveCtx]
containing [[facilityId=WebStoreWarehouse, productId=PIZZA,
quantityAccepted=1.0, locationSeqId=TOPSHELF, comments=hhFacility
Receipt, datetimeReceived=2009-05-23 11:35:40.703,
inventoryItemTypeId=NON_SERIAL_INV_ITEM, quantityRejected=0.0,
userLogin=[GenericEntity:UserLogin][createdStamp,2009-05-18
06:34:02.603(java.sql.Timestamp)][createdTxStamp,2009-05-18
06:34:01.563(java.sql.Timestamp)][currentPassword,{SHA}47ca69ebb4bdc9ae0
adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enab
led,Y(java.lang.String)][externalAuthId,null()][hasLoggedOut,N(java.lang
.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][la
stTimeZone,null()][lastUpdatedStamp,2009-05-23
10:03:12.562(java.sql.Timestamp)][lastUpdatedTxStamp,2009-05-23
10:03:12.561(java.sql.Timestamp)][partyId,admin(java.lang.String)][passw
ordHint,null()][requirePasswordChange,null()][successiveFailedLogins,nul
l()][userLdapDn,null()][userLoginId,admin(java.lang.String)],
locale=en_US]]: Type check failed for field
[receiveInventoryProduct.quantityAccepted]; expected type is
[java.math.BigDecimal]; actual type is [java.lang.Double]Type check
failed for field [receiveInventoryProduct.quantityRejected]; expected
type is [java.math.BigDecimal]; actual type is [java.lang.Double]]

 

So,  two type check failures. I found one in

specialpurpose/hhfacility/script/org/ofbiz/hhfacility/FacilityServices.x
ml

I changed Double to BigDecimal

 

        <calculate field="receiveCtx.quantityRejected" type="Double">

            <number value="0"/>

        </calculate>

 

And that got rid of error in quantity rejected field..

 

I looked around and found

specialpurpose/hhfacility/servicedef/services_hhfacility.xml "

and In <service name="tc_ReceiveProductQty" engine="simple"

I changed Double to BigDecimal  

        <attribute name="productQty" type="Double" mode="IN"
optional="false"/>

 

And that got rid of error in quantity Accepted field..

I'm not certain that this is the correct approach.

 

 

In updateproductstocktake

 I get the error

Error calling event:

org.ofbiz.webapp.event.EventHandlerException:

Service invocation error

(java.math.BigDecimal)

 

I'm guessing this is a similar problem but I cannot see where to fix it.

 

 

 

Dan Dodd

IHOP-KC

[hidden email] <mailto:[hidden email]>  

 

Reply | Threaded
Open this post in threaded view
|

RE: hhfacility error in quantity type

Dan Dodd
Does anyone remember addressing these issues in hhfacility?

Dan Dodd



I am new so there is a lot of reading I still need to do, suggestions
welcome.

 

errors in ../hhfacility/control/receiveproductqty) and  in release 9.04
OOTB

I saw a discussion regarding the first error awhile ago but cannot find
it now.

I don't know if I am looking in the right place , or if I am changing
the right components.  

 

1) In receiveproductqty:

After entering a product ID I get a screen with 2 entry fields location
and quantity, entered location and quantity:

ERROR: Could not complete the Receive Product to Facility
[file:/opt/ofbiz/specialpurpose/hhfacility/script/org/ofbiz/hhfacility/F
acilityServices.xml#tc_ReceiveProductQty] process [problem invoking the
[receiveInventoryProduct] service with the map named [receiveCtx]
containing [[facilityId=WebStoreWarehouse, productId=PIZZA,
quantityAccepted=1.0, locationSeqId=TOPSHELF, comments=hhFacility
Receipt, datetimeReceived=2009-05-23 11:35:40.703,
inventoryItemTypeId=NON_SERIAL_INV_ITEM, quantityRejected=0.0,
userLogin=[GenericEntity:UserLogin][createdStamp,2009-05-18
06:34:02.603(java.sql.Timestamp)][createdTxStamp,2009-05-18
06:34:01.563(java.sql.Timestamp)][currentPassword,{SHA}47ca69ebb4bdc9ae0
adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enab
led,Y(java.lang.String)][externalAuthId,null()][hasLoggedOut,N(java.lang
.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][la
stTimeZone,null()][lastUpdatedStamp,2009-05-23
10:03:12.562(java.sql.Timestamp)][lastUpdatedTxStamp,2009-05-23
10:03:12.561(java.sql.Timestamp)][partyId,admin(java.lang.String)][passw
ordHint,null()][requirePasswordChange,null()][successiveFailedLogins,nul
l()][userLdapDn,null()][userLoginId,admin(java.lang.String)],
locale=en_US]]: Type check failed for field
[receiveInventoryProduct.quantityAccepted]; expected type is
[java.math.BigDecimal]; actual type is [java.lang.Double]Type check
failed for field [receiveInventoryProduct.quantityRejected]; expected
type is [java.math.BigDecimal]; actual type is [java.lang.Double]]

 

So,  two type check failures. I found one in

specialpurpose/hhfacility/script/org/ofbiz/hhfacility/FacilityServices.x
ml

I changed Double to BigDecimal
        <calculate field="receiveCtx.quantityRejected" type="Double">
            <number value="0"/>
        </calculate>

that got rid of error in quantity rejected field..


I looked around and found

specialpurpose/hhfacility/servicedef/services_hhfacility.xml "
and In <service name="tc_ReceiveProductQty" engine="simple"
I changed Double to BigDecimal  
        <attribute name="productQty" type="Double" mode="IN"
optional="false"/>

And that got rid of error in quantity Accepted field..

I'm not certain that this is the correct approach.
 

2) In updateproductstocktake

 I get the error

Error calling event:

org.ofbiz.webapp.event.EventHandlerException:

Service invocation error

(java.math.BigDecimal)

 

I'm guessing this is a similar problem but I cannot see where to fix it.
 

Thanks for taking a look

Dan Dodd


 

Reply | Threaded
Open this post in threaded view
|

Re: hhfacility error in quantity type

BJ Freeman
In reply to this post by Dan Dodd
this componet has not been worked on for a while.
it is not actively supported
componets in the specialpurpose folder may or may not be actively supported.
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/hhfacility/
lets you see what has been done when down to the file.

Dan Dodd sent the following on 5/25/2009 12:08 PM:

> Does anyone remember addressing these issues in hhfacility?
>
> Dan Dodd
>
>
>
> I am new so there is a lot of reading I still need to do, suggestions
> welcome.
>
>  
>
> errors in ../hhfacility/control/receiveproductqty) and  in release 9.04
> OOTB
>
> I saw a discussion regarding the first error awhile ago but cannot find
> it now.
>
> I don't know if I am looking in the right place , or if I am changing
> the right components.  
>
>  
>
> 1) In receiveproductqty:
>
> After entering a product ID I get a screen with 2 entry fields location
> and quantity, entered location and quantity:
>
> ERROR: Could not complete the Receive Product to Facility
> [file:/opt/ofbiz/specialpurpose/hhfacility/script/org/ofbiz/hhfacility/F
> acilityServices.xml#tc_ReceiveProductQty] process [problem invoking the
> [receiveInventoryProduct] service with the map named [receiveCtx]
> containing [[facilityId=WebStoreWarehouse, productId=PIZZA,
> quantityAccepted=1.0, locationSeqId=TOPSHELF, comments=hhFacility
> Receipt, datetimeReceived=2009-05-23 11:35:40.703,
> inventoryItemTypeId=NON_SERIAL_INV_ITEM, quantityRejected=0.0,
> userLogin=[GenericEntity:UserLogin][createdStamp,2009-05-18
> 06:34:02.603(java.sql.Timestamp)][createdTxStamp,2009-05-18
> 06:34:01.563(java.sql.Timestamp)][currentPassword,{SHA}47ca69ebb4bdc9ae0
> adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enab
> led,Y(java.lang.String)][externalAuthId,null()][hasLoggedOut,N(java.lang
> .String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][la
> stTimeZone,null()][lastUpdatedStamp,2009-05-23
> 10:03:12.562(java.sql.Timestamp)][lastUpdatedTxStamp,2009-05-23
> 10:03:12.561(java.sql.Timestamp)][partyId,admin(java.lang.String)][passw
> ordHint,null()][requirePasswordChange,null()][successiveFailedLogins,nul
> l()][userLdapDn,null()][userLoginId,admin(java.lang.String)],
> locale=en_US]]: Type check failed for field
> [receiveInventoryProduct.quantityAccepted]; expected type is
> [java.math.BigDecimal]; actual type is [java.lang.Double]Type check
> failed for field [receiveInventoryProduct.quantityRejected]; expected
> type is [java.math.BigDecimal]; actual type is [java.lang.Double]]
>
>  
>
> So,  two type check failures. I found one in
>
> specialpurpose/hhfacility/script/org/ofbiz/hhfacility/FacilityServices.x
> ml
>
> I changed Double to BigDecimal
>         <calculate field="receiveCtx.quantityRejected" type="Double">
>             <number value="0"/>
>         </calculate>
>
> that got rid of error in quantity rejected field..
>
>
> I looked around and found
>
> specialpurpose/hhfacility/servicedef/services_hhfacility.xml "
> and In <service name="tc_ReceiveProductQty" engine="simple"
> I changed Double to BigDecimal  
>         <attribute name="productQty" type="Double" mode="IN"
> optional="false"/>
>
> And that got rid of error in quantity Accepted field..
>
> I'm not certain that this is the correct approach.
>  
>
> 2) In updateproductstocktake
>
>  I get the error
>
> Error calling event:
>
> org.ofbiz.webapp.event.EventHandlerException:
>
> Service invocation error
>
> (java.math.BigDecimal)
>
>  
>
> I'm guessing this is a similar problem but I cannot see where to fix it.
>  
>
> Thanks for taking a look
>
> Dan Dodd
>
>
>  
>
>

--
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
Systems Integrator.

Reply | Threaded
Open this post in threaded view
|

Re: hhfacility error in quantity type

David E Jones-3

What do you mean by "actively supported"?

I'd say that is as "actively supported" as anything else in the  
project. The support of the project is peer support, so it's all about  
finding peers and working with them (since they aren't working for you).

In other words, either this is "actively supported" or technically  
nothing in the project is "actively supported".

-David


On May 25, 2009, at 3:07 PM, BJ Freeman wrote:

> this componet has not been worked on for a while.
> it is not actively supported
> componets in the specialpurpose folder may or may not be actively  
> supported.
> http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/hhfacility/
> lets you see what has been done when down to the file.
>
> Dan Dodd sent the following on 5/25/2009 12:08 PM:
>> Does anyone remember addressing these issues in hhfacility?
>>
>> Dan Dodd
>>
>>
>>
>> I am new so there is a lot of reading I still need to do, suggestions
>> welcome.
>>
>>
>>
>> errors in ../hhfacility/control/receiveproductqty) and  in release  
>> 9.04
>> OOTB
>>
>> I saw a discussion regarding the first error awhile ago but cannot  
>> find
>> it now.
>>
>> I don't know if I am looking in the right place , or if I am changing
>> the right components.
>>
>>
>>
>> 1) In receiveproductqty:
>>
>> After entering a product ID I get a screen with 2 entry fields  
>> location
>> and quantity, entered location and quantity:
>>
>> ERROR: Could not complete the Receive Product to Facility
>> [file:/opt/ofbiz/specialpurpose/hhfacility/script/org/ofbiz/
>> hhfacility/F
>> acilityServices.xml#tc_ReceiveProductQty] process [problem invoking  
>> the
>> [receiveInventoryProduct] service with the map named [receiveCtx]
>> containing [[facilityId=WebStoreWarehouse, productId=PIZZA,
>> quantityAccepted=1.0, locationSeqId=TOPSHELF, comments=hhFacility
>> Receipt, datetimeReceived=2009-05-23 11:35:40.703,
>> inventoryItemTypeId=NON_SERIAL_INV_ITEM, quantityRejected=0.0,
>> userLogin=[GenericEntity:UserLogin][createdStamp,2009-05-18
>> 06:34:02.603(java.sql.Timestamp)][createdTxStamp,2009-05-18
>> 06:34:01.563(java.sql.Timestamp)][currentPassword,
>> {SHA}47ca69ebb4bdc9ae0
>> adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()]
>> [enab
>> led,Y(java.lang.String)][externalAuthId,null()]
>> [hasLoggedOut,N(java.lang
>> .String)][isSystem,null()][lastCurrencyUom,null()]
>> [lastLocale,null()][la
>> stTimeZone,null()][lastUpdatedStamp,2009-05-23
>> 10:03:12.562(java.sql.Timestamp)][lastUpdatedTxStamp,2009-05-23
>> 10:03:12.561(java.sql.Timestamp)][partyId,admin(java.lang.String)]
>> [passw
>> ordHint,null()][requirePasswordChange,null()]
>> [successiveFailedLogins,nul
>> l()][userLdapDn,null()][userLoginId,admin(java.lang.String)],
>> locale=en_US]]: Type check failed for field
>> [receiveInventoryProduct.quantityAccepted]; expected type is
>> [java.math.BigDecimal]; actual type is [java.lang.Double]Type check
>> failed for field [receiveInventoryProduct.quantityRejected]; expected
>> type is [java.math.BigDecimal]; actual type is [java.lang.Double]]
>>
>>
>>
>> So,  two type check failures. I found one in
>>
>> specialpurpose/hhfacility/script/org/ofbiz/hhfacility/
>> FacilityServices.x
>> ml
>>
>> I changed Double to BigDecimal
>>        <calculate field="receiveCtx.quantityRejected" type="Double">
>>            <number value="0"/>
>>        </calculate>
>>
>> that got rid of error in quantity rejected field..
>>
>>
>> I looked around and found
>>
>> specialpurpose/hhfacility/servicedef/services_hhfacility.xml "
>> and In <service name="tc_ReceiveProductQty" engine="simple"
>> I changed Double to BigDecimal
>>        <attribute name="productQty" type="Double" mode="IN"
>> optional="false"/>
>>
>> And that got rid of error in quantity Accepted field..
>>
>> I'm not certain that this is the correct approach.
>>
>>
>> 2) In updateproductstocktake
>>
>> I get the error
>>
>> Error calling event:
>>
>> org.ofbiz.webapp.event.EventHandlerException:
>>
>> Service invocation error
>>
>> (java.math.BigDecimal)
>>
>>
>>
>> I'm guessing this is a similar problem but I cannot see where to  
>> fix it.
>>
>>
>> Thanks for taking a look
>>
>> Dan Dodd
>>
>>
>>
>>
>>
>
> --
> BJ Freeman
> http://www.businessesnetwork.com/automation
> http://bjfreeman.elance.com
> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
> Systems Integrator.
>

Reply | Threaded
Open this post in threaded view
|

Re: hhfacility error in quantity type

BJ Freeman
In reply to this post by BJ Freeman
it was a paraphrase of you explanation a few months back
as usual I will be glad to dig up he email is you wish.

David E Jones sent the following on 5/25/2009 3:01 PM:

>
> What do you mean by "actively supported"?
>
> I'd say that is as "actively supported" as anything else in the project.
> The support of the project is peer support, so it's all about finding
> peers and working with them (since they aren't working for you).
>
> In other words, either this is "actively supported" or technically
> nothing in the project is "actively supported".
>
> -David
>
>
> On May 25, 2009, at 3:07 PM, BJ Freeman wrote:
>
>> this componet has not been worked on for a while.
>> it is not actively supported
>> componets in the specialpurpose folder may or may not be actively
>> supported.
>> http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/hhfacility/
>> lets you see what has been done when down to the file.
>>
>> Dan Dodd sent the following on 5/25/2009 12:08 PM:
>>> Does anyone remember addressing these issues in hhfacility?
>>>
>>> Dan Dodd
>>>
>>>
>>>
>>> I am new so there is a lot of reading I still need to do, suggestions
>>> welcome.
>>>
>>>
>>>
>>> errors in ../hhfacility/control/receiveproductqty) and  in release 9.04
>>> OOTB
>>>
>>> I saw a discussion regarding the first error awhile ago but cannot find
>>> it now.
>>>
>>> I don't know if I am looking in the right place , or if I am changing
>>> the right components.
>>>
>>>
>>>
>>> 1) In receiveproductqty:
>>>
>>> After entering a product ID I get a screen with 2 entry fields location
>>> and quantity, entered location and quantity:
>>>
>>> ERROR: Could not complete the Receive Product to Facility
>>> [file:/opt/ofbiz/specialpurpose/hhfacility/script/org/ofbiz/hhfacility/F
>>> acilityServices.xml#tc_ReceiveProductQty] process [problem invoking the
>>> [receiveInventoryProduct] service with the map named [receiveCtx]
>>> containing [[facilityId=WebStoreWarehouse, productId=PIZZA,
>>> quantityAccepted=1.0, locationSeqId=TOPSHELF, comments=hhFacility
>>> Receipt, datetimeReceived=2009-05-23 11:35:40.703,
>>> inventoryItemTypeId=NON_SERIAL_INV_ITEM, quantityRejected=0.0,
>>> userLogin=[GenericEntity:UserLogin][createdStamp,2009-05-18
>>> 06:34:02.603(java.sql.Timestamp)][createdTxStamp,2009-05-18
>>> 06:34:01.563(java.sql.Timestamp)][currentPassword,{SHA}47ca69ebb4bdc9ae0
>>> adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enab
>>> led,Y(java.lang.String)][externalAuthId,null()][hasLoggedOut,N(java.lang
>>> .String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][la
>>> stTimeZone,null()][lastUpdatedStamp,2009-05-23
>>> 10:03:12.562(java.sql.Timestamp)][lastUpdatedTxStamp,2009-05-23
>>> 10:03:12.561(java.sql.Timestamp)][partyId,admin(java.lang.String)][passw
>>> ordHint,null()][requirePasswordChange,null()][successiveFailedLogins,nul
>>> l()][userLdapDn,null()][userLoginId,admin(java.lang.String)],
>>> locale=en_US]]: Type check failed for field
>>> [receiveInventoryProduct.quantityAccepted]; expected type is
>>> [java.math.BigDecimal]; actual type is [java.lang.Double]Type check
>>> failed for field [receiveInventoryProduct.quantityRejected]; expected
>>> type is [java.math.BigDecimal]; actual type is [java.lang.Double]]
>>>
>>>
>>>
>>> So,  two type check failures. I found one in
>>>
>>> specialpurpose/hhfacility/script/org/ofbiz/hhfacility/FacilityServices.x
>>> ml
>>>
>>> I changed Double to BigDecimal
>>>        <calculate field="receiveCtx.quantityRejected" type="Double">
>>>            <number value="0"/>
>>>        </calculate>
>>>
>>> that got rid of error in quantity rejected field..
>>>
>>>
>>> I looked around and found
>>>
>>> specialpurpose/hhfacility/servicedef/services_hhfacility.xml "
>>> and In <service name="tc_ReceiveProductQty" engine="simple"
>>> I changed Double to BigDecimal
>>>        <attribute name="productQty" type="Double" mode="IN"
>>> optional="false"/>
>>>
>>> And that got rid of error in quantity Accepted field..
>>>
>>> I'm not certain that this is the correct approach.
>>>
>>>
>>> 2) In updateproductstocktake
>>>
>>> I get the error
>>>
>>> Error calling event:
>>>
>>> org.ofbiz.webapp.event.EventHandlerException:
>>>
>>> Service invocation error
>>>
>>> (java.math.BigDecimal)
>>>
>>>
>>>
>>> I'm guessing this is a similar problem but I cannot see where to fix it.
>>>
>>>
>>> Thanks for taking a look
>>>
>>> Dan Dodd
>>>
>>>
>>>
>>>
>>>
>>
>> --
>> BJ Freeman
>> http://www.businessesnetwork.com/automation
>> http://bjfreeman.elance.com
>> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
>>
>> Systems Integrator.
>>
>
>

--
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
Systems Integrator.

Reply | Threaded
Open this post in threaded view
|

RE: hhfacility error in quantity type

Dan Dodd
Thanks for the replies. I'll keep digging and see if I can learn enough
verify the one fix and to fix the other problem and submit a change.

Thanks OFBIZ team you really have an amazing collection.

Dan Dodd

IHOP-KC
[hidden email]
-----Original Message-----
From: BJ Freeman [mailto:[hidden email]]
Sent: Monday, May 25, 2009 5:41 PM
To: [hidden email]
Subject: Re: hhfacility error in quantity type

it was a paraphrase of you explanation a few months back
as usual I will be glad to dig up he email is you wish.

David E Jones sent the following on 5/25/2009 3:01 PM:
>
> What do you mean by "actively supported"?
>
> I'd say that is as "actively supported" as anything else in the
project.

> The support of the project is peer support, so it's all about finding
> peers and working with them (since they aren't working for you).
>
> In other words, either this is "actively supported" or technically
> nothing in the project is "actively supported".
>
> -David
>
>
> On May 25, 2009, at 3:07 PM, BJ Freeman wrote:
>
>> this componet has not been worked on for a while.
>> it is not actively supported
>> componets in the specialpurpose folder may or may not be actively
>> supported.
>> http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/hhfacility/
>> lets you see what has been done when down to the file.
>>
>> Dan Dodd sent the following on 5/25/2009 12:08 PM:
>>> Does anyone remember addressing these issues in hhfacility?
>>>
>>> Dan Dodd
>>>
>>>
>>>
>>> I am new so there is a lot of reading I still need to do,
suggestions
>>> welcome.
>>>
>>>
>>>
>>> errors in ../hhfacility/control/receiveproductqty) and  in release
9.04
>>> OOTB
>>>
>>> I saw a discussion regarding the first error awhile ago but cannot
find
>>> it now.
>>>
>>> I don't know if I am looking in the right place , or if I am
changing
>>> the right components.
>>>
>>>
>>>
>>> 1) In receiveproductqty:
>>>
>>> After entering a product ID I get a screen with 2 entry fields
location
>>> and quantity, entered location and quantity:
>>>
>>> ERROR: Could not complete the Receive Product to Facility
>>>
[file:/opt/ofbiz/specialpurpose/hhfacility/script/org/ofbiz/hhfacility/F
>>> acilityServices.xml#tc_ReceiveProductQty] process [problem invoking
the
>>> [receiveInventoryProduct] service with the map named [receiveCtx]
>>> containing [[facilityId=WebStoreWarehouse, productId=PIZZA,
>>> quantityAccepted=1.0, locationSeqId=TOPSHELF, comments=hhFacility
>>> Receipt, datetimeReceived=2009-05-23 11:35:40.703,
>>> inventoryItemTypeId=NON_SERIAL_INV_ITEM, quantityRejected=0.0,
>>> userLogin=[GenericEntity:UserLogin][createdStamp,2009-05-18
>>> 06:34:02.603(java.sql.Timestamp)][createdTxStamp,2009-05-18
>>>
06:34:01.563(java.sql.Timestamp)][currentPassword,{SHA}47ca69ebb4bdc9ae0
>>>
adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enab
>>>
led,Y(java.lang.String)][externalAuthId,null()][hasLoggedOut,N(java.lang
>>>
.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][la
>>> stTimeZone,null()][lastUpdatedStamp,2009-05-23
>>> 10:03:12.562(java.sql.Timestamp)][lastUpdatedTxStamp,2009-05-23
>>>
10:03:12.561(java.sql.Timestamp)][partyId,admin(java.lang.String)][passw
>>>
ordHint,null()][requirePasswordChange,null()][successiveFailedLogins,nul
>>> l()][userLdapDn,null()][userLoginId,admin(java.lang.String)],
>>> locale=en_US]]: Type check failed for field
>>> [receiveInventoryProduct.quantityAccepted]; expected type is
>>> [java.math.BigDecimal]; actual type is [java.lang.Double]Type check
>>> failed for field [receiveInventoryProduct.quantityRejected];
expected
>>> type is [java.math.BigDecimal]; actual type is [java.lang.Double]]
>>>
>>>
>>>
>>> So,  two type check failures. I found one in
>>>
>>>
specialpurpose/hhfacility/script/org/ofbiz/hhfacility/FacilityServices.x

>>> ml
>>>
>>> I changed Double to BigDecimal
>>>        <calculate field="receiveCtx.quantityRejected" type="Double">
>>>            <number value="0"/>
>>>        </calculate>
>>>
>>> that got rid of error in quantity rejected field..
>>>
>>>
>>> I looked around and found
>>>
>>> specialpurpose/hhfacility/servicedef/services_hhfacility.xml "
>>> and In <service name="tc_ReceiveProductQty" engine="simple"
>>> I changed Double to BigDecimal
>>>        <attribute name="productQty" type="Double" mode="IN"
>>> optional="false"/>
>>>
>>> And that got rid of error in quantity Accepted field..
>>>
>>> I'm not certain that this is the correct approach.
>>>
>>>
>>> 2) In updateproductstocktake
>>>
>>> I get the error
>>>
>>> Error calling event:
>>>
>>> org.ofbiz.webapp.event.EventHandlerException:
>>>
>>> Service invocation error
>>>
>>> (java.math.BigDecimal)
>>>
>>>
>>>
>>> I'm guessing this is a similar problem but I cannot see where to fix
it.

>>>
>>>
>>> Thanks for taking a look
>>>
>>> Dan Dodd
>>>
>>>
>>>
>>>
>>>
>>
>> --
>> BJ Freeman
>> http://www.businessesnetwork.com/automation
>> http://bjfreeman.elance.com
>>
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&tr
k=tab_pro
>>
>> Systems Integrator.
>>
>
>

--
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&tr
k=tab_pro
Systems Integrator.

Reply | Threaded
Open this post in threaded view
|

Re: hhfacility error in quantity type

Ashish Vijaywargiya
>> Thanks OFBIZ team you really have an amazing collection.

Thanks for your appreciation, Dan.
Its good to see you in the OFBiz community.
Looking forward to have good contribution from you in near future.

--
Ashish

On Tue, May 26, 2009 at 6:58 PM, Dan Dodd <[hidden email]> wrote:

> Thanks for the replies. I'll keep digging and see if I can learn enough
> verify the one fix and to fix the other problem and submit a change.
>
> Thanks OFBIZ team you really have an amazing collection.
>
> Dan Dodd
>
> IHOP-KC
> [hidden email]
>
Reply | Threaded
Open this post in threaded view
|

Re: hhfacility error in quantity type

BJ Freeman
In reply to this post by BJ Freeman
Great! if you have not run across this
http://docs.ofbiz.org/display/OFBADMIN/OFBiz+Contributors+Best+Practices


Dan Dodd sent the following on 5/26/2009 6:28 AM:

> Thanks for the replies. I'll keep digging and see if I can learn enough
> verify the one fix and to fix the other problem and submit a change.
>
> Thanks OFBIZ team you really have an amazing collection.
>
> Dan Dodd
>
> IHOP-KC
> [hidden email]
> -----Original Message-----
> From: BJ Freeman [mailto:[hidden email]]
> Sent: Monday, May 25, 2009 5:41 PM
> To: [hidden email]
> Subject: Re: hhfacility error in quantity type
>
> it was a paraphrase of you explanation a few months back
> as usual I will be glad to dig up he email is you wish.
>
> David E Jones sent the following on 5/25/2009 3:01 PM:
>> What do you mean by "actively supported"?
>>
>> I'd say that is as "actively supported" as anything else in the
> project.
>> The support of the project is peer support, so it's all about finding
>> peers and working with them (since they aren't working for you).
>>
>> In other words, either this is "actively supported" or technically
>> nothing in the project is "actively supported".
>>
>> -David
>>
>>
>> On May 25, 2009, at 3:07 PM, BJ Freeman wrote:
>>
>>> this componet has not been worked on for a while.
>>> it is not actively supported
>>> componets in the specialpurpose folder may or may not be actively
>>> supported.
>>> http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/hhfacility/
>>> lets you see what has been done when down to the file.
>>>
>>> Dan Dodd sent the following on 5/25/2009 12:08 PM:
>>>> Does anyone remember addressing these issues in hhfacility?
>>>>
>>>> Dan Dodd
>>>>
>>>>
>>>>
>>>> I am new so there is a lot of reading I still need to do,
> suggestions
>>>> welcome.
>>>>
>>>>
>>>>
>>>> errors in ../hhfacility/control/receiveproductqty) and  in release
> 9.04
>>>> OOTB
>>>>
>>>> I saw a discussion regarding the first error awhile ago but cannot
> find
>>>> it now.
>>>>
>>>> I don't know if I am looking in the right place , or if I am
> changing
>>>> the right components.
>>>>
>>>>
>>>>
>>>> 1) In receiveproductqty:
>>>>
>>>> After entering a product ID I get a screen with 2 entry fields
> location
>>>> and quantity, entered location and quantity:
>>>>
>>>> ERROR: Could not complete the Receive Product to Facility
>>>>
> [file:/opt/ofbiz/specialpurpose/hhfacility/script/org/ofbiz/hhfacility/F
>>>> acilityServices.xml#tc_ReceiveProductQty] process [problem invoking
> the
>>>> [receiveInventoryProduct] service with the map named [receiveCtx]
>>>> containing [[facilityId=WebStoreWarehouse, productId=PIZZA,
>>>> quantityAccepted=1.0, locationSeqId=TOPSHELF, comments=hhFacility
>>>> Receipt, datetimeReceived=2009-05-23 11:35:40.703,
>>>> inventoryItemTypeId=NON_SERIAL_INV_ITEM, quantityRejected=0.0,
>>>> userLogin=[GenericEntity:UserLogin][createdStamp,2009-05-18
>>>> 06:34:02.603(java.sql.Timestamp)][createdTxStamp,2009-05-18
>>>>
> 06:34:01.563(java.sql.Timestamp)][currentPassword,{SHA}47ca69ebb4bdc9ae0
> adec130880165d2cc05db1a(java.lang.String)][disabledDateTime,null()][enab
> led,Y(java.lang.String)][externalAuthId,null()][hasLoggedOut,N(java.lang
> .String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,null()][la
>>>> stTimeZone,null()][lastUpdatedStamp,2009-05-23
>>>> 10:03:12.562(java.sql.Timestamp)][lastUpdatedTxStamp,2009-05-23
>>>>
> 10:03:12.561(java.sql.Timestamp)][partyId,admin(java.lang.String)][passw
> ordHint,null()][requirePasswordChange,null()][successiveFailedLogins,nul
>>>> l()][userLdapDn,null()][userLoginId,admin(java.lang.String)],
>>>> locale=en_US]]: Type check failed for field
>>>> [receiveInventoryProduct.quantityAccepted]; expected type is
>>>> [java.math.BigDecimal]; actual type is [java.lang.Double]Type check
>>>> failed for field [receiveInventoryProduct.quantityRejected];
> expected
>>>> type is [java.math.BigDecimal]; actual type is [java.lang.Double]]
>>>>
>>>>
>>>>
>>>> So,  two type check failures. I found one in
>>>>
>>>>
> specialpurpose/hhfacility/script/org/ofbiz/hhfacility/FacilityServices.x
>>>> ml
>>>>
>>>> I changed Double to BigDecimal
>>>>        <calculate field="receiveCtx.quantityRejected" type="Double">
>>>>            <number value="0"/>
>>>>        </calculate>
>>>>
>>>> that got rid of error in quantity rejected field..
>>>>
>>>>
>>>> I looked around and found
>>>>
>>>> specialpurpose/hhfacility/servicedef/services_hhfacility.xml "
>>>> and In <service name="tc_ReceiveProductQty" engine="simple"
>>>> I changed Double to BigDecimal
>>>>        <attribute name="productQty" type="Double" mode="IN"
>>>> optional="false"/>
>>>>
>>>> And that got rid of error in quantity Accepted field..
>>>>
>>>> I'm not certain that this is the correct approach.
>>>>
>>>>
>>>> 2) In updateproductstocktake
>>>>
>>>> I get the error
>>>>
>>>> Error calling event:
>>>>
>>>> org.ofbiz.webapp.event.EventHandlerException:
>>>>
>>>> Service invocation error
>>>>
>>>> (java.math.BigDecimal)
>>>>
>>>>
>>>>
>>>> I'm guessing this is a similar problem but I cannot see where to fix
> it.
>>>>
>>>> Thanks for taking a look
>>>>
>>>> Dan Dodd
>>>>
>>>>
>>>>
>>>>
>>>>
>>> --
>>> BJ Freeman
>>> http://www.businessesnetwork.com/automation
>>> http://bjfreeman.elance.com
>>>
> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&tr
> k=tab_pro
>>> Systems Integrator.
>>>
>>
>

--
BJ Freeman
http://www.businessesnetwork.com/automation
http://bjfreeman.elance.com
http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro
Systems Integrator.