Link

All Fields available for a New Invoice with Child Records

The list and structure of a Custom URL with all possible fields, including those for Line Items that are drawn from Child Records, utilized is below. Required fields are in red. All other fields are optional.

/apex/breadwinner_ns__CreateSalesOrder               
?originating_record={!salesforce_record_ID}          
&parent_account=api_field_name__c                  
&custom_form=invoice_custom_form_api_field__c      
&currency=invoice_currency_api_field__c            
&department=invoice_department_api_field__c        
&class=invoice_class_api_field__c                  
&location_id=invoice_location_api_field__c         
&date=invoice_date_api_field__c                    
&due_date=invoice_due_date_api_field__c            
&po=invoice_po_api_field__c                       
&memo=invoice_memo_api_field__c                    
&sales_rep=invoice_sales_rep_api_field__c          
&child_relationship_name=child_name__r             
&co_netsuite_item=netsuite_item_field__c           
&co_description=description_field__c               
&co_quantity=quantity_field__c                     
&co_rate=rate_field__c                             
&co_department=department_field__c                 
&co_class=class_field__c                           
&co_location_id=location_field__c    
&co_rev_rec_schedule=rev_rec_schedule_field__c 
&co_rev_rec_start_date=rev_rec_start_date_field__c  
&co_rev_rec_end_date=rev_rec_end_date_field__c     
&testing=true