> For the complete documentation index, see [llms.txt](https://docs.hotwax.co/documents/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.hotwax.co/documents/learn-netsuite/synchronization-flows/order-sync/pos-cash-sales.md).

# POS Cash Sales

Discover the process of handling Point of Sale (POS) cash sales between HotWax and NetSuite.

Point of Sale (POS) orders are already in `Completed` status in the Order Management System (OMS). A feed file for these orders is prepared and kept on the Secure File Transfer Protocol (SFTP) server at `/home/{sftp-username}/netsuite/cashsale/export`. The `HC_SC_ImportCashSale` SuiteScript downloads the CSV file from the SFTP and creates sales records in NetSuite. To check whether the CSV file is successfully imported, go to `Customization > Import/Export > View CSV Records`. The `HC_MR_ExportedCashSaleCSV` script exports the CSV file with the NetSuite Internal ID and puts it on the SFTP. The `Order Identification` job in the OMS then consumes the CSV file from the SFTP to create Order Identification records.

* A feed file for these orders is prepared and kept on the SFTP server. SFTP path:

```
/home/{sftp-username}/netsuite/cashsale/export
```

SuiteScript to import completed cash sale records into NetSuite:

`HC_SC_ImportCashSale`

To check whether the CSV file is successfully imported in NetSuite:

`Customization > Import/Export > View CSV Records`

SuiteScript to export the NetSuite Internal ID of completed cash sales:

`HC_MR_ExportedCashSaleCSV`

Open `Catalog` in Job Manager, search for the following job, then configure its schedule to import Order Identification records:

`Order Identification`

See [Manage a job](https://github.com/hotwax/oms-documentation/tree/user-guides-pub/documents/system-admin/administration/job-manager/jobs/job-details.md) for current scheduling instructions.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.hotwax.co/documents/learn-netsuite/synchronization-flows/order-sync/pos-cash-sales.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
