pipekit/config/groups.json
Paul Trowbridge d0e72e270f Add the CMS AP subledger modules (avtx, vchr, open)
Completes the AP source layer: GP was covered by the pm* modules, but the
CMS side had only cms.vend. These three are what
SQL/fiscal/analysis/open_ap_aging.db2.sql actually joins.

  avtx  966,553  A/P voucher transaction events   incremental on AVTSTM
  vchr  792,348  vouchers entered, period to date full
  open  538,544  open payables; FHCBAL is live    full

AVTX is the artrn analog -- the per-event apply detail. It matters
because the AR aging in /opt/clean reconstructs balances from
application events rather than a single settle_date, so AP needs an
applications fact too, not just documents.

Grains verified exactly unique before drafting: AVTX
(avtco#,avtvh#,avttx#) 966,553/966,553; VCHR
(idcom#,idvch#,idbnk#,idfisy,idfisp) 792,348/792,348; OPEN
(fhcom#,fhvch#,fhpyy,fhpper) 538,544/538,544. All three reconcile
IN SYNC.

vchr and open stay full: no change signal, only business dates, and
FHCBAL is a live mutable balance.

Two things worth knowing for the next DB2 module:

- pipekit maps DB2 TIMESTMP to Postgres text, so a watermark resolver
  doing COALESCE(MAX(ts), TIMESTAMP '...') fails on mismatched types.
  Cast explicitly. cms.gtran was already the precedent.
- Watermarks resolve at engine step 2 but --create-dest builds the
  table at step 3b, so a watermark reading its own dest table fails on
  the first run. Pre-create the table or seed with a constant.

Note LGDAT.AP* is a dead end -- APVH has 14 rows, APVD has 22. CMS AP
does not live in AP-prefixed files.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-04 01:05:34 -04:00

743 lines
12 KiB
JSON

[
{
"name": "Accounts Payable",
"members": [
{
"module": "pm00100",
"run_order": 1
},
{
"module": "pm00300",
"run_order": 2
},
{
"module": "pm00400",
"run_order": 3
},
{
"module": "pm10100",
"run_order": 4
},
{
"module": "pm20000",
"run_order": 5
},
{
"module": "pm20100",
"run_order": 6
},
{
"module": "pm30200",
"run_order": 7
},
{
"module": "pm30300",
"run_order": 8
},
{
"module": "pm30600",
"run_order": 9
},
{
"module": "pm30700",
"run_order": 10
},
{
"module": "avtx",
"run_order": 11
},
{
"module": "vchr",
"run_order": 12
},
{
"module": "open",
"run_order": 13
}
],
"schedules": [
{
"cron_expr": "0 1 * * *",
"enabled": 0
}
]
},
{
"name": "Accounts Receivable",
"members": [
{
"module": "arnot",
"run_order": 0
},
{
"module": "aroht",
"run_order": 0
},
{
"module": "arop",
"run_order": 0
},
{
"module": "artrn",
"run_order": 0
},
{
"module": "rm20101",
"run_order": 0
},
{
"module": "rm20201",
"run_order": 0
},
{
"module": "rm30101",
"run_order": 0
},
{
"module": "rm30201",
"run_order": 0
}
],
"schedules": [
{
"cron_expr": "0 1 * * *",
"enabled": 0
}
]
},
{
"name": "Codes",
"members": [
{
"module": "code",
"run_order": 0
},
{
"module": "color",
"run_order": 0
},
{
"module": "colorb",
"run_order": 0
},
{
"module": "colortier",
"run_order": 0
},
{
"module": "cret",
"run_order": 0
},
{
"module": "ffcret",
"run_order": 0
},
{
"module": "glie",
"run_order": 0
},
{
"module": "irea",
"run_order": 0
},
{
"module": "macgrp",
"run_order": 0
},
{
"module": "majg",
"run_order": 0
},
{
"module": "mc00200",
"run_order": 0
},
{
"module": "mmgp",
"run_order": 0
},
{
"module": "mmsl",
"run_order": 0
},
{
"module": "name",
"run_order": 0
},
{
"module": "plnt",
"run_order": 0
},
{
"module": "pm00200",
"run_order": 0
},
{
"module": "sach",
"run_order": 0
},
{
"module": "sscc",
"run_order": 0
},
{
"module": "sy00300",
"run_order": 0
},
{
"module": "sy03300",
"run_order": 0
},
{
"module": "terms",
"run_order": 0
},
{
"module": "usrd",
"run_order": 0
}
],
"schedules": [
{
"cron_expr": "0 1 * * *",
"enabled": 1
}
]
},
{
"name": "Cost History",
"members": [
{
"module": "icstt",
"run_order": 0
}
],
"schedules": [
{
"cron_expr": "30 3 * * *",
"enabled": 1
}
]
},
{
"name": "Customer",
"members": [
{
"module": "adrs",
"run_order": 0
},
{
"module": "cust",
"run_order": 0
},
{
"module": "usrcust",
"run_order": 0
},
{
"module": "vend",
"run_order": 0
},
{
"module": "rm00101",
"run_order": 1
},
{
"module": "rm00301",
"run_order": 2
}
],
"schedules": [
{
"cron_expr": "0 2 * * *",
"enabled": 1
}
]
},
{
"name": "Fiscal",
"members": [
{
"module": "armasc",
"run_order": 0
},
{
"module": "coa_map",
"run_order": 0
},
{
"module": "gl00100",
"run_order": 0
},
{
"module": "gl00105",
"run_order": 0
},
{
"module": "gl10110",
"run_order": 0
},
{
"module": "gl10111",
"run_order": 0
},
{
"module": "gl20000",
"run_order": 0
},
{
"module": "gl30000",
"run_order": 0
},
{
"module": "glca",
"run_order": 0
},
{
"module": "glcc",
"run_order": 0
},
{
"module": "gtran",
"run_order": 0
},
{
"module": "sy40100",
"run_order": 0
},
{
"module": "fgrp",
"run_order": 1
},
{
"module": "ggtp",
"run_order": 2
},
{
"module": "gldate",
"run_order": 3
},
{
"module": "gldatref",
"run_order": 4
},
{
"module": "glmt",
"run_order": 5
},
{
"module": "ffsbglr1",
"run_order": 6
},
{
"module": "mast",
"run_order": 7
}
],
"schedules": [
{
"cron_expr": "0 1 * * *",
"enabled": 1
}
]
},
{
"name": "Future",
"members": [
{
"module": "fresre",
"run_order": 0
},
{
"module": "ftcstm",
"run_order": 0
},
{
"module": "ftcstp",
"run_order": 0
},
{
"module": "ftcstr",
"run_order": 0
}
],
"schedules": []
},
{
"name": "Inventory Master",
"members": [
{
"module": "itemm",
"run_order": 0
},
{
"module": "marktable",
"run_order": 0
},
{
"module": "mkptgroup",
"run_order": 0
},
{
"module": "moldmast",
"run_order": 0
},
{
"module": "stkr",
"run_order": 0
},
{
"module": "stnote",
"run_order": 0
},
{
"module": "uqf",
"run_order": 0
},
{
"module": "iv00101",
"run_order": 1
}
],
"schedules": [
{
"cron_expr": "0 1 * * *",
"enabled": 1
}
]
},
{
"name": "Inventory On Hand",
"members": [
{
"module": "binb",
"run_order": 0
},
{
"module": "iv00102",
"run_order": 0
},
{
"module": "stkb",
"run_order": 0
}
],
"schedules": [
{
"cron_expr": "50 * * * *",
"enabled": 1
}
]
},
{
"name": "Price Lists",
"members": [
{
"module": "iprca",
"run_order": 0
},
{
"module": "iprcb",
"run_order": 0
},
{
"module": "iprcbhc",
"run_order": 0
},
{
"module": "iprcc",
"run_order": 0
},
{
"module": "iprcct",
"run_order": 0
},
{
"module": "iprcctn",
"run_order": 0
},
{
"module": "iprccto",
"run_order": 0
}
],
"schedules": [
{
"cron_expr": "0 3 * * *",
"enabled": 1
}
]
},
{
"name": "Product Structure",
"members": [
{
"module": "depts",
"run_order": 0
},
{
"module": "icstm",
"run_order": 0
},
{
"module": "icstp",
"run_order": 0
},
{
"module": "icstr",
"run_order": 0
},
{
"module": "methh",
"run_order": 0
},
{
"module": "opcode",
"run_order": 0
},
{
"module": "punit",
"run_order": 0
},
{
"module": "stka",
"run_order": 0
},
{
"module": "stkmm",
"run_order": 0
},
{
"module": "stkmp",
"run_order": 0
},
{
"module": "methdm",
"run_order": 1
},
{
"module": "methdo",
"run_order": 1
},
{
"module": "methdr",
"run_order": 1
},
{
"module": "resre",
"run_order": 1
}
],
"schedules": [
{
"cron_expr": "30 1 * * *",
"enabled": 1
}
]
},
{
"name": "Production",
"members": [
{
"module": "cjobdr",
"run_order": 0
},
{
"module": "cjobh",
"run_order": 0
},
{
"module": "rprh",
"run_order": 0
},
{
"module": "ffpdglr1",
"run_order": 1
}
],
"schedules": [
{
"cron_expr": "15 1 * * *",
"enabled": 1
}
]
},
{
"name": "Purchasing",
"members": [
{
"module": "poprj",
"run_order": 0
},
{
"module": "poh",
"run_order": 1
},
{
"module": "poi",
"run_order": 2
},
{
"module": "poh_deleted",
"run_order": 3
}
],
"schedules": [
{
"cron_expr": "10 1 * * *",
"enabled": 1
}
]
},
{
"name": "Quote Review",
"members": [
{
"module": "live_quotes",
"run_order": 0
}
],
"schedules": [
{
"cron_expr": "*/15 * * * *",
"enabled": 1
}
]
},
{
"name": "Quotes",
"members": [
{
"module": "qcrs",
"run_order": 0
},
{
"module": "qcrh",
"run_order": 1
},
{
"module": "qcri",
"run_order": 2
},
{
"module": "qtnote",
"run_order": 3
}
],
"schedules": [
{
"cron_expr": "55 * * * *",
"enabled": 1
}
]
},
{
"name": "Sales Matrix",
"members": [
{
"module": "_custom_sales_line_connector",
"run_order": 0
}
],
"schedules": [
{
"cron_expr": "20 2 * * *",
"enabled": 1
}
]
},
{
"name": "Sales Transactions",
"members": [
{
"module": "sop10100",
"run_order": 0
},
{
"module": "sop10102",
"run_order": 0
},
{
"module": "sop10104",
"run_order": 0
},
{
"module": "sop10200",
"run_order": 0
},
{
"module": "sop30200",
"run_order": 0
},
{
"module": "sop30300",
"run_order": 0
},
{
"module": "bolh",
"run_order": 1
},
{
"module": "ocrh",
"run_order": 1
},
{
"module": "oih",
"run_order": 1
},
{
"module": "bold",
"run_order": 2
},
{
"module": "ocri",
"run_order": 2
},
{
"module": "oid",
"run_order": 2
},
{
"module": "ocrs",
"run_order": 3
},
{
"module": "ois",
"run_order": 3
}
],
"schedules": [
{
"cron_expr": "0 * * * *",
"enabled": 1
}
]
},
{
"name": "Surcharges",
"members": [
{
"module": "dsdisc",
"run_order": 0
},
{
"module": "surcharge",
"run_order": 0
},
{
"module": "surchargep",
"run_order": 0
},
{
"module": "surchgexc",
"run_order": 0
},
{
"module": "usrc",
"run_order": 0
}
],
"schedules": []
}
]