You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by wp...@gmail.com, wp...@gmail.com on 2018/06/17 09:29:14 UTC

Question about product costing

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=10000, 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=10000, 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




Re: Question about product costing

Posted by Wolfgang Paul Rauchholz <wp...@gmail.com>.
Thanks, that helped a lot.

Wolfgang

On Sat, Jun 23, 2018 at 7:49 AM Arun Patidar <ar...@hotwax.co> 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.rauchholz@gmail.com <
> wp.rauchholz@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=10000,
> > 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=10000, 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 <http://www.hotwax.co/>
>


-- 

Wolfgang Rauchholz

Re: Error in ecommerce - showcart

Posted by Deepak Dixit <de...@hotwax.co>.
Hi Ralf,

Thanks for reporting, Please feel free to create Jira ticket for the issue.
https://community.apache.org/newbiefaq.html

You are not subscribed to the mailing list,  Please subscribe mailing list,
for more detail please refer
http://ofbiz.apache.org/mailing-lists.html


Thanks & Regards
--
Deepak Dixit


On Mon, Jun 25, 2018 at 11:07 AM, Arun Patidar <ar...@hotwax.co>
wrote:

> Thanks Ralf for reporting. I will take care of it.
>
> On Sat, Jun 23, 2018 at 10:42 PM ralf@jazzcon.de <ra...@jazzcon.de> wrote:
>
> > Hi all,
> >
> > I today got an error message while testing
> > the ecommerce - showcart:
> >
> > Error rendering included template at location [component://ecommerce
> > /template/cart/ShowCart.ftl]: freemarker.core.ParseException: Syntax
> > error in template "component://ecommerce/template/cart/ShowCart.ftl" in
> >  line 565, column 5: Unexpected directive, "#else". Check if you have a
> >  valid #if-#elseif-#else or #list-#else structure.
> >
> > Inserting a line ( after  </form> in Line 564
> > with a  closing if statement:
> >
> >   </#if>
> >
> > seems to solve the problem.
> >
> > Best regards,
> >
> > Ralf
> >
> > --
> >
> > Best regards,
> >
> > Arun Patidar
> > Director of Information SystemsHotWax Commerce <http://www.hotwax.co/>
> >
> >
>

Re: Error in ecommerce - showcart

Posted by Arun Patidar <ar...@hotwax.co>.
Thanks Ralf for reporting. I will take care of it.

On Sat, Jun 23, 2018 at 10:42 PM ralf@jazzcon.de <ra...@jazzcon.de> wrote:

> Hi all,
>
> I today got an error message while testing
> the ecommerce - showcart:
>
> Error rendering included template at location [component://ecommerce
> /template/cart/ShowCart.ftl]: freemarker.core.ParseException: Syntax
> error in template "component://ecommerce/template/cart/ShowCart.ftl" in
>  line 565, column 5: Unexpected directive, "#else". Check if you have a
>  valid #if-#elseif-#else or #list-#else structure.
>
> Inserting a line ( after  </form> in Line 564
> with a  closing if statement:
>
>   </#if>
>
> seems to solve the problem.
>
> Best regards,
>
> Ralf
>
> --
>
> Best regards,
>
> Arun Patidar
> Director of Information SystemsHotWax Commerce <http://www.hotwax.co/>
>
>

Re: Question about product costing

Posted by Arun Patidar <ar...@hotwax.co>.
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.rauchholz@gmail.com <
wp.rauchholz@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=10000,
> 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=10000, 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 <http://www.hotwax.co/>