iVendNextDevelopers My apps

Buying pieces outright from a seller for cash or store credit

The customer asks: A person brings pieces to the counter and the store buys them there and then (a trade-in), paying in cash or in store credit, and the pieces go into stock at what was paid

What next

What you build

A purchase as your manifest's own record type, shaped as S57's donation and S61's payout: the seller (a customer; for cash alone a name typed at the counter), the store, the day, and one row per lot with its item and what was paid, Cash or Store credit. A Desk button calls your service, which makes and submits the Stock Entry of type Material Receipt at the price paid, as S45's service makes its Material Issue (role_rights read, create and submit on Stock Entry), and for Store credit adds the amount to the customer's balance in the wallet your service keeps (recipes/wallet.md). A save rule locks the purchase once it is booked.

Limits

Tell the customer

Each purchase is recorded at the counter with who sold what and what was paid, the pieces go into stock at that price, and credit is added to a customer's balance when they choose it over cash; a trade-in against a new sale is credit first, then spent.

What next

  1. Tell the customer the 7 limits above, and write them into the proposal.
  2. Follow the recipe: Consignment payouts.
  3. Copy the sample: S61 — Consignment payouts (pp_csg): each consignor's share of what sold, paid once, and change it.
  4. Build and test it on your sandbox (request one if you have none; what is on it).
  5. Run the checks: your own tests, the kit's checks and the money kit's release gate (the release gate).
  6. Release through the customer's own release gate (The customer's release gate); an app other retailers install goes through the App library.

Start a project shortlist with this need · Put it in your blueprint · Every need

This card in the kit