mirror of
https://github.com/christianvidalwolf-prog/Craze-Data-check.git
synced 2026-08-03 10:55:25 +02:00
0d50fce790c3ef97347023c5966ddeddb4a4ffaf
- Update default column indices to July 2026 layout (EmpCO_Compliant, Comments, Categorisation Code, Ingredients added; PM Classification removed; downstream columns shifted) - Seed internal Categorisation Code from the new Excel column while keeping app-side edits as the source of truth - Guard legacy CPNP index-77 fallbacks: only trusted when the current layout still holds CPNP there (new layout stores Item To Root Units) - Use resolved column index for forced zero stock instead of static one Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Run and deploy your AI Studio app
This contains everything you need to run your app locally.
View your app in AI Studio: https://ai.studio/apps/bac9908e-4996-4e4c-8ec7-3add58fb6684
Run Locally
Prerequisites: Node.js
- Install dependencies:
npm install - Set the
GEMINI_API_KEYin .env.local to your Gemini API key - To use the Business Central download button, set:
BC_TENANT_ID,BC_CLIENT_ID,BC_CLIENT_SECRET,BC_COMPANY_ID - If your Business Central writable endpoint is not the default
PATCH, also set:BC_WRITE_METHOD,BC_WRITE_URL_TEMPLATE,BC_WRITE_BODY_TEMPLATE - For the safer BC sync preview/apply flow, you can also set:
BC_ITEMS_WRITE_METHOD,BC_ITEMS_WRITE_URL_TEMPLATE,BC_ITEMS_WRITE_BODY_TEMPLATE,BC_UOM_CODE,BC_UOM_WRITE_METHOD,BC_UOM_WRITE_URL_TEMPLATE,BC_UOM_WRITE_BODY_TEMPLATE - Run the app:
npm run dev
Languages
TypeScript
89.3%
JavaScript
10.7%