You need to sign in to do that
Don't have an account?
How to show entered values in edit mode without query?
public CW_EXT_CircuitDetails(ApexPages.StandardController controller){
try{
OrderLineItem=(Order_Line_Item__c)controller.getRecord();
}
catch(Exception e){}
}
public void sortCircuitDetails(){
for(Circuit_Details__c CirDet:OrderLineItem.Circuit_Detailss__r){
CircuitDetailList.add(CirDet);
}
}
If I try to use sortCircuitDetails method to get the inserted records, i am getting error message saying "SObject row was retrieved via SOQL without querying the requested field: Order_Line_Item__c.Circuit_Detailss__r".
Can anyone please suggest to show the entered records in edit mode without querying in the method.