You need to sign in to do that
Don't have an account?
Chandra babu 2
How to Display the values on lookup relation on vf page
Item Code search:
Item Name
Item Price
Item Quantity
Transaction ID :::this are the purchase fields
Transaction Date
Amount
Discount
Purchase Quantity
i Have Taken Two Objects Stock And Purchase and Created the above Fields ,in the Stock i was Given Item code ,Then Automaticallly Display the Purchase values also.pls tel me How to give the lookup and Display the values on vf [page.
Item Name
Item Price
Item Quantity
Transaction ID :::this are the purchase fields
Transaction Date
Amount
Discount
Purchase Quantity
i Have Taken Two Objects Stock And Purchase and Created the above Fields ,in the Stock i was Given Item code ,Then Automaticallly Display the Purchase values also.pls tel me How to give the lookup and Display the values on vf [page.
Description of your problem is quite confusing but what i got from your question is you want to have lookup from One object to other
You can achieve by making custom lookup field to the object you want to make.
Secondly To make visible the field values on VF page of purchase object you have to create the formula field to get the value of the particular field of Purchase object you want.
In the Formula field you wil use the formula like
lookupfieldApiName__r.Amount__c. to get the amount for the particular item in the Purchase object
On a VF page you can use this formula field api name in
Thanks.