Create the XREF Custom Object

You create the XREF custom object in the Common application. Use a new sandbox to create the XREF custom object.

Creating the Object for the XREF Custom Object

Enter the parameters listed in the following table for the XREF custom object, using the Creating Custom Objects procedure.

Parameter

Value

Display Label

XREF

Plural Label

XREF

Record Name Label

XREF ID

Record Name Data Type

Select Automatically Generated Sequence from the drop-down menu.

Sequence Format

{000000000000000} (15 zeroes inside braces)

Object Name

O_INT_XREF

Description

Leave blank.

Creating Fields for the XREF Custom Object

Create the fields listed in the following table for the XREF custom object using the Creating Custom Objects procedure.

Parameter

FusionObjectType Field

FusionRecordID Field

RemoteObjectType Field

RemoteRecordID

RemoteSystemID

Field Type

Text

Text

Text

Text

Text

Display Label

Fusion Object Type

Fusion Record ID

Remote Object Type

Remote Record ID

Remote System

Name

FusionObjectType

FusionRecordID

RemoteObjectType

RemoteRecordID

RemoteSystemID

Display Width

20

20

20

20

20

Display Type

Simple Text Box

Simple Text Box

Simple Text Box

Simple Text Box

Simple Text Box

Constraints

Required, Updatable, Searchable, Indexed

Required, Updatable, Searchable, Indexed

Required, Updatable, Searchable, Indexed

Required, Updatable, Searchable, Indexed

Required, Updatable, Searchable, Indexed

Maximum Length

100

50

100

50

80

Creating Global Functions for the XREF Custom Object

Create global functions from the following Groovy files, using the Creating Global Functions procedure.

  • O_INT_CreateXREF.groovy

  • O_INT_GetAllXREF.groovy

  • O_INT_GetXREF.groovy

  • O_INT_UpdateXREF.groovy

Note: These global functions depend on the XREF custom object being created, so they were not created previously in the Creating Global Functions procedure.

Validating and Publishing the Sandbox

Validate and publish the sandbox for the XREF custom object, using the Publish Unified Sandboxes topic.