Cash Sale
When requesting a Cash Sale, use the requestJSON to pass the Cash Sale data. The response that is returned will contain a responseJSON section which has the Cash Sale response returned by Breadwinner for NetSuite.
The Cash Sale object has the following parameters.
Field Name | Data Type | Description |
---|---|---|
salesforceID | ID | Read-Only field, provides the Salesforce Record ID upon successful creation or updation in Salesforce. |
account | Sets the account to be credited when payment is received via credit card. The undepFunds field must be set to FALSE in order to set this field. Internal ID of the Account | |
classification | Internal ID of the Class. | |
createdDate | Long | Read-Only field, the Date will be returned as a Unix timestamp in seconds. |
createdFrom | Internal ID of the Estimate / SalesOrder. | |
currencyName | String | Read-Only field, returns the Currency Name. |
currencyRecord | Internal ID of the Currency. | |
customFieldList | Custom fields and their values. | |
customForm | Internal ID of the Custom Form. | |
department | Internal ID of the Department. | |
discountItem | Internal ID of the Discount Item. | |
discountRate | String | Discount rate like “-12” or “15”. |
discountTotal | Double | Read-Only field, returns the Total Discount. |
entity* | Internal ID of the Entity (Customer). | |
exchangeRate | Double | Supported only while creating, holds the value of the Exchange Rate. |
externalId | String |
|
handlingCost | Double | Read-Only field, returns the Total Handling Cost. |
internalId | String | Unique ID that NetSuite holds. It is required during the update of a Record. |
itemList* | LineItems | Holds the Line Items. |
lastModifiedDate | Long | Read-Only field and the Date is returned as a Unix timestamp in seconds. |
location | Internal ID of the Location. | |
memo | String | |
otherRefNum | String | |
salesRep | String | Internal ID of the Sales Rep (Employee). |
shippingCost | Double | Read-Only field, returns the Total Handling Cost. |
status | String | Read-Only field, returns the Status of the Cash Sale. |
subsidiary | Internal ID of the Subsidiary. By default, NetSuite considers the Subsidiary of the Customer if not provided. | |
subTotal | Double | Read-Only field, returns the Sub-Total Amount. |
taxTotal | Double | Read-Only field, returns the Total Tax Amount. |
tranDate | Long | The date is accepted and returned as a Unix timestamp in seconds. |
tranId | String | Provide Order # (number) or auto-generated by NetSuite |
total | Double | Read-Only field, returns the Total Amount. |
undepFunds | Boolean | Set to TRUE if you receive payment by cash or check. If set to FALSE, set an account in the account field. |
Field Name | Data Type | Description |
---|---|---|
item* | LineItemRecord[] | List of LineItem Records. |
replaceAll | Boolean | The default value for the replaceAll attribute is true. If true, NetSuite will replace all the Line Items with the new ones |
Field Name | Data Type | Description |
---|---|---|
amount | Double | |
classification | Internal ID of the Class. | |
customFieldList | List of Custom Fields with their Values. | |
department | Internal ID of the Department. | |
description | String | Item Description |
grossAmt | Double | |
item* | Internal ID of the Item. | |
line | Integer | Specifies the Line Number, which should be unique across the lines. |
location | Internal ID of the Location. | |
price | Internal ID of the Price Level of Item. | |
quantity | Double | |
rate | String | |
revRecEndDate | Long | The date is accepted and returned as a Unix timestamp in seconds. |
revRecSchedule | Internal ID of the Rev. Rec. Schedule. | |
revRecStartDate | Long | The date is accepted and returned as a Unix timestamp in seconds. |
tax1Amt | Double | |
taxCode | Internal ID of the Tax Code. | |
taxRate1 | Double | |