HubPublic
PackagePublished package

@pasar6987/sf-consumer-goods-promotion

Trade promotion planning and execution including reward structures, hurdle rules, attachment management, and template-driven promotional campaigns.

Published package · Latest published 1.0.1 Mar 4, 2026 · 20 datasets / 40 measures in the latest review · Updated Mar 11, 2026

Release path

1.0.1Published Mar 4, 2026

Publisher

@pasar6987Published Mar 4, 2026

Structure snapshot

20 datasets40 measures · 346 dimensions

Semantic Graph

Relationship counts appear after the graph loads.

Loading graph

Package graph is loading

Package relationships will appear when the summary is ready.

Reference context

Secondary package facts stay compact

Updated
Mar 11, 2026
Visibility
Public hub listing
License
MIT
Created
Mar 4, 2026

Reference facts

Secondary package facts after the usage path is clear

Licensing, categorization, ownership, and linked metadata stay below the runnable path so the page reads in the right order.

Format

OSI

Upstream

developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference

Repository

Not linked

Owner

@pasar6987

Organization

Independent

License

MIT

Visibility

Public hub listing

Publisher

@pasar6987Published Mar 4, 2026

Latest published version

1.0.1Published Mar 4, 2026

Tags

salesforcecrmconsumer-goodspromotion

Schema preview

Schema 0.1.1

SDK handoff

Use this package in code and AI

After structure review, move straight into typed reads with load() or compact LLM context with to_prompt().

Python SDK

Python example for @pasar6987/sf-consumer-goods-promotion

This example uses the current package ref and, when preview data is available, fills in real dataset names from the published summary.

import rawctx

model = rawctx.load("@pasar6987/sf-consumer-goods-promotion")
prompt = rawctx.to_prompt(
    "@pasar6987/sf-consumer-goods-promotion",
    datasets=["Promotion", "PromotionChannel"],
    max_tokens=2000,
)

print(model.datasets)        # ["Promotion", "PromotionChannel", "PromotionProduct"]
print(model.measures)        # [Measure(name="Promotion.MaximumUsageCount", ...), Measure(name="Promotion.PriorityNumber", ...), Measure(name="cgcloud__Promotion_Calculation_Server_Offset__c.cgcloud__Days_After__c", ...)]
print(model.dimensions)      # [Dimension(name="Category", ...), Dimension(name="Description", ...), Dimension(name="EndDate", ...)]
print(model.relationships)   # [Relationship(name='...', ...)]
print(prompt)

README

Package narrative and examples

Use documentation after the package clears provenance, ownership, and runnable-path checks.

@pasar6987/sf-consumer-goods-promotion

Trade promotion planning and execution including reward structures, hurdle rules, attachment management, and template-driven promotional campaigns.

Overview

Count
Objects (Datasets)20
Dimensions346
Measures40
Relationships0

Objects

  • Promotion — Represents a promotion for B2B or D2C stores.
  • PromotionChannel — Associate a promotion with a store, store group, or an account.
  • PromotionProduct — Associate a promotion with a product.
  • PromotionProductCategory — Associate a promotional activity with a product category.
  • cgcloud__Promotion_Attachment_Link__c — Relationship between promotion and promotion attachment.
  • cgcloud__Promotion_Attachment__c — You can add pictures as attachments to a promotion.
  • cgcloud__Promotion_Calculation_Server_Offset__c — Stores the time range during which the server (Offplatform) calculates a Promotion.
  • cgcloud__Promotion_Hurdle_Expression__c — New object that stores the information about an expression.
  • cgcloud__Promotion_Hurdle__c — This object stores the restriction that must be satisfied to apply the rewards.
  • cgcloud__Promotion_Product_Share__c — This object holds the details of categories that are assigned to a promotion.
  • cgcloud__Promotion_Push_Status__c — Contains for each push process an entry that contains the status and statistics for the push.
  • cgcloud__Promotion_Reward_Group__c — This object holds the details of the reward group that's assigned to a promotion.
  • cgcloud__Promotion_Reward_Product__c — This object stores the details of the product that's assigned to a promotion reward.
  • cgcloud__Promotion_Reward__c — This object stores the details of rewards that are assigned to a reward group.
  • cgcloud__Promotion_Sales_Folder__c — Junction object between Promotion and Sales folder.
  • cgcloud__Promotion_Store__c — This object holds the relation for the customer promotion hierarchy.
  • cgcloud__Promotion_Template_Hierarchy__c — Object that helps create promotion hierarchies.
  • cgcloud__Promotion_Template_Tactic_Template__c — Junction Object between Promotion Templates and Tactic Templates.
  • cgcloud__Promotion_Template__c — Template to create promotions.
  • cgcloud__Promotion__c — Promotion is an activity of a user that includes the definition of prices for a time segment.

Install

rawctx snapshot-download @pasar6987/sf-consumer-goods-promotion

Structure review

Inspect package structure after the usage path is clear

Use the structural review when you need the package footprint, field counts, and model paths before a deeper explorer pass.

Models1
datasets20
measures40
dimensions346
relationships0
AI context1
models/sf-consumer-goods-promotion.osi.yamlAI context included
20 datasets40 measures346 dimensions0 relationships