HelperStable

Get merchant company

Exposes the company representing the current merchant's legal entity without asking the designer to map or store its identifier.

Merchant context
Get merchant company
Execution context
Merchant company

Vue d’ensemble

get_merchant_company turns execution merchant context into a company object. The process therefore does not need to expose a merchant_id or know the ID of the company representing itself.

Exemple

A purchasing process needs to populate the buying company in an operation or compare its own identity with a supplier's: use the current merchant company directly.

Parameters 0

This node exposes no configurable parameter.

Outputs 1

companyCompany
platform.company object representing the current merchant's company, identified as the merchant company within this scope.

Behavior

Read the current scope

Ormuz retrieves the merchant associated with execution; no merchant parameter is configurable on the node.

Resolve the company

The platform loads the company representing the merchant's company and verifies that it is indeed its own company.

Expose the company

The company output can be used like any other platform.company object in subsequent bindings.

Limits and responsibilities

  • The node requires execution associated with a merchant; it cannot invent this context.
  • It returns the current merchant's company, not a dynamically selected company.
  • The node neither creates nor modifies the company representing the merchant.