Logo Import Trading Community Data

Import Trading Community Data

Tổ chức
oracle
Import Trading Community Data

Nhập nguyên trạng các tệp CSV Trading Community do người dùng cung cấp thông qua Oracle CX Import Management, không xác thực cột hoặc dữ liệu hàng. Cũng tạo hoặc xác thực CSV khi được yêu cầu rõ ràng. CSV được cung cấp có thể chứa số lượng và tên cột bất kỳ, kể cả các cột không có trong tệp mẫu đi kèm.

Add to TypingMind

Tổng quan

Nhà phát hànhoracle
Kho mãFusion-Setup-Configuration-Registry
Tên kỹ năngImport Trading Community Data
Sao
112
Bản fork
26
Tệp đi kèm
43
Giấy phépUPL-1.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 43 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được oracle công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Import Trading Community Data trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/oracle/Fusion-Setup-Configuration-Registry/tree/main/pillars/cx/customer-data-management/trading-community-foundation/import-trading-community-data
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/oracle/Fusion-Setup-Configuration-Registry.git /tmp/Fusion-Setup-Configuration-Registry
mkdir -p .claude/skills
cp -r /tmp/Fusion-Setup-Configuration-Registry/pillars/cx/customer-data-management/trading-community-foundation/import-trading-community-data .claude/skills/oracle-import-trading-community-data
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Import Trading Community Data trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Import Trading Community Data ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Import Trading Community Data với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Import Trading Community Data

Purpose

Prepare and execute one governed CX Import Management activity for one exact Trading Community object. Support CSV generation and validation, immutable preview, approved submission, bounded monitoring, diagnosis, and post-import verification. Asset, Asset Contact, and the UI-labeled Asset Team Member object are supported; their exact target codes are Assets, AssetContact, and AssetResource.

Required reading

  1. Read references/object-profiles.json only to resolve the exact Import Management object code and post-import verification strategy.
  2. Read all six ora-resource files and compile/use ora_rule_registry.json through Task Hook.
  3. Read core/data-loader/SKILL.md; it owns source transport review, the canonical immutable digest, Task Hook validation, and approval authorization before any import adapter runs.
  4. Read core/fusion-api/rest-api-client/SKILL.md and its routed Fusion REST reference before resolving live object metadata or verifying records.
  5. Read core/fusion-api/cx-import-export-management/SKILL.md and its required reference before mode-aware execution or monitoring.
  6. Only when the user asks to generate a CSV or explicitly validate its data, also read references/column-contracts.json, references/field-contracts.json, and the matching template under assets/templates/.

Selection gates

  • For every supplied or generated CSV, select exactly one Import Management object code and one exact job-level ImportMode without inspecting supplied data rows. ImportMode is routing metadata, not a CSV field-validation result. Do not infer it from the supplied filename, columns, or values.
  • The remaining selection gates apply only to generation or an explicit data-validation request. Never infer Account from Organization, or Contact from Person; ask the user to choose because their generated import contracts are functionally different.
  • Select exactly one allowed parent for a child object. Household is a parent identity only and is not a top-level object supported by this skill.
  • Reject missing, ambiguous, or unsupported operations. Treat update, create-or-update, or create and update as CREATE_RECORD, create as CREATE_ONLY, and literal delete as DELETE_RECORD. Bind the exact code into the immutable preview and the live Import Management activity.
  • Enforce fixed-high for Classification Code, Hierarchy, and Hierarchy Member. Enforce fixed-low for Resolution Link and Resolution Link Member. Other profiles may use low or high volume; use the profile default unless the user chooses otherwise.
  • Hierarchy and Hierarchy Member generation or explicit data validation support create, update, and delete. Their update route uses CREATE_RECORD; their delete route uses DELETE_RECORD, identifier-only rows, exact-target checks, destructive approval, and optional post-generation absence reconciliation. For an unchanged supplied CSV, do not apply those row-level checks: require exact-object ImportSupport=Y, bind DELETE_RECORD in the approved preview, and let Fusion Import Management accept or reject the rows.
  • Additional Identifier generation/validation supports create, update, and delete. Delete uses the exact PartyIdentifierId as its only CSV field and routes the activity as DELETE_RECORD. Require one exact parent-scoped pre-delete match, destructive approval, and zero exact post-import matches.
  • Treat Resolution Link LinkStatus=I and Resolution Link Member MemberStatus=I as semantic destructive actions performed with CREATE_RECORD. Treat Source System Reference DELETE_RECORD as semantic inactivation rather than physical removal.
  • Treat Asset DeleteFlag=Y as semantic soft deletion performed with CREATE_RECORD; it requires destructive approval independently of literal DELETE_RECORD.
  • For Asset Contact and Asset Team Member, require the explicit Asset parent. Submit the exact target codes Assets for Asset and AssetResource for Asset Team Member; do not derive either code from its display name.

Prepare and validate CSV

Supplied CSV pass-through import

When the user supplies a CSV and asks to import it, treat every data CSV as an opaque payload. Do not invoke prepare_tca_import_csv.py; do not parse, inspect, normalize, validate, repair, or rewrite its header or row data. Do not compare its columns with bundled samples, downloaded templates, column contracts, field contracts, or live attributes. Accept any column count, names, order, and data, including more columns than a sample, fewer columns, or no overlap with a sample. Preserve the exact bytes through approval and upload.

For this pass-through branch, check only transport and routing facts: the path exists, the file is a nonempty .csv, group basenames are unique case-insensitively, at most one file is an authoritative CX mapping CSV, at least one file is a data CSV, and an exact Import Management object code can be resolved. Also require the exact job-level ImportMode from explicit user intent or an already reviewed workflow artifact. If the object code is not explicit and no mapping CSV supplies it, ask for the CX Business Object code. If the mode is missing or ambiguous, ask whether the job is CREATE_ONLY, CREATE_RECORD, or DELETE_RECORD. These are routing inputs, not CSV data validation. Do not ask for a validation waiver. Fusion Import Management is the authority that accepts or rejects the supplied data after submission.

Generation or explicit data validation

Only when the user asks this skill to generate a CSV or explicitly asks to validate its data, use scripts/prepare_tca_import_csv.py; do not hand-build the generated file. The following contracts and examples apply only to that branch and must never block import of a supplied CSV.

The stored contracts deliberately distinguish three concepts:

  • required_for_create_by_skill is the minimum requirement enforced for a create operation, supplemented by conditional object rules.
  • identity_set_membership shows alternative keys used by create-or-update or delete; one complete supported set is required.
  • metadata_required is Oracle REST/import metadata and is descriptive. Do not blindly require every such field because Fusion can generate some fields or satisfy identity requirements through alternatives.

List the supported profile matrix:

bash
python3 pillars/cx/customer-data-management/trading-community-foundation/import-trading-community-data/scripts/prepare_tca_import_csv.py profiles

Inspect all fields, types, lengths, and requiredness for one object:

bash
python3 pillars/cx/customer-data-management/trading-community-foundation/import-trading-community-data/scripts/prepare_tca_import_csv.py fields \
  --object "Contact"

Inspect only the skill-required create fields or one exact column:

bash
python3 pillars/cx/customer-data-management/trading-community-foundation/import-trading-community-data/scripts/prepare_tca_import_csv.py fields \
  --object "Hierarchy" --required-only

python3 pillars/cx/customer-data-management/trading-community-foundation/import-trading-community-data/scripts/prepare_tca_import_csv.py fields \
  --object "Account" --column PartyNumber

Generate a minimal child-object template:

bash
python3 pillars/cx/customer-data-management/trading-community-foundation/import-trading-community-data/scripts/prepare_tca_import_csv.py template \
  --object "Address" --parent-object Organization --operation create-or-update \
  --volume high --output /secure/work/address.csv

Prepare a validated file from synthetic-shaped JSON records:

bash
python3 pillars/cx/customer-data-management/trading-community-foundation/import-trading-community-data/scripts/prepare_tca_import_csv.py prepare \
  --object Organization --operation create --records-json /secure/input/organizations.json \
  --output /secure/work/organization.csv --report /secure/work/organization.report.json

Use --full only when every downloaded-template column is needed. For prepare, include optional exact-header fields in the source records; for template, use --column ExactHeader. The redacted report contains no row values; it records object, parent, operation, derived import flags, file metadata, headers, SHA-256, destructive status, verification strategy, and warnings.

For LinkedParty, resolve the exact target-active LinkType codes before preparing or validating rows and pass them through --target-values-json. The file must remain outside project/ and use this redacted contract:

json
{
  "objectCode": "LinkedParty",
  "source": "fusion-runtime",
  "fields": {"LinkType": ["target-active-code"]}
}

Do not translate a business label into a code from memory or preserve a previously observed environment's value as a universal default. The validator rejects a LinkedParty file when runtime LinkType evidence is absent or the row value is not in the supplied target-active set. Its report records only the validated field names, not the allowed-value payload.

Preflight

For a supplied CSV pass-through import, preflight only the exact environment, OAuth session and upload privileges, explicit object and ImportMode routing, current UCM account, authoritative ImportSupport=Y, immutable ordered CSV-group SHA-256, mode-aware adapter readiness, and approval freshness. Do not inspect or validate headers, fields, row values, lookups, identities, parents, duplicate risk, or volume. Selecting the job-level mode does not authorize inspection of the supplied CSV. In particular, never require, inspect, or request a waiver for PartyUsageCode. A field that is absent from the CSV is not a local blocker. Present that the data content was not inspected and will be evaluated by Fusion.

For an explicit supplied Hierarchy or HierarchyNode delete, do not inspect the CSV for PartyId, PartyNumber, parent identity, AsOfDate, identifier-only rows, or a pre-delete match. The exact object, DELETE_RECORD mode, immutable file group, environment, UCM account, activity, and destructive approval define the authorized scope. Fusion Import Management evaluates the row data.

For generated CSVs or an explicit data-validation request, apply the remaining object-specific checks in this section before execution.

If the user reports that their login, roles, or privileges changed, force one fresh OAuth login before interpreting a successful-but-empty Import Management object lookup. Retry only that read-only lookup once. Treat a still-empty result as a catalog or authorization blocker; do not substitute a neighboring object code. Access to CRM object metadata or the Import Management object picker does not prove authorization to upload through ERP Integration Service to the resolved UCM account.

For LinkedParty create, verify the main party has SALES_PROSPECT or SALES_ACCOUNT usage and the related party has the distinct financial CUSTOMER usage. Resolve LinkType from the exact target and validate it through --target-values-json; a user-facing label is not submission evidence. Do not treat Account type ZCA_CUSTOMER or usage SALES_ACCOUNT as evidence of financial CUSTOMER usage. If the financial usage is absent, stop and route creation of the financial customer account through its owning workflow before preparing or submitting the link.

For Account create/update, pass active lookup codes such as ZCA_PROSPECT and ZCA_CUSTOMER, never display meanings such as PROSPECT or CUSTOMER. Permit an existing Account identified by PartyNumber or source-system keys to change type without repeating an unchanged address. If any address field is being changed, require the complete address bundle. Explain that ZCA_CUSTOMER results in sales SALES_ACCOUNT usage and does not establish financial CUSTOMER usage.

For Source System Reference create/update, omit Status; the target import contract rejected a populated Status even though the downloaded template exposed the column. Use the selected profile's DELETE_RECORD path for semantic inactivation. Before retrying any source-system reference create, query the exact party, source system, and reference value because an earlier submission may already have succeeded.

For Asset create, require AssetNumber plus an existing asset-owner identity: CustomerId, CustomerPartyNumber, or AccountSourceSystem with AccountSourceSystemReference. Also require either ProdGroupId or the complete InventoryItemId plus InventoryOrgId pair; resolve the chosen product identity from the exact target. Validate all supplied source-system pairs together. For Asset Contact create, require AssetId or AssetNumber plus a contact identified by ContactPartyId, ContactPartyNumber, or the complete contact source-system pair. For Asset Team Member create, require AssetId or AssetNumber plus ResourceId or ResourcePartyNumber. Resolve asset, contact, resource, product, product-group, business-unit, currency, UOM, status, and function codes against the exact target when supplied.

Core-service boundary

Keep Trading Community object selection, optional CSV generation/validation, metadata interpretation, approval orchestration, verification rules, and result redaction in this skill. Supplied data CSVs cross this boundary unchanged and receive no pillar data validation. Use core.fusion-api.rest-api-client for authenticated read-only metadata and verification calls. Use core.data-loader for mandatory source review, canonical digest, Task Hook validation, and approval authorization. After those gates pass, use core.fusion-api.cx-import-export-management as the mode-aware execution and monitoring adapter; it must create the activity with the exact approved ImportMode.

This skill uses core.data-loader as the governing preview and approval workflow, not as the generic live initiateDataLoad adapter. Trading Community templates and field catalogs remain local and are consulted only for generation or an explicit data-validation request.

Core Data Loader resolves the CX UCM account from the exact target object's live metadata. Retain scripts/resolve_tca_ucm_account.py only for read-only reconciliation or diagnostics that must compare slash and dollar forms. Store raw service responses only in a secure temporary location and never display or persist encoded document content.

Preview and execution workflow

  1. Resolve the exact environment, Import Management object code, exact ImportMode, supplied CSV group, import activity name, and privileges. Do not parse supplied data CSVs to infer these values. Refuse a missing or ambiguous mode.

  2. For supplied CSVs, freeze the exact bytes without data inspection or transformation. For generation or explicit validation, run the applicable helper and then freeze the result. Any byte, source order, mapping, object, mode, or environment change invalidates approval.

  3. Resolve current object metadata and UcmAccount with the core REST client from GET /crmRestApi/resources/11.13.18.05/objectMetadata/{ObjectCode}?fields=UcmAccount&onlyData=true. Separately confirm the same exact code through the importExportObjectMetadata objectRowFinder and require ImportSupport=Y; do not substitute a neighboring code when it is absent. Normalize the metadata UCM account's slash form to UCM $ form with the skill-local resolver. Do not ask the user to supply or override it.

  4. Skip data-dependent lookup, parent, mapping, and volume checks for supplied CSVs. Select and validate only the job-level ImportMode; do not inspect CSV data to infer or confirm it. Apply object dependencies only when generating data or when the user explicitly requests data validation. Do not add a hierarchy member target-resolution exception for supplied CSV deletes. For a new Resolution Link campaign, create and verify DedupLink first, capture its generated LinkNumber, then prepare a separately approved LinkMember activity. Require exactly one master across the new link's requested members. Use Y/N in the import CSV and verify the REST MasterFlag as boolean true/false.

  5. Enter core.data-loader and run upload_and_initiate.py <csv> --cx-import --cx-import-object-code <ObjectCode> --preflight-envelope-output <secure-temp>/preflight.json, omitting --task-routed, --approve-upload, and --task-validation-envelope. Core owns source transport review and may persist its reviewed ZIP outside project/. Its archiveSha256 identifies that ZIP, not the ordered CSV group. Preserve source basenames and bytes; do not upload this ZIP or use its digest as the CX execution digest. Mapping CSVs remain unsupported by the protected adapter: record the gap and stop before approval.

  6. Run the Core CX adapter's prepare-import with the exact ordered local CSVs and settings shown below, saving its review output outside project/. Reconcile the two Core review artifacts with the skill-local helper:

    bash
    python3 pillars/cx/customer-data-management/trading-community-foundation/import-trading-community-data/scripts/reconcile_tca_import_preview.py \
      --preflight <secure-temp>/preflight.json \
      --adapter-preview <secure-temp>/adapter-preview.json \
      --object-code <ObjectCode> --import-mode <CREATE_ONLY|CREATE_RECORD|DELETE_RECORD>

    The helper checks the Data Loader envelope and ZIP digest, exact ordered filenames and file bytes against the protected adapter manifest, and target, object, mode, and UCM account. It never parses data CSV headers or rows, extracts a ZIP, computes a replacement group digest, or grants approval. Treat a failed reconciliation as an approval_blocker; rerun the applicable Core previews after correcting the mismatch. Different ZIP and group digests are expected because they identify different representations. After reconciliation, use only the adapter-returned manifest.groupSha256 in Task Hook's compatibility finalData.archiveSha256 field. Retain the Data Loader ZIP digest separately as finalData.dataLoaderArchiveSha256. finalData must also bind the exact environment, object code, ImportMode, import activity name, ordered filenames, UCM account, activation, schedule, and core.fusion-api.cx-import-export-management execution adapter. Include the protected manifest, approvalId, and reviewSha256 in the review. Present the ordered filenames, group digest, target, object, mode, and activity. For supplied CSVs, state that data content was not inspected. Never invoke the physical-archive verifier for the CSV group, independently reconstruct its digest, or submit through generic initiateDataLoad. Stop once for exact-artifact execution approval, showing destructive effects for DELETE_RECORD or semantic inactivation/removal. This approval authorizes both the matching Task Validation envelope and the protected Core adapter approval; do not ask again for the same execution.

  7. Record that explicit approval using cx_import_export_job.py approve-import --approval-id <id> --review-sha256 <reviewed-digest>. The authority is the owner-private store outside the project, not mutable finalData, a self-hash, or an editable Task Validation envelope. Approvals expire after 15 minutes by default and cannot be reused or renewed.

  8. Invoke the supported Core CX adapter; do not call or wrap its Python implementation. Use the exact approved ordered data CSVs, object, mode, activity name, UCM account, activation, and schedule; --import-mode is required. Never call the generic Core Data Loader initiateDataLoad route because it does not bind the Import Management ImportMode. Bare create-import --execute and upload-ucm --execute are disabled. Core owns OAuth, UCM transport, diagnostics, and returned IDs.

    bash
    python3 core/fusion-api/cx-import-export-management/scripts/cx_import_export_job.py execute-approved-import \
      --approval-id <approved-id> \
      --name <approved-activity-name> \
      --object-code <ObjectCode> \
      --import-mode <CREATE_ONLY|CREATE_RECORD|DELETE_RECORD> \
      --upload-file <approved.csv> \
      --ucm-document-account '<resolved-account>' \
      --activate YES \
      --schedule ONE_TIME_IMMEDIATE \
      --token-cache auto

    Use prepare-import with these same arguments (without --approval-id) for the step-6 preview. Repeat --upload-file in the approved order for multiple data CSVs. Mapping CSVs remain unsupported: record the workflow gap and stop, without substituting another upload route. Execution opens each source once, compares bytes/order/settings against the protected approval, consumes that approval atomically, confirms the current fixed environment and exact object account, and uploads only the verified in-memory bytes. Any byte, membership, order, object, mode, activity name, environment, UCM account, activation, or schedule change invalidates approval. Capture the redacted receipt in the project workspace. A failed attempt spends the approval; reconcile partial uploads and activity status before seeking new authorization, and never replay an uncertain write.

  9. Capture the returned UCM document name and ImportActivityId, then stop after accepted activity creation/activation. Return a compact import receipt with activity ID and name, exact object and mode, activation, schedule, filename, UCM document name, and current data-file status. Persist that receipt under the project workspace so the user can say check status later without repeating an ID. Never display the adapter's raw upload response, encoded source content, UCM search metadata, or null-filled REST payload.

    When the user subsequently requests status, resolve the latest applicable activity ID from project state when the request omits it. Run the CX adapter's get-import --import-activity-id route and require its parent activity response to report the same exact ObjectCode and ImportMode. Then run scripts/get_tca_import_status.py with the approved object code and ImportMode. This task-local helper uses the existing core REST client to fetch both the parent activity and its child/DataFiles collection. The parent must report the same exact ObjectCode and ImportMode; a missing or mismatched value is not successful evidence of the requested operation.

  10. For a supplied CSV, report Fusion's activity mode, status, and counts without parsing the CSV to discover verification keys. Report the child data-file Status, ReadFromFile, LoadedSuccessfully, ErrorsReported, Warnings, and Unprocessed values, plus start/end timestamps. Include available error, exception, and success report content IDs for terminal outcomes. Never infer status from a parent-only response that omits these fields. When errors are nonzero and ErrorReportContentId is available, immediately run scripts/get_tca_import_report.py --content-id <ErrorReportContentId> and include every distinct Fusion business diagnostic in the same status response. The report helper returns only error type, message, and diagnostic comment; it does not expose or persist source rows. ImportMode=DELETE_RECORD plus a successful activity proves that Fusion processed the job in delete mode; it does not by itself prove that a specific target record is absent. Perform record-level verification only when the user supplied the needed identities separately. For generated or explicitly validated records, verify by the profile strategy and exact identities. Do not equate a loaded count, generic Data Loader success, or UI-search visibility with target verification, and do not resubmit without exact reconciliation.

  11. Build the request-instance ledger only when request identities were supplied independently or the skill generated the records. Never inspect an opaque supplied CSV to manufacture that manifest. Every manifest entry must end as completed_and_verified, failed_no_record_created, deferred, not_submitted, or unknown_requires_reconciliation.

Build and validate the ledger from redacted request and outcome files:

json
{
  "environment": "nonproduction-environment-alias",
  "requests": [
    {
      "request_id": "address-account-1",
      "object_code": "Address",
      "intended_mutation": "created",
      "parent_ref": "account-request-1",
      "source_reference_supplied": true,
      "expected_match_count": 1
    }
  ]
}

Each outcome uses the same request_id and exact object_code. A completed_and_verified outcome supplies mutation, import_activity_id, ucm_content_id, process_counts, and verification with exact_match_count, target_record_ids, state, plus parent_identity or source_reference when the request requires them. Non-completed outcomes require a reason. The utility rejects duplicate outcomes and outcomes for unknown or semantically different requests; a request with no outcome becomes unknown_requires_reconciliation.

bash
python3 pillars/cx/customer-data-management/trading-community-foundation/import-trading-community-data/scripts/build_tca_verification_ledger.py \
  --request-manifest /secure/work/requests.json \
  --outcome /secure/work/outcomes.json \
  --output /secure/work/verification-ledger.json

The ledger distinguishes created, updated, deleted, inactivated, and none. Never count an update as a create or a physical deletion as an inactivation. Never use a Relationship or Account Contact outcome to satisfy a Linked Party request, and never use an Account-to-Contact association to satisfy an Account-to-Account link. Account/Organization and Contact/Person remain distinct functional objects. Account type ZCA_CUSTOMER or usage SALES_ACCOUNT remains distinct from financial CUSTOMER usage.

Verification branches

  • sales-account: confirm exact party identity plus active sales profile, PromotedFlag, owner, and address state.
  • sales-contact: confirm exact party identity, sales-contact state, and intended Account/Household association.
  • party-usage: confirm exact party identity and intended Organization/Person usage without treating it as Account/Contact.
  • child-with-parent or relationship: confirm the child/relationship and its exact parent, subject, and object identities.
  • For an Additional Identifier delete, query the selected party's AdditionalIdentifier child by the approved PartyIdentifierId and require zero exact matches. A completed activity or loaded row is not deletion proof.
  • asset: confirm the exact AssetId/AssetNumber, owner identity, product or product-group identity when supplied, status, and DeleteFlag state.
  • asset-child: confirm the exact Asset parent plus the Asset Contact or Asset Team Member record ID, referenced contact/resource identity, function, and primary/owner flag.
  • hierarchy-post-process: when separately requested and the necessary identities are supplied, run and verify Party Hierarchy Generation after a successful Hierarchy or Hierarchy Member import, then reconcile tree/version/member state. For delete, zero exact target matches provide record-level absence evidence; loaded-row counts alone do not.
  • Treat Party Hierarchy Generation as a separate ESS mutation routed through core.fusion-api.ess-job-submitter. Resolve and preview the exact job definition and parameters after the hierarchy import succeeds, and obtain a fresh approval; approval of the CSV import does not authorize an as-yet-unresolved ESS request.
  • resolution-link and resolution-link-member: confirm link status, membership, and master/member semantics, including inactive status after a semantic removal. Verify Link Members through REST-supported fields LinkNumber, PartyId, PartyNumber, MasterFlag, and MemberStatus; DedupLinkMemberId is an import/update identity and must not be requested from the Link Member REST collection.
  • exact-identity: query the exact imported identifier and verify the intended field state.

Apply the exact locator and identity requirements in references/object-profiles.json for every branch. A terminal import activity with loaded rows is process evidence only. Completion requires the exact expected target match count, generated target identifier evidence, and the intended created, updated, or inactivated state. If exact target reconciliation is ambiguous, use unknown_requires_reconciliation; do not claim completion or submit another mutation.

For LinkedParty, resolve the parent from hubOrganizations by PartyNumber and use that returned item key in /hubOrganizations/{PartyNumber}/child/LinkedParty. Do not substitute the numeric PartyId in that item-key position. Verify the related party, target-resolved LinkType, MainLink, status, and active dates before changing the ledger entry to completed_and_verified.

Diagnostics and persistence

Classify failures as input_validation, catalog_or_metadata_mismatch, auth_expired_or_invalid, authorization_or_privilege, transport_or_environment, fusion_api_error, process_timeout, process_failed, artifact_persistence, or approval_blocker. Treat an uncertain Core adapter result as an approval blocker, not as permission to replay a write. On timeout, report environment, object, activity ID, last status, and elapsed wait; use the Core adapter's read-only status route rather than resubmitting.

Keep source rows, generated CSVs, downloaded reports containing row data, credentials, and tokens outside project/. When a project exists, persist only redacted validation reports, immutable-preview metadata, run status, external IDs, diagnostics, verification evidence, and token usage at the declared workspace paths.

Maintain the field catalog

When Oracle changes the Import Management templates, download all 25 supported object ZIPs from the exact target-family environment and regenerate the local assets and contracts with scripts/build_tca_field_contracts.py. Supply the current CRM REST describe plus current Account and Contact object-metadata attribute payloads. For objects whose REST describe doesn't cover every import field, supply UI metadata captured from Import Objects with --ui-metadata-dir. Use repeatable --object arguments for a scoped incremental refresh. The generator validates every ZIP, preserves each Oracle two-row CSV under assets/templates/, records SHA-256 values, and fails if any template column has no authoritative data type. Review generated diffs and rerun all skill tests before handoff.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Import Trading Community Data làm được gì?

Nhập nguyên trạng các tệp CSV Trading Community do người dùng cung cấp thông qua Oracle CX Import Management, không xác thực cột hoặc dữ liệu hàng. Cũng tạo hoặc xác thực CSV khi được yêu cầu rõ ràng. CSV được cung cấp có thể chứa số lượng và tên cột bất kỳ, kể cả các cột không có trong tệp mẫu đi kèm.

Vì sao nên dùng Import Trading Community Data trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Import Trading Community Data là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Import Trading Community Data trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/oracle/Fusion-Setup-Configuration-Registry/tree/main/pillars/cx/customer-data-management/trading-community-foundation/import-trading-community-data. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Import Trading Community Data?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Import Trading Community Data với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Import Trading Community Data với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Import Trading Community Data có miễn phí không?

Có. Kỹ năng này được oracle phát hành trên GitHub theo giấy phép UPL-1.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇