Help us shape the future of Go! Take the 2026 Go Developer Survey

objectHierarchyRelationship

package
v0.68.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const NAME = "ObjectHierarchyRelationship"

Variables

This section is empty.

Functions

This section is empty.

Types

type ObjectHierarchyRelationship

type ObjectHierarchyRelationship struct {
	metadata.MetadataInfo
	XMLName                        xml.Name       `xml:"ObjectHierarchyRelationship"`
	Xmlns                          string         `xml:"xmlns,attr"`
	ChildObjectMapping             *ObjectMapping `xml:"childObjectMapping"`
	InputObjRecordsGrpFieldName    *TextLiteral   `xml:"inputObjRecordsGrpFieldName"`
	MappingType                    *TextLiteral   `xml:"mappingType"`
	MasterLabel                    *TextLiteral   `xml:"masterLabel"`
	OutputPntRelationshipFieldName *TextLiteral   `xml:"outputPntRelationshipFieldName"`
	ParentObjectMapping            *ObjectMapping `xml:"parentObjectMapping"`
	ParentRecord                   *TextLiteral   `xml:"parentRecord"`
	ParentRelationshipFieldName    *TextLiteral   `xml:"parentRelationshipFieldName"`
	SourceReferenceRelaFieldName   *TextLiteral   `xml:"sourceReferenceRelaFieldName"`
	UsageType                      *TextLiteral   `xml:"usageType"`
}

ObjectHierarchyRelationship maps the fields of an input object to an output object for a Manufacturing Cloud usage: converting a record to a sales agreement (ConvertToSalesAgreement), a business transformation (TransformationMapping), and others. A record either carries a child object mapping for the input object's child records, or names the record it is the child of in ParentRecord. Stored as ObjectHierarchyRelationship/<name>.settings.

func Open

func (*ObjectHierarchyRelationship) SetMetadata

func (*ObjectHierarchyRelationship) Type

type ObjectMapping

type ObjectMapping struct {
	InputObject   *TextLiteral         `xml:"inputObject"`
	MappingFields []ObjectMappingField `xml:"mappingFields"`
	OutputObject  *TextLiteral         `xml:"outputObject"`
}

ObjectMapping maps the fields of an input object to those of an output object.

type ObjectMappingField

type ObjectMappingField struct {
	InputField  *TextLiteral `xml:"inputField"`
	OutputField *TextLiteral `xml:"outputField"`
}

ObjectMappingField maps an input object field to an output object field. A lookup field is named by its relationship (Account for AccountId).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL