AGENT SKILL

sap-order-excel

Render an SAP sales order JSON payload into the fixed Excel workbook template. Use when asked to export, convert, or write an SAP order to Excel or xlsx.

使用场景电子表格
License 许可
MIT
最近更新
2026-11-02
Stars
★ 1
Forks
0

01 前言 Front Matter

name
sap-order-excel
metadata
{ "version": "1.0" }
description
Render an SAP sales order JSON payload into the fixed Excel workbook template. Use when asked to export, convert, or write an SAP order to Excel or xlsx.

03 SKILL.md 正文

SAP Order Excel

Render one SAP sales order JSON object into the fixed workbook template.

Input

A single SAP sales order JSON object

Procedure

  1. Copy ./references/sap-order-template.xlsx to the output path.
  2. Write values into the mapped cells below.
  3. Save as SAP_SalesOrder_<PurchaseOrderByCustomer>.xlsx.

Never create a workbook from scratch, and never restyle one. The template is the only source of sheet names, columns, styles, widths, and number formats. If it is missing, stop and say so — do not improvise a layout.

Hard rules

  • Do not add, remove, rename, or reorder sheets, columns, or rows.
  • Do not set fonts, fills, borders, widths, or number formats. The template already carries them on every cell you will touch, including the empty ones.
  • Do not write outside the mapped cells.

Order Header — value in column B, optional note in column C

Cell Field Cell Field
B5 SalesOrderType B14 CustomerPurchaseOrderDate
B6 SalesOrganization B15 SalesOrderDate
B7 DistributionChannel B17 TransactionCurrency
B8 OrganizationDivision B18 TotalNetAmount
B10 SoldToParty B19 CustomerPaymentTerms
B11 ShipToParty B21 SalesOrderText
B13 PurchaseOrderByCustomer

Column C note: MISSING - <reason> when a required field could not be sourced, Default - not stated in source when the value came from a default, otherwise leave blank.

Order Items — one line per item, rows 2 to 31

Columns are fixed: A SalesOrderItem, B Material, C SalesOrderItemText, D RequestedQuantity, E RequestedQuantityUnit, F UnitPrice, G NetAmount, H MaterialByCustomer.

  • UnitPrice is not a payload field — derive it as NetAmount / RequestedQuantity unless the source states it.
  • Total is added as new row at the end of the item list. Use the style you find on row 12. Never use SUM formulas or compute totals yourself.**

Source Reference — value in column B only

Column A holds a fixed attribute list. Fill the ones the source supports, leave the rest blank, and never add rows for attributes that are not listed.

Cell types

  • Quantities and amounts are numbers, not strings — round(x, 3) for quantities, round(x, 2) for money. Writing the payload's decimal strings here left-aligns them as text and breaks the totals.
  • Dates, codes, and identifiers are strings in YYYY-MM-DD or their code form. Never write a date object; it re-renders per machine locale.

04 同仓库更多 Skills

microsoft
microsoft/copilot-agentic-business-process

sap-order-json

Generate an SAP sales order as JSON from an unstructured source (email, PDF, order form, or free text). Use when asked to create, build, or map an SAP order / sales order payload in JSON.

文档处理
★ 1
microsoft
microsoft/copilot-agentic-business-process

validate-order-product-availability

Validate purchase order fulfillment against product stock reference data. Use after product identity resolution to check available quantities, aggregate repeated SKUs, detect shortages, and report blocked stock checks. Single warehouse, immediate fulfillment, no reservations, backorders, or partial fulfillment.

产品经理
★ 1
microsoft
microsoft/copilot-agentic-business-process

evaluate-order-discounts-promotions

Evaluate product, buyer, and supplier-specific purchase order promotions using provided policies. Use to match supplier code or name, verify claimed discounts, eligibility, dates, currency, thresholds, non-stacking rules, and proposed revised merchandise totals without changing a confirmed order.

★ 1
microsoft
microsoft/copilot-agentic-business-process

validate-order-product-identity

Validate purchase order line SKU, barcode, and product description against reference catalog data. Use for product identity checks, unknown items, conflicting identifiers, description mismatches, and optional barcodes before stock or promotion checks.

产品经理
★ 1
microsoft
microsoft/copilot-agentic-business-process

deploy-order-processing

Deploy OrderProcessing or check an existing installation

运维与部署
★ 1
microsoft
microsoft/copilot-agentic-business-process

deploy-business-process-core

Deploy BusinessProcessCore or check and validate an existing installation, including the Core prerequisite for OrderProcessing.

运维与部署
★ 1