Only pm00200 (vendor master) covered the AP side; every transactional PM table was missing even though the parallel receivables (rm*) set was fully built out. Add ten modules mirroring that AR structure: pm00100 vendor class setup pm20100 open apply detail pm00300 vendor address master pm30200 paid transaction history pm00400 key master (doc index) pm30300 apply history pm10100 open GL distributions pm30600 GL distribution history pm20000 open transactions pm30700 tax history All full reloads. The whole set is <=230k rows and loads in seconds over the Postgres COPY path, so a watermark buys nothing — and a date-keyed incremental carries the row-level purge drift documented for icstt. pm20000 and pm30200 do have DEX_ROW_TS if that changes. Column maps come from pipekit's own /api/introspect/columns over the GPSERVER linked server. Descriptions are null throughout: GP populates no MS_Description extended properties (CHG has zero), and the metadata lives in the Dexterity dictionary rather than SQL Server. The group is scheduled 0 1 * * * but left disabled, matching the Accounts Receivable group. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
563 lines
13 KiB
JSON
563 lines
13 KiB
JSON
{
|
|
"name": "pm20000",
|
|
"source_connection": "sqlserver",
|
|
"dest_connection": "usmidsap02",
|
|
"dest_table": "gp.pm20000",
|
|
"staging_table": "pipekit_staging.pm20000",
|
|
"merge_strategy": "full",
|
|
"merge_key": null,
|
|
"enabled": 1,
|
|
"dest_description": "Dynamics GP open payables transactions",
|
|
"columns": [
|
|
{
|
|
"source_name": "VCHRNMBR",
|
|
"source_type": "CHAR(21)",
|
|
"dest_name": "vchrnmbr",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "VENDORID",
|
|
"source_type": "CHAR(15)",
|
|
"dest_name": "vendorid",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "DOCTYPE",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "doctype",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "DOCDATE",
|
|
"source_type": "DATETIME",
|
|
"dest_name": "docdate",
|
|
"dest_type": "timestamp",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "DOCNUMBR",
|
|
"source_type": "CHAR(21)",
|
|
"dest_name": "docnumbr",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "DOCAMNT",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "docamnt",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "CURTRXAM",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "curtrxam",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "DISTKNAM",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "distknam",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "DISCAMNT",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "discamnt",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "DSCDLRAM",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "dscdlram",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "BACHNUMB",
|
|
"source_type": "CHAR(15)",
|
|
"dest_name": "bachnumb",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "TRXSORCE",
|
|
"source_type": "CHAR(13)",
|
|
"dest_name": "trxsorce",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "BCHSOURC",
|
|
"source_type": "CHAR(15)",
|
|
"dest_name": "bchsourc",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "DISCDATE",
|
|
"source_type": "DATETIME",
|
|
"dest_name": "discdate",
|
|
"dest_type": "timestamp",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "DUEDATE",
|
|
"source_type": "DATETIME",
|
|
"dest_name": "duedate",
|
|
"dest_type": "timestamp",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "PORDNMBR",
|
|
"source_type": "CHAR(21)",
|
|
"dest_name": "pordnmbr",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "TEN99AMNT",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "ten99amnt",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "WROFAMNT",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "wrofamnt",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "DISAMTAV",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "disamtav",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "TRXDSCRN",
|
|
"source_type": "CHAR(31)",
|
|
"dest_name": "trxdscrn",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "UN1099AM",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "un1099am",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "BKTPURAM",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "bktpuram",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "BKTFRTAM",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "bktfrtam",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "BKTMSCAM",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "bktmscam",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "VOIDED",
|
|
"source_type": "TINYINT",
|
|
"dest_name": "voided",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "HOLD",
|
|
"source_type": "TINYINT",
|
|
"dest_name": "hold",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "CHEKBKID",
|
|
"source_type": "CHAR(15)",
|
|
"dest_name": "chekbkid",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "DINVPDOF",
|
|
"source_type": "DATETIME",
|
|
"dest_name": "dinvpdof",
|
|
"dest_type": "timestamp",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "PPSAMDED",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "ppsamded",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "PPSTAXRT",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "ppstaxrt",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "PGRAMSBJ",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "pgramsbj",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "GSTDSAMT",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "gstdsamt",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "POSTEDDT",
|
|
"source_type": "DATETIME",
|
|
"dest_name": "posteddt",
|
|
"dest_type": "timestamp",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "PTDUSRID",
|
|
"source_type": "CHAR(15)",
|
|
"dest_name": "ptdusrid",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "MODIFDT",
|
|
"source_type": "DATETIME",
|
|
"dest_name": "modifdt",
|
|
"dest_type": "timestamp",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "MDFUSRID",
|
|
"source_type": "CHAR(15)",
|
|
"dest_name": "mdfusrid",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "PYENTTYP",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "pyenttyp",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "CARDNAME",
|
|
"source_type": "CHAR(15)",
|
|
"dest_name": "cardname",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "PRCHAMNT",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "prchamnt",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "TRDISAMT",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "trdisamt",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "MSCCHAMT",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "mscchamt",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "FRTAMNT",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "frtamnt",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "TAXAMNT",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "taxamnt",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "TTLPYMTS",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "ttlpymts",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "CURNCYID",
|
|
"source_type": "CHAR(15)",
|
|
"dest_name": "curncyid",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "PYMTRMID",
|
|
"source_type": "CHAR(21)",
|
|
"dest_name": "pymtrmid",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "SHIPMTHD",
|
|
"source_type": "CHAR(15)",
|
|
"dest_name": "shipmthd",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "TAXSCHID",
|
|
"source_type": "CHAR(15)",
|
|
"dest_name": "taxschid",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "PCHSCHID",
|
|
"source_type": "CHAR(15)",
|
|
"dest_name": "pchschid",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "FRTSCHID",
|
|
"source_type": "CHAR(15)",
|
|
"dest_name": "frtschid",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "MSCSCHID",
|
|
"source_type": "CHAR(15)",
|
|
"dest_name": "mscschid",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "PSTGDATE",
|
|
"source_type": "DATETIME",
|
|
"dest_name": "pstgdate",
|
|
"dest_type": "timestamp",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "DISAVTKN",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "disavtkn",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "CNTRLTYP",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "cntrltyp",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "NOTEINDX",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "noteindx",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "PRCTDISC",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "prctdisc",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "RETNAGAM",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "retnagam",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "ICTRX",
|
|
"source_type": "TINYINT",
|
|
"dest_name": "ictrx",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "Tax_Date",
|
|
"source_type": "DATETIME",
|
|
"dest_name": "tax_date",
|
|
"dest_type": "timestamp",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "PRCHDATE",
|
|
"source_type": "DATETIME",
|
|
"dest_name": "prchdate",
|
|
"dest_type": "timestamp",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "CORRCTN",
|
|
"source_type": "TINYINT",
|
|
"dest_name": "corrctn",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "SIMPLIFD",
|
|
"source_type": "TINYINT",
|
|
"dest_name": "simplifd",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "BNKRCAMT",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "bnkrcamt",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "APLYWITH",
|
|
"source_type": "TINYINT",
|
|
"dest_name": "aplywith",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "Electronic",
|
|
"source_type": "TINYINT",
|
|
"dest_name": "electronic",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "ECTRX",
|
|
"source_type": "TINYINT",
|
|
"dest_name": "ectrx",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "DocPrinted",
|
|
"source_type": "TINYINT",
|
|
"dest_name": "docprinted",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "TaxInvReqd",
|
|
"source_type": "TINYINT",
|
|
"dest_name": "taxinvreqd",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "VNDCHKNM",
|
|
"source_type": "CHAR(65)",
|
|
"dest_name": "vndchknm",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "BackoutTradeDisc",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "backouttradedisc",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "CBVAT",
|
|
"source_type": "TINYINT",
|
|
"dest_name": "cbvat",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "VADCDTRO",
|
|
"source_type": "CHAR(15)",
|
|
"dest_name": "vadcdtro",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "TEN99TYPE",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "ten99type",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "TEN99BOXNUMBER",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "ten99boxnumber",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "PONUMBER",
|
|
"source_type": "CHAR(17)",
|
|
"dest_name": "ponumber",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "Workflow_Status",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "workflow_status",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "DEX_ROW_TS",
|
|
"source_type": "DATETIME",
|
|
"dest_name": "dex_row_ts",
|
|
"dest_type": "timestamp",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "DEX_ROW_ID",
|
|
"source_type": "INT",
|
|
"dest_name": "dex_row_id",
|
|
"dest_type": "integer",
|
|
"description": null
|
|
}
|
|
],
|
|
"watermarks": [],
|
|
"hooks": [],
|
|
"description": "Dynamics GP open payables transactions"
|
|
}
|