Merge branch 'hugo-shipping-notice' into dev

# Conflicts:
#	backend/app/jobs/store.py
This commit is contained in:
hugo committed 2026-09-27 20:44:24 +08:00
commit 0cc6506c0d
163 files changed
+21008 -2545

No files matched your search

+72 -8
View File
@@ -5166,7 +5166,8 @@
"interface": "Interface Definitions",
"binding": "Bindings",
"credential": "Credential References",
"capability": "Capabilities"
"capability": "Capabilities",
"calls": "Call logs"
},
"statusLabels": {
"draft": "Draft",
@@ -5217,7 +5218,7 @@
"environment": "Environment",
"status": "Status",
"clientInstance": "Client Instance",
"interfaceDef": "Interface",
"interfaceDef": "Interface Steps (ordered)",
"secretRef": "Secret Reference",
"secretProvider": "Source",
"account": "Account",
@@ -5232,6 +5233,7 @@
"code": "Code",
"name": "Name",
"connectorType": "Connector Type",
"dbKind": "Database kind (db_kind)",
"environment": "Environment",
"credentialRef": "Credential Reference Code",
"configJson": "Connection Config JSON (endpoint / timeout / default org, etc.)",
@@ -5253,9 +5255,6 @@
"effectiveTo": "Effective To",
"contextSelector": "Advanced Routing Conditions JSON",
"contextSelectorHint": "All key-value pairs must be contained in the call context to match; callers currently send no routing context, so leave it empty for the default binding.",
"paramMapping": "Parameter Mapping JSON",
"paramMappingHint": "Translation rules from domain params to interface params (e.g. erp_org to organization, condition template); leave empty for same-name passthrough.",
"bindingClientHint": "Derived and locked from the selected interface definition; not editable separately.",
"secretRef": "Secret Reference Key",
"secretProvider": "Secret Source",
"credentialType": "Credential Type",
@@ -5283,7 +5282,8 @@
"msg": {
"fillClient": "Please fill in the name",
"fillInterface": "Please select a client instance (the code can be auto-generated)",
"fillBinding": "Please fill in the capability, client instance and interface definition",
"fillBinding": "Please fill in the capability and add at least one step (choose an interface per step)",
"fillDbKind": "Please choose a database kind (MySQL / Oracle / SQL Server / PostgreSQL)",
"fillCredential": "Please fill in the code and the secret reference",
"fillCredentialDb": "Please fill in the code and the required credential fields: {fields}",
"credentialTypeMissing": "Credential type list not loaded, please refresh and retry",
@@ -5318,7 +5318,8 @@
"endpoint": "https://erp-api.example.com/ws",
"wsdl": "https://erp-api.example.com/wsdl",
"requestPath": "Path supports placeholders, e.g. /transfer/xxx",
"passwordKeep": "Leave blank to keep the current password"
"passwordKeep": "Leave blank to keep the current password",
"database": "erp-host:1521/ORCL or 127.0.0.1:3306/dbname"
},
"advancedConfig": "Advanced Config (JSON)",
"formatJson": "Format",
@@ -5339,7 +5340,70 @@
},
"connectorTypes": {
"rest": "REST API",
"soap": "SOAP Service"
"soap": "SOAP Service",
"database": "Database (Direct)"
},
"connectorDbKind": {
"mysql": "MySQL",
"oracle": "Oracle",
"sqlserver": "SQL Server",
"postgresql": "PostgreSQL"
},
"endpointLabel": {
"database": "Database connection string (host:port/service or /database)"
},
"bindingSteps": {
"label": "Execution Steps (ordered)",
"add": "Add Step",
"remove": "Remove Step",
"moveUp": "Move Up",
"moveDown": "Move Down",
"interface": "Interface Definition",
"paramMapping": "Step {index} Parameter Mapping JSON",
"clientHint": "Client instance is derived from this step's interface: {client}",
"hint": "Steps run in array order; each step has its own parameter mapping, and the client instance comes with each step's interface."
},
"callLogs": {
"title": "Call records",
"filterInterface": "Interface",
"filterClient": "Client code",
"filterConnector": "Connector type",
"filterStatus": "Status",
"filterOperationId": "Operation ID",
"filterTraceId": "Trace ID",
"filterBusinessRef": "Business ref",
"filterKeyword": "Keyword in request",
"dateFrom": "Time from",
"dateTo": "Time to",
"query": "Query",
"reset": "Reset",
"colTime": "Time",
"colCapability": "Capability",
"colInterface": "Interface",
"colRef": "Ref",
"colStep": "Step",
"colStatus": "Status",
"colElapsed": "Elapsed",
"detailTitle": "Call detail",
"timeline": "Step timeline",
"request": "Request",
"response": "Response",
"wire": "Wire-level request",
"rawPayload": "Raw payload",
"normalized": "Business params (normalized)",
"normalizedJson": "Normalized JSON",
"copyBody": "Copy body",
"copyCurl": "Copy curl",
"copySql": "Copy SQL",
"copyRaw": "Copy raw payload",
"copyJson": "Copy JSON",
"copyOperationId": "Copy operation_id",
"copyTraceId": "Copy trace_id",
"copied": "Copied",
"noWire": "No wire details (historical record)",
"sqlWriteWarning": "⚠ Write statements: confirm target environment before executing",
"prevPage": "Previous page",
"nextPage": "Next page"
}
}
}
+84 -3
View File
@@ -3711,6 +3711,8 @@
"blockedCount": "Blocked",
"estimatedQuantity": "Est. transfer qty",
"estimatedExternalWrites": "Est. ERP documents",
"pendingStockCheckCount": "Pending stock check",
"invalidRowCount": "{count} invalid rows",
"reasonQuantityMismatch": "ERP book stock quantity does not match the received quantity",
"reasonInventoryNotFound": "No ERP stock record for this lot; stock is shown as 0",
"reasonExternalQueryFailed": "External system query failed",
@@ -3742,8 +3744,10 @@
"resultBlocked": "Blocked",
"resultUnknown": "Result unknown",
"resultFileRemoved": "Removed from file",
"resultPendingStockCheck": "Pending stock check",
"staleRow": "Stale — requery",
"fileChangedRow": "File updated — re-match",
"fileChangedRow": "File updated; data will realign",
"fileRemovedQuarantined": "{count} more rows were invalidated (removed from the receipt file) and are hidden from this list; handle them under Pending Exceptions (mark as no further action).",
"runProgress": "Transfer run progress",
"runExecuting": "Executing",
"runSuccess": "Completed",
@@ -3771,7 +3775,6 @@
"receiptDateInvalid": "Start date cannot be after end date",
"toastRequeryDone": "Requery done: {ok} rows updated, {failed} failed",
"toastRequeryRecovered": "Resume done: {recovered} executable · {blocked} still blocked",
"toastExecuteStale": "{count} stale rows — requery before generating",
"toastExecuteFileChanged": "{count} rows with file updated — re-match",
"toastCloseDone": "Closed: {ok} succeeded, {failed} failed",
"batchCloseTitle": "Mark as no further action ({count} items)",
@@ -3837,6 +3840,84 @@
"homeExecutableHint": "Select rows and generate transfer orders",
"executableTitle": "Executable items",
"executableEmpty": "No executable items",
"executableSelectedCount": "{count} executable rows selected"
"executableSelectedCount": "{count} executable rows selected",
"runTitle": "Generate transfer orders",
"runBadge": {
"queued": "Queued",
"executing": "Executing",
"success": "Success",
"partialFailed": "Partially failed",
"failed": "Failed"
},
"orderStatus": {
"pending": "Pending",
"executing": "Executing",
"success": "Success",
"resultUnknown": "Result unknown",
"failed": "Failed",
"cancelled": "Closed"
},
"orderAction": {
"retrigger": "Retrigger",
"retry": "Retry",
"retryAccepted": "Order {docNo} has been resubmitted; progress will refresh automatically.",
"retryPartial": "Recheck finished: {ready} line(s) executable, {blocked} still blocked and kept in the recovery pool.",
"closeOrder": "Close order"
},
"orderReasonPrefix": "Reason: {reason}",
"poll": {
"connecting": "Connecting…"
},
"execute": {
"accepted": "Submitted. Execution is queued; progress will update below.",
"noSelection": "Select at least one executable row"
},
"retriggerDialog": {
"title": "Retrigger {docNo}",
"body": "Reuses this order's original document no. and submit timestamp and retriggers only the final step (idempotent and safe; no duplicate document will be created).",
"confirm": "Confirm retrigger",
"dismiss": "Back"
},
"orderClose": {
"title": "Close order {docNo}",
"impactHint": "The {count} line(s) of this order will be detached and returned to the pending pool (they can be re-selected into a new order):",
"redline": "Closing an order does not mean no ERP document exists: manually confirm in ERP before closing.",
"reasonPlaceholder": "Reason (required)",
"confirm": "Confirm close",
"dismiss": "Back"
},
"toastOrderClosed": "Order closed; its rows returned to the pending pool",
"toastRetriggerAccepted": "Retriggered; the final step is queued",
"homeExecuted": {
"title": "Executed transfer orders",
"refresh": "Refresh",
"empty": "No executed orders yet",
"pageInfo": "{total} orders · page {page}",
"back": "Back",
"all": "All",
"groupHint": {
"success": "ERP number written back, view details",
"failed": "Recheck stock or close the order",
"executing": "Writing stage table / triggering ERP",
"resultUnknown": "Read-only, verify with ERP offline"
},
"dateFrom": "Date from",
"dateTo": "Date to",
"group": {
"success": "Success",
"failed": "Failed",
"executing": "Executing",
"resultUnknown": "Unknown result"
},
"closeDialog": {
"title": "Close order {docNo}",
"reasonRequired": "Close reason (required)",
"redlineWhole": "Closing voids the whole order (including unposted rows) and cannot be undone.",
"redlineResidue": "Rows already written to ERP are not deleted automatically; verify residuals manually per the SOP.",
"redlineReopen": "All rows will leave this order and return to the ready-to-execute pool for re-grouping.",
"redlineErpCheck": "Closing an order does not mean no ERP document exists: confirm in ERP that no matching document exists before closing.",
"confirm": "Confirm close"
}
}
}
}
+9 -1
View File
@@ -561,6 +561,14 @@
"TRANSFER.BATCH_ITEMS_REQUIRED": "Item ids are required.",
"TRANSFER.EXECUTE_ITEMS_INVALID": "Some rows do not exist or are not executable; refresh and retry.",
"TRANSFER.ITEMS_STALE": "Some rows were evaluated too long ago; re-run the matching.",
"TRANSFER.FILE_CHANGED": "The receipt file has changed; re-run the matching before executing."
"TRANSFER.FILE_CHANGED": "The receipt file has changed; re-run the matching before executing.",
"TRANSFER.ORG_REQUIRED": "External organization code is required.",
"TRANSFER.RETRIGGER_NOT_ALLOWED": "Only result_unknown tickets can be retriggered; closing and recreating is forbidden.",
"TRANSFER.RETRY_NOT_ALLOWED": "This row was removed along with the file and cannot be requeried; mark it as no further action or wait for the file to re-sync.",
"TRANSFER.DOCUMENT_CLOSE_NOT_ALLOWED": "Only failed tickets (business/technical) can be closed; use \"Retrigger\" for result_unknown tickets, in-flight tickets cannot be closed.",
"TRANSFER.DOCUMENT_NOT_FOUND": "Transfer ticket not found.",
"INTEGRATION.BINDING_LEGACY_PUT_REJECTED": "Legacy single-step fields would truncate this binding's multi-step recipe; submit ordered steps via steps_json instead.",
"INTEGRATION.CALL_NOT_FOUND": "Integration call not found.",
"INTEGRATION.BINDING_STEPS_INVALID": "Binding steps invalid: steps_json is required, must be a non-empty array of objects."
}
}