Vendor Bill
All fields available for a new Bill
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.
Transaction Level Fields
Field | URL Param Name | Description |
|---|---|---|
Class | class | Internal ID of the Class |
Currency | currency | Internal ID of the Currency |
Custom Form | custom_form | Internal ID of the Custom Form |
Date | date | Defaults to the current date |
Department | department | Internal ID of the Department |
Due Date | due_date |  |
External Id | external_id |  |
Location | location | Internal ID of the Location |
Memo | memo |  |
Terms | terms | Internal ID of the Terms |
Subsidiary | subsidiary | Internal ID of the Subsidiary. Pass the Vendor related Subsidiary |
Line Item Fields
Field | URL Param Name | Description |
|---|---|---|
NetSuite Item | co_netsuite_item | Internal ID of the Item |
Description | co_description | Line item description |
Quantity | co_quantity |  |
Rate | co_rate |  |
Class | co_class | Internal ID of the Class |
Department | co_department | Internal ID of the Department |
Location | co_location_id | Internal ID of the Location |
Sort By | co_sort_by | Fetch the child records in a particular order |
Sample Example
/apex/breadwinner_ns__CreateBill
?originating_record={!salesforce_record_ID}
&parent_account=api_field_name__c
&class=bill_class_api_field__c
¤cy=bill_currency_api_field__c
&custom_form=bill_custom_form_api_field__c
&date=bill_date_api_field__c
&department=bill_department_api_field__c
&due_date=bill_due_date_api_field__c
&extertnal_id=bill_external_id_api_field__c
&location_id=bill_location_api_field__c
&memo=bill_memo_api_field__c
&terms=bill_terms_api_field__c
&subsidiary=bill_subsidiary_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_class=class_field__c
&co_department=department_field__c
&co_location_id=location_field__c
&co_sort_by=sort_field__c
&testing=true