d0-production-plan

Automate ERP D0 production instruction uploads for SP3M3 and SD9A01 workflows.

Updated Jul 23, 2025
One-click install
npx skills add https://github.com/ha-giwan1203/GIWANOS_AgentOS --skill d0-production-plan
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: d0-production-plan
Source: https://github.com/ha-giwan1203/GIWANOS_AgentOS/tree/main/90_%EA%B3%B5%ED%86%B5%EA%B8%B0%EC%A4%80/%EC%8A%A4%ED%82%AC/d0-production-plan
Command: npx skills add https://github.com/ha-giwan1203/GIWANOS_AgentOS --skill d0-production-plan

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manual ERP D0 production instruction handling is time-consuming and prone to human error; this Skill automates end-to-end processing from SP3M3 night/weekly plans and SD9A01 Outer plans to D0 upload, reducing cycle time and improving accuracy.

Core Features & Use Cases

  • Extract SP3M3 night and day production data from XLSM templates.
  • Filter OUTER SD9A01 blocks and map to ERP D0 upload formats.
  • Generate Excel xlsx uploads via Excel COM to ensure server parsing correctness.
  • Upload via ERP web interface with selectList and multiList, then verify with MES checks. Use cases: SP3M3 nightly planning, SP3M3 weekly planning, and SD9A01 outer plan processing.

Quick Start

Run python run.py --session evening to execute SP3M3 night plans and SD9A01 Outer updates.

Frequently Asked Questions about d0-production-plan

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate ERP D0 production instruction uploads for SP3M3 workflows?

Automating ERP D0 production instruction uploads involves extracting SP3M3 planning data, generating Excel files via COM, uploading through the ERP web interface, and verifying results with MES checks. This process replaces manual entry to reduce cycle time and errors.

What dependencies do I need to run ERP D0 automation with Playwright and Excel COM?

Running ERP D0 automation requires Python, PyWin32 for Excel COM object generation, Playwright for browser automation to handle web uploads, and access to a mapped Z drive data path for source files.

How does MES validation work after uploading D0 production instructions?

MES validation works by verifying the uploaded D0 production instructions directly within the Manufacturing Execution System after the ERP web upload completes. This step ensures the uploaded SP3M3 and SD9A01 data is correctly registered and parsed.

Can I process SD9A01 Outer plans and SP3M3 weekly plans in the same automation run?

Yes, you can process SD9A01 Outer plans and SP3M3 weekly plans in the same run. The automation filters OUTER SD9A01 blocks, maps them to ERP D0 formats, and executes night or weekly planning data extraction together.

Why does ERP D0 upload automation use Excel COM instead of direct file generation?

ERP D0 upload automation uses Excel COM to generate xlsx files instead of direct generation to ensure server parsing correctness. This guarantees the uploaded production instruction files meet the ERP system's strict formatting requirements.

What is the command to start SP3M3 night plan and SD9A01 Outer updates?

The command to start SP3M3 night plan and SD9A01 Outer updates is running the Python script with the evening session flag. Executing this command triggers the extraction and ERP upload workflow automatically.