Skip to Content

Z table fields issue

Hi all,

I have added a view for z table update in opportunity. It is like one assignment block .

Here I have 2 amount fields like Cost1 and Cost2 , when we enter the data into these 2 fields , I am calculating the margin data into 3rd field 'MARGIN'.

Cost1 - cost2 = Margin

200 - 100 = 100.

Now issue is, when I enter the data Cost1 and Cost2, with out pressing ENTER key, Margin value is not updating when we click directly on SAVE button ( working when user click on ENTER) .

Please help me in this ? Do need to refresh the view when we click on SAVE button .

Note : I have added Z table as assignment block.

Already i tried the PUBLISH_CURRENT method etc...

Regards,

ram

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jun 05, 2014 at 09:17 AM

    Where you have written the code to calculate the margin ???

    Use Do_prepare_output.

    Regards,

    Sumeet

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 05, 2014 at 09:17 AM

    Hi Ram,

    If I understood you correctly, you have 3 fields and the third field is based on first two fields. Right?. And the third field is getting populated when user presses enter button.

    Here, I would like to know where you have written the code to populate the third field?. In OnEnter event by calling set method?.

    You can do the same action in save also if in case user hasn't pressed on enter button. Right?.

    Thanks,

    Faisal

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.