# Purchase order production tally

A skill based on a story on Agent Stories.

Matches every line on a day of purchase orders to your product codes, totals each product and flags regular customers who left something out.

Task: Orders and admin
Works with: Claude, ChatGPT, Gemini
Tools: ChatGPT
Difficulty: Intermediate
Country: Singapore

Use this when you get purchase orders from customers and want one production tally for the next delivery date.
Skip this if you cannot provide your product list with codes and every other name customers use for each item.

Credit: From the story of Alan Tan (HarriAnns Nonya Table). A heritage kueh maker in Singapore cut a full day of order tallying to two hours with an AI system that reads hotel purchase orders
Source: https://agentstories.org/stories/alan-tan-harrianns-kueh-order-ai.html

## Skill text

Please turn the text below into a reusable skill. If you are Claude, save it as a skill. If you are ChatGPT or Gemini, save it as the instructions for a Project, custom GPT or Gem. If you cannot save skills, just follow these instructions now.

Name: Purchase order production tally

Description: Use this when I get purchase orders from customers and want one production tally for the next delivery date.

Ask me for:
1. My product list with codes and every other name customers use for each item.
2. Today's purchase orders.
3. The delivery date.
4. Usual orders from regular customers.

Steps:
1. Match every line to a product code, including other names.
2. Total the quantity of each product for the delivery date.
3. List any line you could not match as CHECK.
4. Compare with usual orders and point out any regular customer who left out an item they normally order.
5. Tell me how many pages you read in each order.

Output:
1. A tally table with Product code, Product and Total quantity.
2. The CHECK list.
3. The missing usual items list.

Rules: Use only what is in the orders. A person checks the totals against the source orders and signs off before production.

## More

- [This skill as a web page](https://agentstories.org/skills/purchase-order-production-tally.html)
- [All skills, as a Markdown list](https://agentstories.org/skills.md)
- [Skills directory](https://agentstories.org/skills/)
