function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
BridgetreeBridgetree 

saving product line items in edit page to record page.

I have a custom object. I have created a VFP for the same in which i'm inserting some product line items in pageBlockTable using wrapper class and doing some calculations. now at the time i save this record, i want this pageBlockTable to appear in the particular VIEW record also. I know i have to write a VFP and controller for it. 

 

Some one please give me a hint in the form of coing on how to do it.

I am in most urgent.

 

Thanks in advance

Raaj...

Ankit AroraAnkit Arora

After saving the record if you are redirecting to the detail page and want to display the entered line items there, then as you said you need to create a visualforce page which will display those records and you need to add that VFP in your layout as inline visualforce page.

 

Did I get your problem correctly?

 

Thanks

Ankit Arora

Blog | Facebook | Blog Page

Adi85Adi85

Hi,

 

I think you are saying you are saving some records using a page block table and you want to display the same table after saving the record in the record voew page as a related list.

 

Is my understanding is correct?

 

regards,

 

Aditya.