gullfounder Posted August 15, 2012 Posted August 15, 2012 Hi, I have this bizarre problem. I have portal in which there is a Product, Qty, Unit Price, total price. I have made a script that triggers on Unit Price modification. It should put 1 in qty field then multiply qty with unit price and put it in Total price. The Script. " Set Field[Qty :1] set Field [Total Price = QTY* unit Price] " But nothing happens?. The unit price field is look-up field. So, it picks up the unit price as product value is entered. I need to know what i am doing wrong? Or there is another why to do it?
No_access Posted August 15, 2012 Posted August 15, 2012 it would seem to me if I understand you, that the table with the total price should be a calculation and a not done with a script unless you have some reason for using a script here? can you post the file so we can see your script?
gullfounder Posted August 15, 2012 Author Posted August 15, 2012 i got it fixed myself. As you have suggested that i should make it calculation field.
Recommended Posts
This topic is 4780 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now