Re: Question about product costing

2018-06-25 Thread Wolfgang Paul Rauchholz
Thanks, that helped a lot.

Wolfgang

On Sat, Jun 23, 2018 at 7:49 AM Arun Patidar  wrote:

> Hi,
>
> In the code, value of  'taskCost' depends on fields 'estimatedTaskTime',
> 'usageCost.amount', 'setupTime' and 'setupCost.amount'. You can add log
> messages in 'getTaskCost' service to see the values of all these variables
> on the console.
>
>
>
> On Sun, Jun 17, 2018 at 2:59 PM wp.rauchh...@gmail.com <
> wp.rauchh...@gmail.com> wrote:
>
> > I setup a fingood that is produced.
> >
> > It consists of
> > (1) a single level Manufacturing BOM with 6 componens. All these
> > components have a PO cost setup and I ran 'Auto-Calculate Costs' for
> them,
> > meaning thet all have an 'Estimated Standard Materials Cost'
> >
> > (2) Routing
> > a) Manufacturing Manager  > Cost
> > 2 Cost Component Cal Entrie:
> >
> > b) Manufacturing Manager  > Routing Task
> > 1 Routing Tasks that include 2 Cost Components (COST COMPONENT TYPE ID
> ')
> > 'defined under a)
> >
> > c) Manufacturing Manager > Routing
> > 1 Routing that includes Routing Taks defined undere b)
> >
> > When I run now 'Auto-Calculate Costs' for the manufacturing product, I
> get
> > an error message.
> >
> > The Following Errors Occurred:
> > ERROR: Could not complete the Calculates the product's cost
> >
> [file:/usr/local/ofbiz_sam/applications/product/minilang/product/cost/CostServices.xml#calculateProductCosts]
> > process [problem invoking the [getTaskCost] service with the map named
> > [callSvcMap] containing [{workEffortId=1,
> > userLogin=[GenericEntity:UserLogin][createdStamp,2018-06-08
> > 11:09:05.0(java.sql.Timestamp)][createdTxStamp,2018-06-08
> >
> 11:09:05.0(java.sql.Timestamp)][currentPassword,$SHA$4g$nHI14NDsYqeu7vLMX5iFXS2Ni0U(java.lang.String)][disabledBy,null()][disabledDateTime,null()][enabled,Y(java.lang.String)][externalAuthId,null()][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,en_US(java.lang.String)][lastTimeZone,null()][lastUpdatedStamp,2018-06-17
> > 11:00:09.0(java.sql.Timestamp)][lastUpdatedTxStamp,2018-06-17
> >
> 11:00:09.0(java.sql.Timestamp)][partyId,wp.rauchholz(java.lang.String)][passwordHint,null()][requirePasswordChange,N(java.lang.String)][successiveFailedLogins,null()][userLdapDn,null()][userLoginId,wp.rauchholz(java.lang.String)],
> > currencyUomId=BRL, routingId=10001, productId=1, locale=en_US}]:
> > Outgoing result (in runSync : getTaskCost) does not match expected
> > requirements (The following required parameter is missing: [OUT]
> > [getTaskCost.taskCost])]
> >
> >
> > I was looking in source code for [OUT] [getTaskCost.taskCost], but can't
> > find the root cause of the problem.
> > I'd appreciate if somebody could point me to the solution.
> >
> > Thanks you, Wolfgang
> >
> >
> >
> >
>
> --
>
> Best regards,
>
> Arun Patidar
> Director of Information SystemsHotWax Commerce 
>


-- 

Wolfgang Rauchholz


Re: Question about product costing

2018-06-22 Thread Arun Patidar
Hi,

In the code, value of  'taskCost' depends on fields 'estimatedTaskTime',
'usageCost.amount', 'setupTime' and 'setupCost.amount'. You can add log
messages in 'getTaskCost' service to see the values of all these variables
on the console.



On Sun, Jun 17, 2018 at 2:59 PM wp.rauchh...@gmail.com <
wp.rauchh...@gmail.com> wrote:

> I setup a fingood that is produced.
>
> It consists of
> (1) a single level Manufacturing BOM with 6 componens. All these
> components have a PO cost setup and I ran 'Auto-Calculate Costs' for them,
> meaning thet all have an 'Estimated Standard Materials Cost'
>
> (2) Routing
> a) Manufacturing Manager  > Cost
> 2 Cost Component Cal Entrie:
>
> b) Manufacturing Manager  > Routing Task
> 1 Routing Tasks that include 2 Cost Components (COST COMPONENT TYPE ID  ')
> 'defined under a)
>
> c) Manufacturing Manager > Routing
> 1 Routing that includes Routing Taks defined undere b)
>
> When I run now 'Auto-Calculate Costs' for the manufacturing product, I get
> an error message.
>
> The Following Errors Occurred:
> ERROR: Could not complete the Calculates the product's cost
> [file:/usr/local/ofbiz_sam/applications/product/minilang/product/cost/CostServices.xml#calculateProductCosts]
> process [problem invoking the [getTaskCost] service with the map named
> [callSvcMap] containing [{workEffortId=1,
> userLogin=[GenericEntity:UserLogin][createdStamp,2018-06-08
> 11:09:05.0(java.sql.Timestamp)][createdTxStamp,2018-06-08
> 11:09:05.0(java.sql.Timestamp)][currentPassword,$SHA$4g$nHI14NDsYqeu7vLMX5iFXS2Ni0U(java.lang.String)][disabledBy,null()][disabledDateTime,null()][enabled,Y(java.lang.String)][externalAuthId,null()][hasLoggedOut,N(java.lang.String)][isSystem,null()][lastCurrencyUom,null()][lastLocale,en_US(java.lang.String)][lastTimeZone,null()][lastUpdatedStamp,2018-06-17
> 11:00:09.0(java.sql.Timestamp)][lastUpdatedTxStamp,2018-06-17
> 11:00:09.0(java.sql.Timestamp)][partyId,wp.rauchholz(java.lang.String)][passwordHint,null()][requirePasswordChange,N(java.lang.String)][successiveFailedLogins,null()][userLdapDn,null()][userLoginId,wp.rauchholz(java.lang.String)],
> currencyUomId=BRL, routingId=10001, productId=1, locale=en_US}]:
> Outgoing result (in runSync : getTaskCost) does not match expected
> requirements (The following required parameter is missing: [OUT]
> [getTaskCost.taskCost])]
>
>
> I was looking in source code for [OUT] [getTaskCost.taskCost], but can't
> find the root cause of the problem.
> I'd appreciate if somebody could point me to the solution.
>
> Thanks you, Wolfgang
>
>
>
>

-- 

Best regards,

Arun Patidar
Director of Information SystemsHotWax Commerce