Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/url/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Dynamic programming 项目单价计算_Dynamic Programming_X++_Ax - Fatal编程技术网

Dynamic programming 项目单价计算

Dynamic programming 项目单价计算,dynamic-programming,x++,ax,Dynamic Programming,X++,Ax,我有两件东西 Item A Qty =1 and unit Cost Price(up) is 60 Item B Qty =1 and unit Cost Price(up) is 40 Total Cost Price(cp) is 100 Overhead 10 % over cp (may vary as per requirement) 100*10/100 = 10 cp + 10 = 110 Markup 10 % over overhead(may va

我有两件东西

Item A Qty =1 and unit Cost Price(up) is 60

Item B Qty =1 and unit Cost Price(up) is 40

    Total Cost Price(cp) is 100

    Overhead 10 % over cp (may vary as per requirement) 100*10/100 = 10
cp + 10 = 110
Markup   10 % over overhead(may vary as per requirement) 110*10/100  = 11
cp + 10 +11 = 121
Now Customer has agreed to pay 110 instead of 121 so I have to change CP of items based on unit Cost price
    What I did is Item A 60-((60/100)*(121-110)) which is Up - (up/cp* diff) = 53.4
Item B is  40-((40/100)*(121-110)) which is Up - (up/cp* diff) = 35.6

    Now my cp became 89
Overhead 10 % over cp (stated above overhead %) 89*10/100 = 8.9
cp + 8.9 = 97.9
Markup   10 % over overhead(stated above mark up %)  97.9*10/100= 9.79
cp + 8.9 +9.79 = 107.69
    Now Customer agreed to pay 110 and my calculation by changing the unit price is getting 107.69
    I have to change the unit price of the items to meet the customer price.
这不仅仅是与Ax有关的问题,但在X的逻辑构建中肯定需要一点触动++


对此有什么建议吗?

从您的新价格110

把你10%的加价去掉

110/1.1 = 100
减少10%的管理费用

100/1.1 = 90.9090
您的分割是一个非常简单的60/40,因此项目1(圆形,但您认为合适)

项目2

90.90 * 0.4 = 36.3636

请澄清您的具体问题或添加其他详细信息,以突出显示您所需的内容。正如目前所写的,很难准确地说出你在问什么。请参阅“如何询问”页面以帮助澄清此问题。很简单,我得到的总成本价格为121,客户同意的价格为110。我必须更改单价*数量以满足客户同意的价格,这一切都是关于逻辑的。您需要更具体一些。到目前为止,你做了什么,在哪里做了什么,还有什么不起作用。此外,您还需要提出一个特定的问题,“任何建议”都不算作问题。这看起来像是一个反向百分比问题(数学问题,请参阅以获取答案),而不是一个编程问题。
90.90 * 0.4 = 36.3636