mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-07-30 03:09:50 +08:00
59 lines
2.5 KiB
Markdown
59 lines
2.5 KiB
Markdown
|
|
# Build Transcript: Business Internet Plus Bundle
|
||
|
|
|
||
|
|
## Request
|
||
|
|
|
||
|
|
Create a Product2 offer bundle named **Business Internet Plus** with ProductCode **BIZ-INT-PLUS-01**, include **3 child products**, and generate the complete companion DataPack JSON set from template structures.
|
||
|
|
|
||
|
|
## Skill Used
|
||
|
|
|
||
|
|
- `omnistudio-epc-catalog-generate`
|
||
|
|
- Trigger reason: EPC Product2 offer-bundle modeling, attribute assignments, Product Child Items, and full companion DataPack artifact generation.
|
||
|
|
|
||
|
|
## Planning Process (Executed)
|
||
|
|
|
||
|
|
1. Loaded the EPC skill instructions and guardrails.
|
||
|
|
2. Reviewed all template artifacts in `assets/`:
|
||
|
|
- `product2-offer-template.json`
|
||
|
|
- `attribute-assignment-template.json`
|
||
|
|
- `product-child-item-template.json`
|
||
|
|
- `pricebook-entries-template.json`
|
||
|
|
- `price-list-entries-template.json`
|
||
|
|
- `object-field-attributes-template.json`
|
||
|
|
- `orchestration-scenarios-template.json`
|
||
|
|
- `decomposition-relationships-template.json`
|
||
|
|
- `compiled-attribute-overrides-template.json`
|
||
|
|
- `override-definitions-template.json`
|
||
|
|
- `parent-keys-template.json`
|
||
|
|
3. Chose a new example folder:
|
||
|
|
- `examples/business-internet-plus-bundle`
|
||
|
|
4. Built a coherent keying strategy:
|
||
|
|
- Parent Product2 GlobalKey: `9f1d3c4a-8e5b-4d71-9a2d-f6b719a90101`
|
||
|
|
- Stable VlocityRecordSourceKey references in all companion files.
|
||
|
|
5. Created bundle composition:
|
||
|
|
- Required root PCI row.
|
||
|
|
- Exactly 3 child products:
|
||
|
|
- Managed Router
|
||
|
|
- Internet Security Suite
|
||
|
|
- Static IP Add-On
|
||
|
|
6. Generated complete companion metadata set and aligned references to parent Product2/global keys.
|
||
|
|
7. Kept `%vlocity_namespace%` placeholders intact for namespace portability.
|
||
|
|
|
||
|
|
## Files Generated
|
||
|
|
|
||
|
|
- `Business-Internet-Plus_DataPack.json`
|
||
|
|
- `Business-Internet-Plus_AttributeAssignments.json`
|
||
|
|
- `Business-Internet-Plus_ProductChildItems.json`
|
||
|
|
- `Business-Internet-Plus_PricebookEntries.json`
|
||
|
|
- `Business-Internet-Plus_PriceListEntries.json`
|
||
|
|
- `Business-Internet-Plus_ObjectFieldAttributes.json`
|
||
|
|
- `Business-Internet-Plus_OrchestrationScenarios.json`
|
||
|
|
- `Business-Internet-Plus_DecompositionRelationships.json`
|
||
|
|
- `Business-Internet-Plus_CompiledAttributeOverrides.json`
|
||
|
|
- `Business-Internet-Plus_OverrideDefinitions.json`
|
||
|
|
- `Business-Internet-Plus_ParentKeys.json`
|
||
|
|
|
||
|
|
## Notes
|
||
|
|
|
||
|
|
- Override companion files are intentionally present as empty arrays in this baseline example (no override behavior modeled yet).
|
||
|
|
- This payload is structured as a template-aligned sample; external dependencies (child product records, picklists, object classes, orchestration plan definitions) must exist in target orgs for deployment success.
|