codeunitIntegration & APIsofficial - Microsoftderived - from the source, no model text

Codeunit 30473 "Shpfy TMA Events" (CA)

CA country layer · Microsoft.Integration.Shopify

Across versions

  1. BC23-28not present
  2. BC29-30present

CA country layer · Microsoft.Integration.Shopify · BC29-30 · source at ea08af5e · facts from BC29

An object of the CA localization, not part of W1.

Properties

Property Value
Access Internal

Event subscriptions

  • OnAfterMapShopifyOrder subscribes to Codeunit “Shpfy Order Events” OnAfterMapShopifyOrder
  • OnBeforeCreateSalesHeaderSubscriber subscribes to Codeunit “Shpfy Order Events” OnBeforeCreateSalesHeader
  • OnAfterCreateSalesHeaderSubscriber subscribes to Codeunit “Shpfy Order Events” OnAfterCreateSalesHeader

Procedures

  • ShouldAttemptMatch(ShopifyOrderHeader: Record "Shpfy Order Header"; Shop: Record "Shpfy Shop"): Boolean (internal): Business guards deciding whether Shopify Tax Matching should run for an order: the shop must have the feature enabled, ship to the US or Canada, not already have a Tax Area (idempotency — e.g. address-based MapTaxArea already resolved one, or this is a re-import), and not be tax exempt. Capability-r…
  • IsSalesDocumentCreationHeld(ShopifyOrderHeader: Record "Shpfy Order Header"; Shop: Record "Shpfy Shop"): Boolean (internal): Decides whether Sales Document creation must be held for a agent-matched order. Held when the order was matched, is not yet approved, and either the shop’s review mode requires it (see IsHeldForReviewPreference), the order carries a rate conflict, or the match is incomplete (one or more tax lines un…
  • IsHeldForReviewPreference(ShopifyOrderHeader: Record "Shpfy Order Header"; Shop: Record "Shpfy Shop"): Boolean (internal): Evaluates only the shop’s review-mode preference for an order (independent of the hard rate-conflict / incomplete gates and of the Applied/Reviewed markers). Always holds; Never does not; Low Confidence Only holds when the order carries at least one non-high-confidence match (Tax Match Low Confidenc…
  • HandleSalesHeaderCreated(OrderHeader: Record "Shpfy Order Header"; var SalesHeader: Record "Sales Header") (internal): Propagates the Tax Match Applied marker from the originating Shopify Order Header onto the BC Sales Header. Exposed as internal so tests can drive the propagation without going through the connector’s CreateHeaderFromShopifyOrder path. The Sales Order review prompt is derived live from this marker p…

Recent changes

Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Shpfy TMA Events"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.

A CA country object, not part of W1: the default corpus does not have it; bcatlas_list_countries shows which countries the atlas has.

Evidence 1 sources