config/ had drifted from pipekit.db: group memberships and three
schedules existed only in the DB, cjobdr and cjobh had no sidecars at
all, and ab.{json,sql} was left over from a module no longer in the DB
(an apply would have recreated it). pipekit apply --dry-run now reports
that the database matches config.
Two real inconsistencies fixed in ffpdglr1.json: it was missing the
ffpdglr1_hot watermark added with the rollover hot set, so an apply from
files would have deleted the watermark while the committed SQL still
referenced {ffpdglr1_hot}; and its period resolver had been edited in the
UI without an export, so the file carried a stale format('%L', ...)
variant.
Purchasing members were all run_order 0, which happened to sort
poh, poh_deleted, poi alphabetically and satisfy the real constraints by
accident. Now explicit: poh 1, poi 2, poh_deleted 3 -- poi resolves its
watermark off cms.poh, and poh_deleted's first hook reads cms.poh.
Also describes eight GP modules that had no description (dest_description
is the half the sidecar format carries; the module-level description
lives only in the DB).
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
436 lines
11 KiB
JSON
436 lines
11 KiB
JSON
{
|
|
"name": "rm20201",
|
|
"source_connection": "sqlserver",
|
|
"dest_connection": "usmidsap02",
|
|
"dest_table": "gp.rm20201",
|
|
"staging_table": "pipekit_staging.rm20201",
|
|
"merge_strategy": "full",
|
|
"merge_key": null,
|
|
"enabled": 1,
|
|
"dest_description": "Dynamics GP open receivables apply detail",
|
|
"columns": [
|
|
{
|
|
"source_name": "CUSTNMBR",
|
|
"source_type": "CHAR(15)",
|
|
"dest_name": "custnmbr",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "CPRCSTNM",
|
|
"source_type": "CHAR(15)",
|
|
"dest_name": "cprcstnm",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "TRXSORCE",
|
|
"source_type": "CHAR(13)",
|
|
"dest_name": "trxsorce",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "DATE1",
|
|
"source_type": "DATETIME",
|
|
"dest_name": "date1",
|
|
"dest_type": "timestamp",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "TIME1",
|
|
"source_type": "DATETIME",
|
|
"dest_name": "time1",
|
|
"dest_type": "timestamp",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "GLPOSTDT",
|
|
"source_type": "DATETIME",
|
|
"dest_name": "glpostdt",
|
|
"dest_type": "timestamp",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "POSTED",
|
|
"source_type": "TINYINT",
|
|
"dest_name": "posted",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "TAXDTLID",
|
|
"source_type": "CHAR(15)",
|
|
"dest_name": "taxdtlid",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "APTODCNM",
|
|
"source_type": "CHAR(21)",
|
|
"dest_name": "aptodcnm",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "APTODCTY",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "aptodcty",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "APTODCDT",
|
|
"source_type": "DATETIME",
|
|
"dest_name": "aptodcdt",
|
|
"dest_type": "timestamp",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "ApplyToGLPostDate",
|
|
"source_type": "DATETIME",
|
|
"dest_name": "applytoglpostdate",
|
|
"dest_type": "timestamp",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "CURNCYID",
|
|
"source_type": "CHAR(15)",
|
|
"dest_name": "curncyid",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "CURRNIDX",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "currnidx",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "APPTOAMT",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "apptoamt",
|
|
"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": "DISAVTKN",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "disavtkn",
|
|
"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": "ORAPTOAM",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "oraptoam",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "ORDISTKN",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "ordistkn",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "ORDATKN",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "ordatkn",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "ORWROFAM",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "orwrofam",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "APTOEXRATE",
|
|
"source_type": "NUMERIC(19,7)",
|
|
"dest_name": "aptoexrate",
|
|
"dest_type": "numeric(19,7)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "APTODENRATE",
|
|
"source_type": "NUMERIC(19,7)",
|
|
"dest_name": "aptodenrate",
|
|
"dest_type": "numeric(19,7)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "APTORTCLCMETH",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "aptortclcmeth",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "APTOMCTRXSTT",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "aptomctrxstt",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "APFRDCNM",
|
|
"source_type": "CHAR(21)",
|
|
"dest_name": "apfrdcnm",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "APFRDCTY",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "apfrdcty",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "APFRDCDT",
|
|
"source_type": "DATETIME",
|
|
"dest_name": "apfrdcdt",
|
|
"dest_type": "timestamp",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "ApplyFromGLPostDate",
|
|
"source_type": "DATETIME",
|
|
"dest_name": "applyfromglpostdate",
|
|
"dest_type": "timestamp",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "FROMCURR",
|
|
"source_type": "CHAR(15)",
|
|
"dest_name": "fromcurr",
|
|
"dest_type": "text",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "APFRMAPLYAMT",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "apfrmaplyamt",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "APFRMDISCTAKEN",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "apfrmdisctaken",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "APFRMDISCAVAIL",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "apfrmdiscavail",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "APFRMWROFAMT",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "apfrmwrofamt",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "ActualApplyToAmount",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "actualapplytoamount",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "ActualDiscTakenAmount",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "actualdisctakenamount",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "ActualDiscAvailTaken",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "actualdiscavailtaken",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "ActualWriteOffAmount",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "actualwriteoffamount",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "APFRMEXRATE",
|
|
"source_type": "NUMERIC(19,7)",
|
|
"dest_name": "apfrmexrate",
|
|
"dest_type": "numeric(19,7)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "APFRMDENRATE",
|
|
"source_type": "NUMERIC(19,7)",
|
|
"dest_name": "apfrmdenrate",
|
|
"dest_type": "numeric(19,7)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "APFRMRTCLCMETH",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "apfrmrtclcmeth",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "APFRMMCTRXSTT",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "apfrmmctrxstt",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "APYFRMRNDAMT",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "apyfrmrndamt",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "APYTORNDAMT",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "apytorndamt",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "APYTORNDDISC",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "apytornddisc",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "OAPYFRMRNDAMT",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "oapyfrmrndamt",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "OAPYTORNDAMT",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "oapytorndamt",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "OAPYTORNDDISC",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "oapytornddisc",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "GSTDSAMT",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "gstdsamt",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "PPSAMDED",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "ppsamded",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "RLGANLOS",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "rlganlos",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "Settled_Gain_CreditCurrT",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "settled_gain_creditcurrt",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "Settled_Loss_CreditCurrT",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "settled_loss_creditcurrt",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "Settled_Gain_DebitCurrTr",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "settled_gain_debitcurrtr",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "Settled_Loss_DebitCurrTr",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "settled_loss_debitcurrtr",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "Settled_Gain_DebitDiscAv",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "settled_gain_debitdiscav",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "Settled_Loss_DebitDiscAv",
|
|
"source_type": "NUMERIC(19,5)",
|
|
"dest_name": "settled_loss_debitdiscav",
|
|
"dest_type": "numeric(19,5)",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "Revaluation_Status",
|
|
"source_type": "SMALLINT",
|
|
"dest_name": "revaluation_status",
|
|
"dest_type": "smallint",
|
|
"description": null
|
|
},
|
|
{
|
|
"source_name": "DEX_ROW_ID",
|
|
"source_type": "INT",
|
|
"dest_name": "dex_row_id",
|
|
"dest_type": "integer",
|
|
"description": null
|
|
}
|
|
],
|
|
"watermarks": [],
|
|
"hooks": []
|
|
}
|