Merge branch 'hugo-shipping-notice' into dev
# Conflicts: # backend/app/services/shipping_notice/receipt_report_notification.py
This commit is contained in:
commit
876a7ade7d
212 files changed
+12056
-2889
No files matched your search
@@ -635,7 +635,9 @@
|
||||
"pathSectionConfigured": "Configured",
|
||||
"pathSectionNotConfigured": "Not configured",
|
||||
"parsingProfiles": "Inventory Parsing",
|
||||
"parsingProfilesHelp": "Maintain inventory file structures, field mappings, and order-field match keys shared by inventory sites.",
|
||||
"parsingProfilesHelp": "Maintain reusable file parsing rules: inventory parsing targets the inventory field catalog and order match keys; receipt movement targets the standard movement fields (read-only contract).",
|
||||
"inventoryParsing": { "code": "Inventory Parsing Code", "name": "Inventory Parsing Name", "sampleFile": "Inventory Sample File", "sampleFileHint": "Upload an Excel or CSV file. The system reads worksheets, headers, and a small sample for plan confirmation.", "sampleRequired": "Upload an inventory sample file and complete structure recognition first.", "sourceHeader": "Inventory File Header", "fieldMappings": "Inventory Standard Field Mappings", "analysisPreview": "Inventory Analysis Preview" },
|
||||
"movementParsing": { "code": "Movement Parsing Code", "name": "Movement Parsing Name", "sampleFile": "Receipt Sample File", "sampleFileHint": "Upload an Excel or CSV file. The system reads worksheets, headers, and a small sample for movement parsing confirmation.", "sampleRequired": "Upload a receipt movement sample file and complete structure recognition first.", "sourceHeader": "Movement File Header", "fieldMappings": "Standard Movement Field Mappings", "analysisPreview": "Movement Analysis Preview" },
|
||||
"inventoryMapping": "Inventory Parsing",
|
||||
"inventoryMappingPlans": "Parsing Rules",
|
||||
"inventoryFields": "Inventory Field Catalog",
|
||||
@@ -690,6 +692,21 @@
|
||||
"inventorySampleAnalysing": "Analysing inventory file structure...",
|
||||
"inventorySampleRequired": "Upload an inventory sample file and complete structure recognition first.",
|
||||
"parsingProfileName": "Inventory Parsing Name",
|
||||
"parsingPurposeLabel": "Rule Purpose",
|
||||
"parsingPurposeHint": "Purpose cannot be changed after creation: inventory parsing uses the inventory field catalog, receipt movement uses the standard movement fields (read-only contract).",
|
||||
"parsingPurpose": { "inventory": "Inventory Parsing", "movement": "Receipt Movement" },
|
||||
"movementMappingHint": "Standard movement fields are a read-only business contract (✱ required, 🔑 match identity). Just pick the report header alias for each field.",
|
||||
"movementRequiredMark": "Required",
|
||||
"movementIdentityMark": "Match identity",
|
||||
"movementStandardField": "Standard Movement Field",
|
||||
"movementBindingLabel": "Movement Parsing Rule",
|
||||
"movementBindingNone": "Not bound",
|
||||
"movementBindingHint": "With a published movement rule bound, precheck reuses archived receipt files; when unbound, precheck will not trigger a fetch (fail-closed).",
|
||||
"movementFields": {
|
||||
"doc_no": "Doc No.", "line_no": "Line No.", "in_out_flag": "In/Out Flag", "material_code": "Material Code",
|
||||
"material_name": "Material Name", "warehouse_code": "Warehouse", "storage_code": "Storage Bin", "lot_no": "Lot No.",
|
||||
"quantity": "Quantity", "movement_date": "Movement Date"
|
||||
},
|
||||
"inventoryAnalysisFailed": "Inventory file structure recognition failed.",
|
||||
"inventoryAnalysisPreview": "Recognition Preview",
|
||||
"inventoryAnalysisSummary": "Found {candidate_count} candidate headers with {sample_row_count} sample rows and suggested {valid_inventory_field_suggestions} inventory fields.",
|
||||
@@ -826,8 +843,7 @@
|
||||
"exports": "Export Records",
|
||||
"exportsHelp": "Read-only inventory export results. Retries and manual exports are not initiated here.",
|
||||
"externalMappings": "Warehouse Mapping",
|
||||
"mappingsHelp": "Map a freight warehouse, or a source default, to an external system warehouse code.",
|
||||
"defaultMapping": "Source Default Mapping",
|
||||
"mappingsHelp": "Map an inventory source to external system warehouse and in-transit warehouse codes; freight warehouse is optional and used as the receipt-warehouse matching key.",
|
||||
"loadFailed": "Failed to load shipping inventory configuration",
|
||||
"createNew": "New",
|
||||
"saving": "Saving...",
|
||||
@@ -1036,12 +1052,13 @@
|
||||
"publishedImmutable": "Published rules are retained as immutable audit definitions. Create and publish a new rule instead.",
|
||||
"source": "Inventory Source",
|
||||
"chooseSource": "Select an inventory source",
|
||||
"freightWarehouse": "Freight Warehouse (optional)",
|
||||
"freightWarehouse": "Freight Warehouse",
|
||||
"externalSystem": "Target system",
|
||||
"externalOrganization": "Target organization (optional)",
|
||||
"externalSite": "Target site (optional)",
|
||||
"externalWarehouseCode": "Target warehouse code",
|
||||
"externalWarehouseName": "Target warehouse name",
|
||||
"inTransitWarehouseCode": "In-transit warehouse code",
|
||||
"snapshotStatus": "Snapshot Status",
|
||||
"snapshotFile": "Snapshot file",
|
||||
"expiresAt": "Valid until",
|
||||
@@ -5141,7 +5158,6 @@
|
||||
"title": "Integration Connector",
|
||||
"subtitle": "Configure external system clients, interface templates and response mapping, then bind them to capabilities; this is the integration config that makes auto-transfer run.",
|
||||
"add": "Add",
|
||||
"formHint": "Maintain JSON fields in the editor; the publish status decides whether a config is used by the Worker.",
|
||||
"call": "Call",
|
||||
"test": "Test Connection",
|
||||
"empty": "No data",
|
||||
@@ -5152,6 +5168,48 @@
|
||||
"credential": "Credential References",
|
||||
"capability": "Capabilities"
|
||||
},
|
||||
"statusLabels": {
|
||||
"draft": "Draft",
|
||||
"published": "Published",
|
||||
"retired": "Retired",
|
||||
"active": "Active",
|
||||
"rotating": "Rotating",
|
||||
"db": "UI-managed (encrypted)",
|
||||
"env": "Environment variable"
|
||||
},
|
||||
"envLabels": {
|
||||
"dev": "Dev",
|
||||
"test": "Test",
|
||||
"prod": "Prod"
|
||||
},
|
||||
"capabilityLabels": {
|
||||
"in_transit_transfer": {
|
||||
"create_transfer": "Create transfer",
|
||||
"query_inventory": "In-transit inventory query",
|
||||
"verify_duplicate": "Duplicate check"
|
||||
}
|
||||
},
|
||||
"writeLabels": { "yes": "Yes", "no": "No" },
|
||||
"idempotencyLabels": { "none": "None", "invoice": "Idempotent by document no." },
|
||||
"credentialTypeLabels": {
|
||||
"password": "Username + Password",
|
||||
"token": "Token",
|
||||
"api_key": "API Key"
|
||||
},
|
||||
"lifecycle": {
|
||||
"publish": "Publish",
|
||||
"unpublish": "Unpublish",
|
||||
"retire": "Retire",
|
||||
"reopen": "Reopen draft"
|
||||
},
|
||||
"formHints": {
|
||||
"client": "The code is the unique identifier referenced by interface definitions and bindings; it cannot be changed after saving.",
|
||||
"interface": "The code can be auto-generated; the JSON contract is the interface itself and is maintained in the editors; only a published interface is picked up by binding resolution.",
|
||||
"binding": "Bindings decide which client and interface a capability routes to per environment/source; only published bindings are called automatically.",
|
||||
"credential": "In db mode, credentials are maintained in the UI and encrypted server-side; in env mode only the environment variable key is stored and the value is injected by the environment.",
|
||||
"credentialImmutable": "These fields are locked after creation; to change them, create a new credential reference and point the client instance at it.",
|
||||
"capability": "Registered platform capabilities (read-only); try them here."
|
||||
},
|
||||
"headers": {
|
||||
"code": "Code",
|
||||
"name": "Name",
|
||||
@@ -5159,13 +5217,16 @@
|
||||
"environment": "Environment",
|
||||
"status": "Status",
|
||||
"clientInstance": "Client Instance",
|
||||
"interfaceDef": "Interface Definition",
|
||||
"secretRef": "Secret Ref",
|
||||
"secretProvider": "Provider",
|
||||
"interfaceDef": "Interface",
|
||||
"secretRef": "Secret Reference",
|
||||
"secretProvider": "Source",
|
||||
"account": "Account",
|
||||
"capability": "Capability",
|
||||
"write": "Write",
|
||||
"idempotency": "Idempotency",
|
||||
"actions": "Actions"
|
||||
"actions": "Actions",
|
||||
"endpoint": "Endpoint",
|
||||
"testStatus": "Connection Test"
|
||||
},
|
||||
"fields": {
|
||||
"code": "Code",
|
||||
@@ -5173,49 +5234,83 @@
|
||||
"connectorType": "Connector Type",
|
||||
"environment": "Environment",
|
||||
"credentialRef": "Credential Reference Code",
|
||||
"configJson": "Connection config JSON (endpoint/timeout/default org, etc.)",
|
||||
"configJson": "Connection Config JSON (endpoint / timeout / default org, etc.)",
|
||||
"clientInstance": "Client Instance",
|
||||
"requestSpec": "Request template JSON",
|
||||
"inputSchema": "Input schema JSON",
|
||||
"responseMapping": "Response mapping JSON",
|
||||
"outputSchema": "Output schema JSON",
|
||||
"requestSpec": "Request Template JSON",
|
||||
"inputSchema": "Input Schema JSON",
|
||||
"responseMapping": "Response Mapping JSON",
|
||||
"outputSchema": "Output Schema JSON",
|
||||
"status": "Status",
|
||||
"enabled": "Enabled",
|
||||
"enabledHint": "When off, capability calls through this instance are rejected (treated as no binding); connection tests still run.",
|
||||
"enabledFooterHint": "Applied when saved",
|
||||
"credentialEnabledHint": "When off, calls referencing this credential fail immediately (treated as a missing credential); connection tests still run.",
|
||||
"capability": "Capability",
|
||||
"interfaceDef": "Interface Definition",
|
||||
"mappingVersion": "Mapping Version",
|
||||
"priority": "Priority",
|
||||
"effectiveFrom": "Effective From",
|
||||
"effectiveTo": "Effective To",
|
||||
"contextSelector": "Context selector JSON (key-value, e.g. source_code=DBS-AWSBI)",
|
||||
"secretRef": "Secret Ref Key",
|
||||
"secretProvider": "Secret Provider",
|
||||
"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",
|
||||
"endpoint": "Endpoint",
|
||||
"timeout": "Timeout (s)",
|
||||
"wsdl": "WSDL URL",
|
||||
"httpMethod": "HTTP Method",
|
||||
"requestPath": "Request Path",
|
||||
"contextSourceCode": "Source Instance Code"
|
||||
"username": "Username",
|
||||
"password": "Password",
|
||||
"visibleField": "non-secret",
|
||||
"codeHint": "Auto-generated from name when left blank; lowercase letters, digits and hyphens only; immutable after saving.",
|
||||
"codeHintInterface": "Auto-generated as \"client code - name\" when left empty; immutable after saving.",
|
||||
"connectorTypeHint": "Determined by the selected client instance; cannot be changed here.",
|
||||
"statusHint": "New definitions start as draft; update via the list buttons (Publish / Unpublish / Retire / Reopen draft).",
|
||||
"credentialNone": "None (anonymous)",
|
||||
"credentialRefHint": "Reference a centrally managed credential (password stored encrypted); rotate the password by updating the credential only."
|
||||
},
|
||||
"credentialFields": {
|
||||
"username": "Username",
|
||||
"password": "Password",
|
||||
"token": "Token",
|
||||
"api_key": "API Key"
|
||||
},
|
||||
"msg": {
|
||||
"fillClient": "Please fill in code and name",
|
||||
"fillInterface": "Please fill in code and select a client instance",
|
||||
"fillBinding": "Please fill in capability, client instance and interface definition",
|
||||
"fillCredential": "Please fill in code and secret ref",
|
||||
"invalidJson": "{field} JSON is invalid",
|
||||
"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",
|
||||
"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",
|
||||
"credentialPlaceholdersHint": "Template placeholders provided by this credential:",
|
||||
"invalidJson": "{field} is not valid JSON",
|
||||
"unsavedConfirm": "You have unsaved changes. Close anyway?",
|
||||
"saved": "Saved",
|
||||
"deleted": "Deleted",
|
||||
"testOk": "Connection test passed"
|
||||
"testOk": "Connection test passed",
|
||||
"codeInvalid": "Code allows lowercase letters, digits and hyphens only, and must start with a letter or digit",
|
||||
"deleteConfirm": "Delete client instance \"{name}\" ({code})? Interface definitions and bindings referencing it will break.",
|
||||
"toggleFailed": "Failed to toggle enabled state",
|
||||
"testFailed": "Connection failed ({code})",
|
||||
"testing": "Testing…",
|
||||
"statusUpdated": "Status updated",
|
||||
"statusUpdateFailed": "Failed to update status",
|
||||
"retireInterfaceConfirm": "Retiring invalidates all bindings referencing this interface; reopen it as draft to publish again. Retire anyway?",
|
||||
"retireBindingConfirm": "Retiring takes this binding out of automatic calls; reopen it as draft to publish again. Retire anyway?"
|
||||
},
|
||||
"callModal": {
|
||||
"title": "Call capability: {capability}",
|
||||
"hint": "Debug only: manually call a registered capability; params and context are resolved by the current binding.",
|
||||
"hint": "For debugging only: manually call a registered capability; params and context are resolved via current bindings.",
|
||||
"params": "Params JSON",
|
||||
"paramsHint": "Fill per the capability input schema, e.g. invoice_no / from_warehouse / to_warehouse / quantity.",
|
||||
"paramsHint": "Fill in per the capability input schema, e.g. invoice_no / from_warehouse / to_warehouse / quantity.",
|
||||
"context": "Context JSON",
|
||||
"contextHint": "Used for binding selector matching, e.g. source_code=DBS-AWSBI.",
|
||||
"result": "Result",
|
||||
"result": "Call Result",
|
||||
"run": "Call",
|
||||
"running": "Calling…"
|
||||
},
|
||||
@@ -5223,8 +5318,28 @@
|
||||
"endpoint": "https://erp-api.example.com/ws",
|
||||
"wsdl": "https://erp-api.example.com/wsdl",
|
||||
"requestPath": "Path supports placeholders, e.g. /transfer/xxx",
|
||||
"contextSourceCode": "e.g. DBS-AWSBI"
|
||||
"passwordKeep": "Leave blank to keep the current password"
|
||||
},
|
||||
"advancedConfig": "Advanced config (JSON)"
|
||||
"advancedConfig": "Advanced Config (JSON)",
|
||||
"formatJson": "Format",
|
||||
"invalidJsonHint": "Invalid JSON — fix it before saving",
|
||||
"testOkBadge": "Connected",
|
||||
"testFailBadge": "Failed",
|
||||
"testDetailToggle": "Click to expand/collapse details",
|
||||
"advancedHints": {
|
||||
"withKeys": "Config keys currently in effect: {keys}. Other keys are stored as-is but have no effect yet.",
|
||||
"none": "This connector type has no extra config keys in effect; content is stored as-is for future use."
|
||||
},
|
||||
"sections": {
|
||||
"basic": "Basic Info",
|
||||
"connection": "Connection",
|
||||
"advanced": "Advanced",
|
||||
"contract": "Interface contract (JSON)",
|
||||
"credentialValues": "Credential Values"
|
||||
},
|
||||
"connectorTypes": {
|
||||
"rest": "REST API",
|
||||
"soap": "SOAP Service"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2640,6 +2640,7 @@
|
||||
"blockReason": "Reason to address",
|
||||
"manualReason": "Manual reason",
|
||||
"confirmBlocked": "Build eligibility is not satisfied. Resolve inventory or validation issues before confirming.",
|
||||
"autoCreateBlocked": "Manual build is eligible but automatic creation is not; after confirmation, a human will drive it forward.",
|
||||
"autoGateProgressHint": "Auto-create eligibility is met — waiting for the system to start.",
|
||||
"autoGateWaitingHint": "Auto-create eligibility is met — waiting for the system to start.",
|
||||
"autoGateRunningHint": "The system is creating the order and progressing automatically.",
|
||||
@@ -3709,7 +3710,11 @@
|
||||
"notMaturedCount": "Same-day receipt",
|
||||
"blockedCount": "Blocked",
|
||||
"estimatedQuantity": "Est. transfer qty",
|
||||
"estimatedErpWrites": "Est. ERP documents",
|
||||
"estimatedExternalWrites": "Est. ERP documents",
|
||||
"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",
|
||||
"reasonFutureDate": "Receipt date is after the business date",
|
||||
"selectedCount": "{count} selected",
|
||||
"generateTransfer": "Generate transfer order",
|
||||
"colSource": "Source",
|
||||
@@ -3717,9 +3722,18 @@
|
||||
"colName": "Name",
|
||||
"colSpec": "Spec",
|
||||
"colInvoice": "Invoice",
|
||||
"colReceiptDate": "Receipt Date",
|
||||
"colFromWarehouse": "From warehouse",
|
||||
"colFromQty": "From qty",
|
||||
"colFromQty": "Stock qty",
|
||||
"colToWarehouse": "To warehouse",
|
||||
"colFromBatch": "Outbound Batch",
|
||||
"filterPlaceholder": "Filter by material / name / Invoice / batch",
|
||||
"filterAll": "All results",
|
||||
"requerySelected": "Requery selected ERP stock",
|
||||
"receiptDateLabel": "Receipt date",
|
||||
"receiptDateTo": "Receipt date to",
|
||||
"receiptDateHint": "End cannot exceed the D+1 rule (day before business date)",
|
||||
"requeryRow": "Requery",
|
||||
"colToQty": "To qty",
|
||||
"colResult": "Result",
|
||||
"resultExecutable": "Executable",
|
||||
@@ -3761,9 +3775,17 @@
|
||||
"noBacklog": "No backlog exceptions",
|
||||
"sourceSelectTitle": "Select receipt source instances",
|
||||
"sourceSelectHint": "DBS / Crane are platform groups; select the actual source instances to process.",
|
||||
"selectAll": "Select all",
|
||||
"transferTypeLabel": "Transfer type",
|
||||
"transferType": {
|
||||
"in_transit_to_hub": "In-transit to HUB",
|
||||
"hub_repair_out": "HUB repair outbound",
|
||||
"hub_to_hub": "HUB to HUB"
|
||||
},
|
||||
"transferTypeComingSoon": "Coming soon",
|
||||
"precheckParams": "Precheck parameters",
|
||||
"selectAll": "Select all in group",
|
||||
"selectEnabledAll": "Select all enabled",
|
||||
"clearSources": "Clear",
|
||||
"clearSources": "Clear selection",
|
||||
"selectedSourceCount": "Selected {count} source instances",
|
||||
"needSelectSource": "Select at least one enabled source instance",
|
||||
"confirmScopeAndPrecheck": "Confirm scope & precheck",
|
||||
@@ -3784,11 +3806,14 @@
|
||||
"fileReady": "File ready",
|
||||
"fileFetching": "Fetching",
|
||||
"fileFailed": "Fetch failed",
|
||||
"fileExpired": "File expired",
|
||||
"sourceErrorTitle": "Source processing failed",
|
||||
"fileNone": "Pending",
|
||||
"needReadyFile": "A selected source has no receipt file / is fetching / failed. Retry receipt RPA first.",
|
||||
"selectVisible": "Select visible",
|
||||
"selectRetryable": "Select retryable",
|
||||
"batchRetry": "Batch retry RPA",
|
||||
"downloadFiles": "Download receipt files",
|
||||
"selectedRetryableCount": "{count} retryable",
|
||||
"noRetryable": "No selected source needs retry (already ready or fetching)"
|
||||
}
|
||||
|
||||
@@ -355,7 +355,6 @@
|
||||
"SHIPPING_CUSTOMER_CHANGE_REASON_REQUIRED": "A reason is required when changing customer status, short code, or auto-match authorization.",
|
||||
"SHIPPING_CUSTOMER_NAME_REQUIRED": "Standard customer name is required.",
|
||||
"SHIPPING_CUSTOMER_SHORT_CODE_INVALID": "Customer short code must contain 2-6 letters.",
|
||||
"SHIPPING_CUSTOMER_SHORT_CODE_EXISTS": "Customer short code already exists.",
|
||||
"SHIPPING_CUSTOMER_STATUS_INVALID": "Invalid customer status.",
|
||||
"SHIPPING_CUSTOMER_CONFLICT": "Customer data conflict.",
|
||||
"SHIPPING_CUSTOMER_IDENTIFIER_TYPE_INVALID": "Invalid identifier type.",
|
||||
@@ -377,7 +376,6 @@
|
||||
"SHIPPING_CUSTOMER_IMPORT_COLUMNS_MISSING": "Required import columns are missing.",
|
||||
"SHIPPING_CUSTOMER_IMPORT_KEY_REQUIRED": "Legacy customer key is required.",
|
||||
"SHIPPING_CUSTOMER_IMPORT_DUPLICATE_KEY": "Duplicate legacy key in the same source.",
|
||||
"SHIPPING_CUSTOMER_IMPORT_SHORT_CODE_CONFLICT": "Short code conflicts with an existing customer.",
|
||||
"SHIPPING_CUSTOMER_IMPORT_NAME_MATCH": "Customer name may duplicate an existing customer.",
|
||||
"SHIPPING_CUSTOMER_IMPORT_IDENTIFIER_CUSTOMER_MISSING": "No customer mapping was found for this identifier.",
|
||||
"SHIPPING_CUSTOMER_IMPORT_NOT_FOUND": "Import batch not found.",
|
||||
@@ -555,8 +553,8 @@
|
||||
"TRANSFER_SECRET_NOT_EXPOSED": "Sensitive credentials must not be exposed.",
|
||||
"TRANSFER_NOTIFICATION_FAILED": "Notification failed; ERP result is unaffected.",
|
||||
"TRANSFER.ROUTE_NOT_RESOLVED": "Route mapping is not configured for this source.",
|
||||
"TRANSFER.ERP_NOT_FROZEN": "ERP contract is not frozen; call forbidden.",
|
||||
"TRANSFER.ERP_QUERY_TIMEOUT": "ERP query timed out; retry.",
|
||||
"TRANSFER.EXTERNAL_NOT_FROZEN": "External system contract is not frozen; call forbidden.",
|
||||
"TRANSFER.EXTERNAL_QUERY_TIMEOUT": "External system query timed out; retry.",
|
||||
"TRANSFER.PRECHECK_ALREADY_EXECUTED": "This precheck was already executed.",
|
||||
"TRANSFER.SELECTION_INVALID": "Selection contains non-executable invoices.",
|
||||
"TRANSFER.INVALID_STATE_TRANSITION": "Invalid state transition."
|
||||
|
||||
Reference in new issue
Block a user