[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69BMK78DRSAX2NG7X6SVX2P":3,"skill-same:01M69BMK78DRSAX2NG7X6SVX2P":64},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":15,"repositoryHtmlUrl":45,"repositoryHomepageUrl":17,"ownerHtmlUrl":46,"ownerBlogUrl":47,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M69BMK78DRSAX2NG7X6SVX2P","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.","根据商品库存参考数据校验采购订单的履约能力。在商品身份解析之后使用，用于检查可用数量、聚合重复的 SKU、检测短缺，并报告受阻的库存检查。适用于单一仓库、即时履约，不涉及预留、延期交货或部分履约的情形。","microsoft\u002Fcopilot-agentic-business-process","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69BMB20W12P1CWWESXZ7Z5W",1,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fcopilot-agentic-business-process\u002Fblob\u002Fmain\u002Fbusiness-processes\u002Forder-processing\u002Fsolution\u002Fexport\u002Fbotcomponents\u002Ffaf001_ordervalidationagent.file.skillmd_pbl69\u002Ffiledata\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BZTWS93DK25S9TK4CG21HP","订单处理与数据录入","SCENARIO","使用场景",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C2K0D6WWJZRXWMVQ5ANMT4","供应链与采购经理","PROFESSION","适用职业",[31,32,33,34],"validate","validate order product availability","identity","report","2026-11-10 10:12:30",false,"---\r\nname: validate-order-product-availability\r\ndescription: \"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.\"\r\nmetadata:\r\n  version: \"1.0\"\r\n---\r\n\r\n# Validate Order Product Availability\r\n\r\n## Inputs And Reference Data\r\n\r\nRead [inventory.json](.\u002Fassets\u002Finventory.json) for product stock quantities, reservations, warehouse details, snapshot time, and fulfillment policy.\r\n\r\n## Procedure\r\n\r\n1. Require unique line IDs and positive integer quantities in `EA`. Missing or invalid quantity\u002FUOM is blocked. No conversions, negative quantities, fractional units, or implicit default units are allowed.\r\n2. Use only identity-approved products. A line with unresolved SKU, conflicting barcode, or failed description has a blocked stock check; do not turn its apparent SKU into a trusted product.\r\n3. Group all resolved lines by product ID and sum their requested quantities before comparing with stock. If any line in a group has invalid quantity\u002FUOM, block the entire group rather than passing the valid subset.\r\n4. If an unresolved line has a submitted SKU matching a resolved group, block that group because its total demand is uncertain. Other resolved groups may still be assessed, but the whole order cannot pass.\r\n5. Match exactly one inventory record for each product and the configured warehouse. Missing records, duplicate records, mismatched units, negative stock, or reserved quantity above on-hand quantity are blocked reference-data failures, not zero-stock assumptions.\r\n6. Compute `available_quantity = on_hand - reserved`; `shortage_quantity = max(0, requested_quantity - available_quantity)`. Do not subtract the same requested quantity repeatedly or allocate stock by line order.\r\n7. If shortage is zero, pass the quantity check on every line in the group. Otherwise flag each affected line's quantity, explaining the aggregate request, available quantity, and group shortage. Do not claim that an individual line is allocated or partially fulfilled.\r\n8. Retain the assessed quantities, affected lines, warehouse, snapshot time, and inventory records as evidence. Explain any blocked groups without inventing stock quantities.\r\n\r\nA stock snapshot is not a reservation, current inventory, or a delivery-date promise. Evaluate the supplied snapshot only; claims about current availability require an explicit freshness policy and warehouse selection.\r\n\r\n## Examples\r\n\r\n- For a product with 20 on hand and 4 reserved, 16 are available. A request for 24 has a group shortage of 8.\r\n- Two valid lines requesting 10 units each of that product require 20 total and flag a shortage of 4; they must not both pass against the same 16 units.\r\n- A missing inventory record blocks the check. A valid record with zero available stock flags any positive request.\r\n\r\nDo not reduce the order quantity, reserve stock, suggest a delivery guarantee, or reprice only the available portion. Pricing is independently evaluated on the original requested quantities.","# Validate Order Product Availability\r\n\r\n## Inputs And Reference Data\r\n\r\nRead [inventory.json](.\u002Fassets\u002Finventory.json) for product stock quantities, reservations, warehouse details, snapshot time, and fulfillment policy.\r\n\r\n## Procedure\r\n\r\n1. Require unique line IDs and positive integer quantities in `EA`. Missing or invalid quantity\u002FUOM is blocked. No conversions, negative quantities, fractional units, or implicit default units are allowed.\r\n2. Use only identity-approved products. A line with unresolved SKU, conflicting barcode, or failed description has a blocked stock check; do not turn its apparent SKU into a trusted product.\r\n3. Group all resolved lines by product ID and sum their requested quantities before comparing with stock. If any line in a group has invalid quantity\u002FUOM, block the entire group rather than passing the valid subset.\r\n4. If an unresolved line has a submitted SKU matching a resolved group, block that group because its total demand is uncertain. Other resolved groups may still be assessed, but the whole order cannot pass.\r\n5. Match exactly one inventory record for each product and the configured warehouse. Missing records, duplicate records, mismatched units, negative stock, or reserved quantity above on-hand quantity are blocked reference-data failures, not zero-stock assumptions.\r\n6. Compute `available_quantity = on_hand - reserved`; `shortage_quantity = max(0, requested_quantity - available_quantity)`. Do not subtract the same requested quantity repeatedly or allocate stock by line order.\r\n7. If shortage is zero, pass the quantity check on every line in the group. Otherwise flag each affected line's quantity, explaining the aggregate request, available quantity, and group shortage. Do not claim that an individual line is allocated or partially fulfilled.\r\n8. Retain the assessed quantities, affected lines, warehouse, snapshot time, and inventory records as evidence. Explain any blocked groups without inventing stock quantities.\r\n\r\nA stock snapshot is not a reservation, current inventory, or a delivery-date promise. Evaluate the supplied snapshot only; claims about current availability require an explicit freshness policy and warehouse selection.\r\n\r\n## Examples\r\n\r\n- For a product with 20 on hand and 4 reserved, 16 are available. A request for 24 has a group shortage of 8.\r\n- Two valid lines requesting 10 units each of that product require 20 total and flag a shortage of 4; they must not both pass against the same 16 units.\r\n- A missing inventory record blocks the check. A valid record with zero available stock flags any positive request.\r\n\r\nDo not reduce the order quantity, reserve stock, suggest a delivery guarantee, or reprice only the available portion. Pricing is independently evaluated on the original requested quantities.",{"name":5,"metadata":40,"description":7},{"version":41},"1.0","main","3eb9736d25bd054c6765bf0814af9f6c92749ec2","business-processes\u002Forder-processing\u002Fsolution\u002Fexport\u002Fbotcomponents\u002Ffaf001_ordervalidationagent.file.skillmd_pbl69\u002Ffiledata","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fcopilot-agentic-business-process","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-02 03:11:48",{"source":9,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add microsoft\u002Fcopilot-agentic-business-process --skill validate-order-product-availability",{"tool":56,"command":57},"bunx","bunx skills add microsoft\u002Fcopilot-agentic-business-process --skill validate-order-product-availability",{"tool":59,"command":60},"pnpm","pnpm dlx skills add microsoft\u002Fcopilot-agentic-business-process --skill validate-order-product-availability","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fcopilot-agentic-business-process\u002Fblob\u002Fmain\u002Fbusiness-processes\u002Forder-processing\u002Fsolution\u002Fexport\u002Fbotcomponents\u002Ffaf001_ordervalidationagent.file.skillmd_pbl69\u002Ffiledata\u002FSKILL.md",true,[],[65,80,95,108,120,137],{"skillNo":66,"name":67,"nameZh":68,"description":69,"descriptionZh":70,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":71,"categories":72,"keywords":77,"publishedAt":35},"01M69BMPFCS1YK6H6SWZVEAD8D","sap-order-excel","SAP 销售订单导出 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.","将 SAP 销售订单 JSON 数据渲染到固定的 Excel 工作簿模板中。当需要将 SAP 订单导出、转换或写入 Excel 或 xlsx 时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fcopilot-agentic-business-process\u002Fblob\u002Fmain\u002Fbusiness-processes\u002Forder-processing\u002Fsolution\u002Fexport\u002Fbotcomponents\u002Ffaf001_sapfileintegrationagent.file.skillmd_zU2B9\u002Ffiledata\u002FSKILL.md",[73,74],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":75,"categoryName":76,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8C0KXTA5713D0D0EFSJCWXG","销售运营专员",[78,79],"sap order excel","xlsx",{"skillNo":81,"name":82,"nameZh":83,"description":84,"descriptionZh":85,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":86,"categories":87,"keywords":90,"publishedAt":35},"01M69BMMVYDBCN435D9FV63Z30","sap-order-json","SAP 销售订单 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 \u002F sales order payload in JSON.","从非结构化来源（电子邮件、PDF、订单表单或自由文本）生成 SAP 销售订单的 JSON。当用户要求创建、构建或映射 JSON 格式的 SAP 订单\u002F销售订单负载时使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fcopilot-agentic-business-process\u002Fblob\u002Fmain\u002Fbusiness-processes\u002Forder-processing\u002Fsolution\u002Fexport\u002Fbotcomponents\u002Ffaf001_sapfileintegrationagent.file.skillmd_Ddsld\u002Ffiledata\u002FSKILL.md",[88,89],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":75,"categoryName":76,"taxonomyType":28,"taxonomyTypeDesc":29},[91,92,93,94],"sap order json","PDF","create","generate",{"skillNo":96,"name":97,"nameZh":98,"description":99,"descriptionZh":100,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":101,"categories":102,"keywords":105,"publishedAt":35},"01M69BMJ1XAHBN7XRG0YRCVWZS","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.","使用提供的策略评估特定于商品、买方和供应商的采购订单促销。用于匹配供应商代码或名称、核验声称的折扣、资格、日期、货币、门槛、不可叠加规则，以及建议修订后的商品总额，而不更改已确认的订单。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fcopilot-agentic-business-process\u002Fblob\u002Fmain\u002Fbusiness-processes\u002Forder-processing\u002Fsolution\u002Fexport\u002Fbotcomponents\u002Ffaf001_ordervalidationagent.file.skillmd_hM3wy\u002Ffiledata\u002FSKILL.md",[103,104],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[106,107],"evaluate order discounts promotions","code",{"skillNo":109,"name":110,"nameZh":111,"description":112,"descriptionZh":113,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":114,"categories":115,"keywords":118,"publishedAt":35},"01M69BMGRKS0CEE8M365C3ZD6X","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.","根据参考目录数据校验采购订单行的 SKU、条形码和商品描述。用于商品身份核查、未知商品、标识符冲突、描述不匹配，以及在库存或促销检查之前的可选条形码校验。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fcopilot-agentic-business-process\u002Fblob\u002Fmain\u002Fbusiness-processes\u002Forder-processing\u002Fsolution\u002Fexport\u002Fbotcomponents\u002Ffaf001_ordervalidationagent.file.skillmd_KsffC\u002Ffiledata\u002FSKILL.md",[116,117],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},[119,33,31],"validate order product identity",{"skillNo":121,"name":122,"nameZh":123,"description":124,"descriptionZh":125,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":126,"categories":127,"keywords":134,"publishedAt":35},"01M69BMF8KWZ8CGDDNX2PHV1XH","deploy-order-processing","订单处理系统部署与检查","Deploy OrderProcessing or check an existing installation","部署 OrderProcessing 或检查现有安装。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fcopilot-agentic-business-process\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fdeploy-order-processing\u002FSKILL.md",[128,131],{"categoryNo":129,"categoryName":130,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQGD4WETX0HM3SM9QKQ15B","SRE 工程师",{"categoryNo":132,"categoryName":133,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQNXPY1AV6BSR5VKHDMWRH","部署与发布管理",[135,136],"deploy order processing","deploy",{"skillNo":138,"name":139,"nameZh":140,"description":141,"descriptionZh":142,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":143,"categories":144,"keywords":147,"publishedAt":35},"01M69BMCZ3V7EN90RTARBJHH3N","deploy-business-process-core","BusinessProcessCore 部署验证","Deploy BusinessProcessCore or check and validate an existing installation, including the Core prerequisite for OrderProcessing.","部署 BusinessProcessCore，或检查并验证现有安装，包括 OrderProcessing 所需的 Core 前置条件。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002Fcopilot-agentic-business-process\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fdeploy-business-process-core\u002FSKILL.md",[145,146],{"categoryNo":129,"categoryName":130,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":132,"categoryName":133,"taxonomyType":23,"taxonomyTypeDesc":24},[148,149,136,31],"deploy business process core","core"]