toga-ai 1.0.1173 → 1.0.1175
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -34,7 +34,7 @@ updated: 2026-10-27
|
|
|
34
34
|
- `worker1.5` sync_togasupply_hh.php: removed `inventoryAdjustmentStockLocationNetsuiteIds` (missing key = all locations). Committed d0c1f1a. Verified: every linked IA line in prod is at location 117, so no shares change and no share-runner re-run is needed.
|
|
35
35
|
- `library` app/api/toga2.php (syncSalesOrderFromNetsuite, existing-PO branch): SO line's own item wins over an item-group sibling when the PO has a line for it. Committed 715e7ecc. Re-synced SO 154937 (ns 4230372) and SO 154738 (ns 4223786): EIT0010893 L31 210-BFZY and L72 210-BGCU now linked and 0 on hand; "-A" lines 136/144-146 have no links.
|
|
36
36
|
- EIT0009416 fully matches NetSuite after Ops IAs #3141/#3142 (+IF #154769 on #3142), #3143/#3144 (210-AZBM), #3136/#3137 (210-BEQW-HHC).
|
|
37
|
-
- EIT0012615 matches
|
|
37
|
+
- EIT0012615 now matches (Ops moved the New York stock to Plainview).
|
|
38
38
|
- EIT0011189: IA #1611 unlinked; allocation runner left HPCLJEM528Z at ±2 (whole TO lines only).
|
|
39
39
|
- Excel for agreeing lines built: D:\TEMP\H&H\HH-Stock-Reconciliation-2026-10-26.xlsx (v1) and -v2.xlsx (adds ELM-resolved lines). Builder script lived in the session scratchpad (build_hh_xlsx.py) — dev said hold off on the Excel until discrepancies are settled.
|
|
40
40
|
|
|
@@ -47,15 +47,27 @@ updated: 2026-10-27
|
|
|
47
47
|
- Giving Ops actions for items where Supply and NetSuite already match (dev called this overcomplicating). Rule: if totals match, nothing to do.
|
|
48
48
|
- SuiteQL `custbody_stock_adjustment IS NULL` on the multi-select does not detect blank IAs — use BUILTIN.DF(...) per IA instead.
|
|
49
49
|
- Comparing NetSuite on-hand per item including "_" twin items separately (C31CJ57012 vs C31CJ57012_): add twins together before calling a mismatch.
|
|
50
|
+
- knowledge.js session-save rejects this file with "missing frontmatter: updated" when it has CRLF line endings — keep LF.
|
|
51
|
+
|
|
52
|
+
## Latest analysis (2026-10-27, after deploy + re-syncs) — 14 POs
|
|
53
|
+
Method: Supply on-hand per PO line (live code: no location, floored at 0) summed per item vs NetSuite inventorybalance at 117+173+202, "_" twins added.
|
|
54
|
+
- MATCH: EIT0012148, EIT0012673, EIT0012615, EIT0012867, EIT0012868 (AppleCare removed), EIT0012107 and EIT0011563 (own lines OK; AC785544 gap is on EIT0012372/EIT0012614).
|
|
55
|
+
- Ops already fixed: IA #978 linked (STK503RED/STM042RED now 115 = NS), IA #684 linked (EIT0010304), AB678031 now 858 = NS, 460-BCTK now matches.
|
|
56
|
+
- EIT0011733: K33821NA 129 vs 149 → Ops fill Stock Adjustment on IA #2555 (+20, 5/11/2026, not an old IA).
|
|
57
|
+
- EIT0012548: 520-BBNF 20 vs 60 → vendor PO #164473 receipt #59013 (40, 4/30/2026) into Plainview with no stocking order.
|
|
58
|
+
- EIT0012372: AC785544 → IA #2136 (memo SO 252514 = EIT0012614) lists IF #274364 (EIT0012372) + IF #289938 (EIT0012614); TOGa gives all 1800 to EIT0012372 (IA #3109 has NO AC785544 line). Ops: remove IF #274364 from IA #2136, then confirm whether EIT0012372's own 1800 (SO 235136) went into stock.
|
|
59
|
+
- COF0015668: 210-BFZY 268 vs 718 = customer returns RMA #1875 (250) + RMA #1876 (200) 3/28/2024; 210-BBCC 197 vs 202 = RMA #2742 (5, 4/30/2026). Supply does not count RMA receipts.
|
|
60
|
+
- EIT0011108: DTKN/64GB 78 vs 206 (Ops IA −128 unlinked for credit memo 8124100); K55888WW 6 vs 16 (vendor PO #161025, 10 into Processing 3/2026, no stocking order); K33821NA (IA #2555); DWM3770X +2 / DWMSC3780MUL +1 (SOs 169639/169656 ticked stocking, no IA → untick); PA03810-B055 L42 −1 / L85 +1 (allocation runner dry run); VB320-BL1313- B27-435 L83 −2 (stock belongs to EPC0002915 via old IA #1194); PA03795-B005 1 unit (847 vs 846) untraced.
|
|
61
|
+
- EIT0010893: 210-ASFS +2 / 210-AWKC +1 (SOs 169639/169656); 210-BCTU L54 −5 vs EIT0011933 +8, NS 3 (IA pair); 210-BHSM 40 vs 20 (old IAs #1224/#1226 + transfer +20 into ELM); 580-AJIS −10 (old IA #1000 = return on TO 164021); 210-BBCC (RMA #2742).
|
|
62
|
+
- EIT0012129: TD-LBK070VA-USB R 148 vs 182 (transfer #328 +34 from HQ, 8/12/2026); K33821NA; PA03795-B005 1 unit.
|
|
50
63
|
|
|
51
64
|
## Not tried yet (candidates for next session)
|
|
52
|
-
-
|
|
65
|
+
- Dev decision pending: count customer returns (RMA receipts) against the PO of the TO being returned (Dev), or Ops books returns as IA on the TO fulfillment.
|
|
53
66
|
- Rebuild the client Excel (receipts + deployments) once discrepancies are settled; reuse the receipts/deployments queries (filter by agreeing PO lines).
|
|
54
|
-
- Decide with dev: blank-Stock-Adjustment IAs → option 1 (list as known exceptions) vs option 2 (new IA pair +X linked / −X unlinked, old IA untouched).
|
|
67
|
+
- Decide with dev: blank-Stock-Adjustment IAs → option 1 (list as known exceptions) vs option 2 (new IA pair +X linked / −X unlinked, old IA untouched).
|
|
55
68
|
- Decide with dev: floor Nychh item-level `_qtyCommitted` at 0 (Model/Nychh/Item.php subtracts shipped from committed and can go negative, inflating available).
|
|
56
69
|
- Ops answers pending: SVX-VX-RPY is set up as InvtPart in NetSuite though Ops says licences are not inventory.
|
|
57
|
-
-
|
|
58
|
-
- Still unexplained: 520-BBNF (Supply 20 vs NetSuite 60); T-LBK462-BSB-R −25 on EIT0011108 / 210-BCTU −5 on EIT0010893 (cross-PO TO use → Ops IA pair, need the TO numbers).
|
|
70
|
+
- Trace PA03795-B005 1-unit gap; get TO numbers for 210-BCTU (EIT0010893 vs EIT0011933) IA pair.
|
|
59
71
|
|
|
60
72
|
## Current file state
|
|
61
73
|
| File | Status | Notes |
|
|
@@ -66,7 +78,7 @@ updated: 2026-10-27
|
|
|
66
78
|
| worker1.5 crons/toga2/netsuite/sync_togasupply_hh.php | committed d0c1f1a | IA location key removed |
|
|
67
79
|
| library app/api/toga2.php | committed 715e7ecc | own item before group sibling |
|
|
68
80
|
| dbchanges2 Client_Nychh/2026-10-16a, 2026-10-20a, 2026-10-20b | committed earlier | one-time cleanup SQL (ran) |
|
|
69
|
-
| All three app repos | pushed on TRUE-82604 |
|
|
81
|
+
| All three app repos | pushed on TRUE-82604, deployed | re-syncs of SO 154937/154738 done |
|
|
70
82
|
|
|
71
83
|
## Decisions made
|
|
72
84
|
- Location never decides H&H stock (dev + Ops). Rejected: hard-coded warehouse list; per-location "client stock" flag (not needed once location is out).
|
|
@@ -76,10 +88,11 @@ updated: 2026-10-27
|
|
|
76
88
|
- Ops text style: only the items asked about, one short line each, "currently X → Y", no actions where totals match.
|
|
77
89
|
|
|
78
90
|
## Blockers
|
|
79
|
-
-
|
|
91
|
+
- Dev decisions pending: (1) RMA returns — Dev counts them vs Ops books IA on TO fulfillment; (2) old IAs Ops won't edit (210-BHSM, 580-AJIS) — known exception vs new IA pair.
|
|
92
|
+
- Ops items open (see "Latest analysis").
|
|
80
93
|
|
|
81
94
|
## Exact next step
|
|
82
|
-
>
|
|
95
|
+
> Get the dev's answers to the two decisions above; then (if RMA = Dev) design counting RMA receipts in library/app/api/toga2.php + Nychh PurchaseOrderItem math, and re-run the same 14-PO comparison after Ops finishes their items.
|
|
83
96
|
|
|
84
97
|
---
|
|
85
98
|
_Saved by /session-save on 2026-10-27_
|
package/package.json
CHANGED