I have a map which consists of an sObject and a custom class, i'm mapping objects that i need to process to a class.map<service_call__c, JobResponse> scTaskList = new map<service_call__c, JobResponse>();My issue is I perform an upsert on the Service call object before I send this scTaskList map into another method for some further processing. After I perform that upsert the Service_call__c object that is in the map will get an ID assigned to it (if it wasn't an exisiting record) but it then looses it's mapped Job response.

I have an apex Class that I've entered in my Sandbox, I'm trying to deploy this to my production Org but I'm getting an error saying that the code coverage is too low. I've read up on creating test classes but I'm still a bit lost. Is there any documentation not just on creating a test class but one that will show you how to create a test class that tests the code you have in the Class you are looking to deploy?

I'm trying to view a custom salesforce object as a PDF. I've an object that has object Line Items (Not too dissimalar to Opportunity -> Opportunity Products set up) I want to print the custom object with the line items attached but can't seem to see how to do this.

This works on the Opportunity object for printing the list of opporunity products on to a table-> <apex:repeat var="lineitem" value="{!opportunity.OpportunityLineItems}">

but when I try this on my custom object <apex:repeat var="lineitem" value="{!Estimate__c.Estimate_Product_Line_Item__c}"> I get an error "Invalid Field Estimate_Product_Line_Item__c for SObject Estimate__c"

There is a master detail relationship between my objects Estimate and Estimate products

Can any one help with something that might get me off the ground on this?

I have a map which consists of an sObject and a custom class, i'm mapping objects that i need to process to a class.map<service_call__c, JobResponse> scTaskList = new map<service_call__c, JobResponse>();My issue is I perform an upsert on the Service call object before I send this scTaskList map into another method for some further processing. After I perform that upsert the Service_call__c object that is in the map will get an ID assigned to it (if it wasn't an exisiting record) but it then looses it's mapped Job response.

I have an apex Class that I've entered in my Sandbox, I'm trying to deploy this to my production Org but I'm getting an error saying that the code coverage is too low. I've read up on creating test classes but I'm still a bit lost. Is there any documentation not just on creating a test class but one that will show you how to create a test class that tests the code you have in the Class you are looking to deploy?

I'm trying to view a custom salesforce object as a PDF. I've an object that has object Line Items (Not too dissimalar to Opportunity -> Opportunity Products set up) I want to print the custom object with the line items attached but can't seem to see how to do this.

This works on the Opportunity object for printing the list of opporunity products on to a table-> <apex:repeat var="lineitem" value="{!opportunity.OpportunityLineItems}">

but when I try this on my custom object <apex:repeat var="lineitem" value="{!Estimate__c.Estimate_Product_Line_Item__c}"> I get an error "Invalid Field Estimate_Product_Line_Item__c for SObject Estimate__c"

There is a master detail relationship between my objects Estimate and Estimate products

Can any one help with something that might get me off the ground on this?