Link

All Fields available for a New Purchase Order 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__CreatePurchaseOrder                 
?originating_record={!salesforce_record_ID*}               
&parent_account=api_field_name__c                       
&custom_form=purchase_order_custom_form_api_field__c    
&currency=purchase_order_currency_api_field__c          
&department=purchase_order_department_api_field__c     
&class=purchase_order_class_api_field__c                
&location_id=purchase_order_location_api_field__c   
&date=purchase_order_date_api_field__c            
&due_date=purchase_order_due_date_api_field__c    
&other_ref_num=purchase_order__other_ref_api_field__c  
&memo=purchase_order__memo_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                       
&testing=true