Commit graph

179 commits

Author SHA1 Message Date
Lance Edgar 4a36c417e7 Update changelog 2021-11-05 20:37:25 -05:00
Lance Edgar 1c9f1ef515 Add support for 2nd "member type" file in CORE member batch
still just feature preview mode here, this is terribly specific
2021-11-05 20:35:38 -05:00
Lance Edgar 0c817fb7d0 Update changelog 2021-11-04 21:28:25 -05:00
Lance Edgar 5f1d6d76ed Add batch to update CORE member records directly via SQL 2021-11-04 21:21:37 -05:00
Lance Edgar 7522dd14cb Add custdata importer for CORE Office -> Lane
to double-check sync issues
2021-11-04 17:42:38 -05:00
Lance Edgar affd8a6453 Update changelog 2021-08-31 22:43:08 -05:00
Lance Edgar 980c2fa952 Add CORE Office -> Lane op importer for Department 2021-08-31 22:41:32 -05:00
Lance Edgar 710f629d9c Update changelog 2021-08-02 09:09:00 -05:00
Lance Edgar ca723ffde8 Add email setting for CORE Office -> CORE Lane export 2021-07-22 12:15:26 -05:00
Lance Edgar 36b6109993 Update changelog 2021-07-21 20:18:57 -05:00
Lance Edgar 6c9d9964dc Add basic support for CORE Office -> CORE Lane export
just products data so far
2021-07-21 20:05:16 -05:00
Lance Edgar 236ae12d20 Update changelog 2021-06-11 18:06:00 -05:00
Lance Edgar 78a00ce89f Add basic (incomplete) support for CORE -> Trainwreck import
proves the concepts more or less, but needs a lot of polish yet
2021-02-18 20:04:00 -06:00
Lance Edgar a72fd9ef77 Use sku instead of upc when fetching CORE vendorItems record
since that is what API client now expects
2021-02-09 16:12:32 -06:00
Lance Edgar 83ba5c9ace Fix typo 2021-02-09 15:41:27 -06:00
Lance Edgar d0bb4b105d Add custom vendor catalog batch handler for CORE
capable of directly updating `vendorItems` etc. via CORE API
2021-02-09 15:31:43 -06:00
Lance Edgar 1be258246c Add make_corepos_api() convenience function 2021-02-09 14:28:38 -06:00
Lance Edgar 67618d4784 Fix CORE API -> Rattail datasync for ProductCost 2021-01-31 21:53:26 -06:00
Lance Edgar f61a0a7dd9 Add importer support for VendorItem
this was done mostly for CORE <-> CORE diffs
2021-01-30 13:17:45 -06:00
Lance Edgar ef68d4b2d0 Populate Vendor.id when importing from CORE API 2021-01-27 22:21:31 -06:00
Lance Edgar 95952c665e Add schema extension for Stores, importing from CORE API 2021-01-27 22:21:06 -06:00
Lance Edgar 9b00de26c6 Be sure to update Rattail Product, when VendorItem changes in CORE
b/c of the `Product.case_size` field
2021-01-27 10:12:46 -06:00
Lance Edgar 5b1305ddbd Don't choke when vendorItems record has no modified timestamp 2021-01-27 09:28:35 -06:00
Lance Edgar da55a07982 Add support for importing Product.case_size from CORE API 2021-01-27 09:21:02 -06:00
Lance Edgar 59abc4995e Fix 'size' and push 'unitofmeasure' when exporting to CORE Products 2021-01-21 18:16:56 -06:00
Lance Edgar ca14884c46 Don't choke when unit size is not decimal-compatible 2021-01-21 17:58:11 -06:00
Lance Edgar 2faa0cb18b Add support for importing full size, uom data from CORE
also add core-specific product handler and mixin, to find all UOM abbreviations
in the wild.
2021-01-21 17:41:13 -06:00
Lance Edgar 10c119ea60 Prevent importing zero as department number, from CORE API 2021-01-21 12:28:01 -06:00
Lance Edgar ba31725ad1 Update changelog 2020-09-19 17:24:16 -05:00
Lance Edgar deec1cd929 Add some common email profiles, for importer diff warnings 2020-09-19 14:03:54 -05:00
Lance Edgar ded09c719c Update changelog 2020-09-16 19:58:22 -05:00
Lance Edgar 2f8d74069b Fix manifest to include alembic migrations 2020-09-16 19:57:54 -05:00
Lance Edgar ae6700a530 Update changelog 2020-09-16 19:40:20 -05:00
Lance Edgar aff04035ff Add datasync support for CORE VendorItem -> ProductCost 2020-09-04 20:22:24 -05:00
Lance Edgar 580f2093ae Add schema, logic for importing CORE VendorItem -> ProductCost 2020-09-04 19:10:48 -05:00
Lance Edgar b96a4bc7b9 Only assign new CORE ID if not in dry run mode
b/c if dry run, we didn't really make the API call so there is no ID
2020-08-20 20:19:01 -05:00
Lance Edgar d3e2619944 Refactor the Rattail <-> CORE product importers
this should allow for more seamless "dual authority" mode
2020-08-20 20:00:13 -05:00
Lance Edgar de628b387a Convert CORE-specific version import handler into a mixin class
so that we don't have to "choose" it as our final handler
2020-08-19 22:31:56 -05:00
Lance Edgar 6dbf7cf174 Use custom data model where possible, when importing from CORE API
not sure if this really does much good, but what the heck
2020-07-30 21:07:39 -05:00
Lance Edgar 1fe48d91f6 Use member split_street() method when exporting to Catapult workbook 2020-07-21 15:07:54 -05:00
Lance Edgar 8037de7efe Add support for importing product last sold from CORE API 2020-07-15 21:19:27 -05:00
Lance Edgar 9f3cfa0d8e Add basic exporter for CORE -> Catapult Membership Workbook
this only does what i need it to for the moment...still missing equity fields
2020-07-13 11:04:32 -05:00
Lance Edgar a32753a04a Let CORE-POS datasync watcher use alternate "changes" table name
i needed this for sake of online demo, so that 2 separate rattail apps could
both watch the same CORE DB simultaneously
2020-07-09 17:01:23 -05:00
Lance Edgar 6ce4b59509 Add more schema extensions; importing support 2020-07-07 19:58:57 -05:00
Lance Edgar 4402d79052 Allow for missing vendor abbreviation, when importing from CORE 2020-06-29 19:06:57 -05:00
Lance Edgar 40cb18f0cc Avoid touching DB records when dry-run importing
just in case storage engine doesn't support transactions!
2020-04-15 20:54:35 -05:00
Lance Edgar a193a3458a Include product UPC as original item id, for Catapult export
in case data needs to be imported back into CORE, from spreadsheet
2020-04-15 20:54:35 -05:00
Lance Edgar 20e8aa97ca Try to be smarter about the "size" column for Catapult export 2020-04-15 20:54:33 -05:00
Lance Edgar 190ba506e5 Combine size and UOM for "size" column in export 2020-04-14 16:00:31 -05:00
Lance Edgar 6905b387d0 Add "alternate for" column in Catapult export, based on like codes
this is more of an FYI column, user must do with it what they will
2020-04-10 14:12:10 -05:00