4cb41a7e4c
Fix PO import not removing products from edited POs
2025-04-14 14:31:03 -04:00
8508bfac93
Add receivings table, split PO import
2025-04-12 14:20:59 -04:00
ac14179bd2
PO-related fixes
2025-04-12 10:54:42 -04:00
97296946f1
Clean up, fix file path issues with import scripts, adjust data management page for new metrics calcs
2025-04-01 00:15:06 -04:00
f4854423ab
Update import tables schema with minor changes, add new metrics schema
2025-03-29 16:46:31 -04:00
957c7b5eb1
Add new filter options and metrics to product filters and pages; enhance SQL schema for financial calculations
2025-03-27 16:27:13 -04:00
108181c63d
Fix more import script bugs/missing data
2025-03-25 22:23:06 -04:00
5dd779cb4a
Fix purchase orders import
2025-03-25 19:12:41 -04:00
87d4b9e804
Fixes/improvements for import scripts
2025-03-24 22:27:44 -04:00
75da2c6772
Get all import scripts running again
2025-03-24 21:58:00 -04:00
675a0fc374
Fix incorrect columns in import scripts
2025-02-18 10:46:16 -05:00
ca2653ea1a
Update import scripts through POs
2025-02-17 22:17:01 -05:00
a8d3fd8033
Update import scripts through orders
2025-02-17 00:53:07 -05:00
9623681a15
Update import scripts, working through categories
2025-02-14 13:30:14 -05:00
e62c6ac8ee
Fix issues with change tracking
2025-02-02 20:24:23 -05:00
8a43da502a
Fix (probably) discrepancies and errors in import/calculate scripts
2025-02-02 00:01:46 -05:00
5bfd6f6d04
Fix import script order count issues
2025-02-01 12:54:33 -05:00
1003ff3cf2
More incremental import fixes
2025-02-01 11:42:51 -05:00
50b86d6d8a
Fix/add data to PO script
2025-02-01 10:51:47 -05:00
d57239c40c
Finish up import script incremental and reliability updates
2025-01-31 16:01:21 -05:00
1c932e0df5
More import script updates and fixes, better import_history tracking
2025-01-31 13:12:43 -05:00
a867117c3c
Import script incremental fixes
2025-01-31 11:12:38 -05:00
d0abe9d9a2
- Modify import scripts to handle edge cases with empty arrays and null conditions
...
- Improve parameter handling in incremental update queries for purchase orders and products
2025-01-31 01:50:21 -05:00
5e4d1c3bd8
Improve import scripts with enhanced incremental update tracking and performance
...
- Add record tracking for added and updated records in import scripts
- Modify products import to use a dynamic 'needs_update' flag for selective updates
- Enhance order import with more comprehensive timestamp checks
- Update import-from-prod.js to handle and clean up previously running imports
- Improve error handling and connection management in import processes
2025-01-31 01:39:48 -05:00
1be97d6610
Enhance purchase order import with advanced receiving tracking and fulfillment logic
...
- Implement FIFO-based receiving fulfillment tracking
- Add detailed receiving history with excess and partial fulfillment support
- Improve vendor name resolution and fallback handling
- Optimize incremental update queries by removing redundant conditions
- Enhance receiving status calculation with more granular tracking
2025-01-31 01:25:48 -05:00
b506f89dd7
Optimize order and product import scripts with improved performance and incremental update handling
...
- Refactor orders import to use temporary tables for more efficient data processing
- Improve batch processing and memory management in order import script
- Update product import to use temporary tables for inventory status
- Modify purchase orders import to use updated timestamp for incremental updates
- Enhance error handling and logging for import processes
2025-01-30 21:13:53 -05:00
6c5f119ee5
Import fixes/optimizations
2025-01-29 21:48:56 -05:00
0d377466aa
Optimize database import queries with improved index selection
2025-01-29 18:42:29 -05:00
4d8a677c5b
Remove import history tracking from purchase orders import script
2025-01-29 16:33:37 -05:00
655c071960
Limit order and purchase order imports to last 5 years
2025-01-29 16:25:24 -05:00
d2a2dbc812
Add incremental import support and tracking for database synchronization
2025-01-29 16:22:00 -05:00
81a724db9d
Fix elapsed time calculation in import scripts
2025-01-29 13:40:01 -05:00
84baa7e7d3
Break up prod import script into pieces and move csv scripts into folder
2025-01-29 13:28:15 -05:00
814d5d1a84
Break up prod import script into pieces and move csv scripts into folder
2025-01-29 00:18:04 -05:00