on 09-08-2014 8:28 AM
Hi All,
This is for a construction related company. Please find attached screen shot for details.
My scenario is when we are creating sales order my client wants to calculate the total amount based on unit price towards the UDF fields defined. For example user will give the unit price per sqft in Unit price ie 2800 as per screen shot column and constructed area in Sqft in he will enter the area like cons area in sqft =1500. So this 1500 need to calculate with unit price and will display in total. So in Total field it should show like 2800*1500= result. Like wise other amount values in udf needs to be calculated and displayed in total field .
Is this possible in SAP B1. Please help me with your valuable suggestions.
Hi,
Try this:
SELECT (T1.[U_Price]* T0.[U_CArea])+ $[ORDR.U_EBexp.number]+ $[ORDR.U_RO.Number]+ $[ORDR.U_Maintenance.Number]+ $[ORDR.U_CorpFund.Number]
Thanks & Regards,
Nagarajan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
Thank you Augusto
In my scenario only the constructed area (s shown in above screen shot) should multiply with unit price per Sqft and other amounts should be added with that value.How can i make it possible in sap b1.Can any one help me with the query.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sri,
In B1, on the line level and if you don't have discounts, Qty * Price = Line Value.
You can't have something like qty * price per Sqft = Value multiplied UDF.
This is not possible.
My sugestion is that you create a UDF on the line level, where the user types the Price Sqft and in the B1 price you can create a FS with the query Like I told you before.
SELECT $[$38.U_LineUDF1] * $[ORDR.U_df2] * $[ORDR.U_df3] ...
In this case you will have qty in the B1 price the multiplied value and in the line total the total of the line.
Then you could print your documents has you wish.
Regards,
Augusto
Hi Augusto,
As suggested i created a UDF in row level "price per Sqft" just before the unit price
created an FS in the "Unitprice"
Below Query is my requirement
SELECT T1.[U_Price]* T0.[U_CArea]+T0.[U_EBexp]+T0.[U_RO]+T0.[U_Maintenance]+ T0.[U_CorpFund] FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry
I saved this query in FMS ,but i dint get any result in the unit price column.Please guide me with the right query
Hi Augusto,
I am receiving below error after running this query in sql.Could u please correct it
SELECT ($[$38.U_Price.number]* $[ORDR.[U_CArea].number)+ $[ORDR.U_EBexp.number]+ $[ORDR.[U_RO.number]+ $[ORDR.[U_Maintenance.number]+ $[ORDR.[U_CorpFund.number]
Incorrect syntax near '$38.U_Price.number'.
We are selling , flats , plots commericial buildings ec, for that purpose we have created udf called land area in sqft, con area in sqft etc
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sri,
You need to create a UDF in the document lines and then the price will have the total price of the line.
The best way to achieve what you need is doing a small program with SDK.
Other way but not the perfect way is using a Formated search in the Price field.
This is how the FS looks like:
SELECT $[$38.U_LineUDF1] * $[ORDR.U_df2] * $[ORDR.U_df3] ...
Hope it helps,
Augusto
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please reattach above sales order screen with readable size.
Thanks & Regards,
Nagarajan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
100 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.