USCNJR&D

Verbose R&D queue uploads / verified METRC readback / completed-file handling

Checking connection

R&D Detail

Planned Upload

History has not been loaded yet.

No R&D history loaded yet.

R&D Automation

Scheduled Queue Autorun

Automation plumbing is installed but the timer is not started here. Autorun only runs when the backend flag and AWS scheduler are explicitly enabled.

Logical Quarantine

Blocked and Deferred Files

Unchanged files stop retrying after the safe limit. Replacing the file resets the block automatically. Use Retry only after correcting the METRC package/license issue.

1 Load files two ways

Use File Intake for a manual Excel/CSV plan, or use Scan Server Queue to read files already staged on the EC2. Excel files and CSV files from the R&D export workflow are supported.

2 Use read-only planning for review

Read-Only Plan parses the file, resolves exact METRC packages, reads required lab test batches, opens the METRC record-test modal, and builds would-submit values without posting results.

3 Review mappings and gates

Planned means the row has required batches, modal batch definitions, and mapped result lines. Map Review or Error means the row is not write-eligible until the displayed reason is resolved.

4 Use the console for exact progress

The METRC Console records each package lookup, required-batch check, duplicate check, modal parse/cache reuse, write submission, readback verification, and completed-file move.

5 Run row-by-row queue uploads

Plan + Write processes one server queue row at a time so the console shows each planning, skip, write, and verification step. App-history skips use a short cache when available.

6 Skip already in

When Skip Already In is checked, packages already verified by this webapp skip near-instantly from app history before METRC calls. The app also checks live METRC readback to avoid duplicate uploads from other sources.

7 Verified writes

Writes use METRC's browser-captured JSON API shape and are only counted successful after METRC readback shows the expected batch, analyte, and quantity values. A simple METRC true response is not enough.

8 Abort behavior

Queue Plan + Write and WRITE ALL SAMPLES FOR ALL FILES stop on the first real planning, write, or verification error. Already In and no-work skipped rows do not abort the run.

9 Completed files

A file is moved from RandD_metrc to RandD_metrc_completed only after every row in that file is verified or safely skipped. Filtered package runs never stamp the whole file complete.

10 Emailer

Emailer recipients are editable. Single-package write emails include row position, and completed-file emails summarize the whole file before listing row details.

R&D Emailer

Write Notification Recipients

Edit the recipients for test emails, single-package write notifications, and completed-file summaries. Use one email per line, or separate emails with commas or semicolons.