Application Services Interface Reference > Predefined Application Service Interfaces > External Opportunity Create/External Opportunity Query/External Opportunity Update >

Opportunity (PRM ANI)


The Opportunity (PRM ANI) ASI encapsulates all the data that is directly related to the Opportunity object. This data includes fields such as Opportunity Name, Status, and so on.

Table 43 lists the primary integration components of Opportunity (PRM ANI).

Table 43. Opportunity (PRM ANI) Integration Components
Integration Component
XML Tag
User Keys

Action

Action

  1. Due, Id, Type
  2. Comment, Description, Due, Type
  3. Comment, Description, Due, Type

Contact

Contact

1 DUNS Number, First Name, ID, Last Name, Middle Name
  1. DUNS Number, First Name, Last Name, Middle Name
  2. First Name, Last Name, Middle Name, Primary Account Name
  3. First Name, Last Name, Middle Name, Primary Account Name
  4. First Name, Last Name

Contact_Account

Contact_Account

1 Account, Account Location

Contact_Account_Business Address

Contact_Account_BusinessAddress

1 City, Country, Postal Code, State, Street Address, Street Address 2
  1. Address Name, City, Postal Code, State, Street Address
  2. City, Postal Code, State
  3. Address Name

Contact_Personal Address

Contact_PersonalAddress

1 City, Country, Postal Code, State, Street Address, Street Address 2
  1. Address Name, City, Postal Code, State, Street Address
  2. City, Integration Id, Postal Code, State
  3. Integration Id

Opportunity

Opportunity

1 Name

Opportunity Note

OpportunityNote

1 Note, Note Type, Oppty Name
  1. Note Type, Oppty Name
  2. Note, Note Type
  3. Note Type
  4. Id

Opportunity_Business Address

OpportunityBusinessAddress

1 Address Name, City, Country, Postal Code, State, Street Address, Street Address 2
  1. City, Postal Code, State, Street Address
  2. City, Integration Id, Postal Code, State
  3. Integration Id

Revenue

Revenue

1 Revenue Item Number

Table 44 lists the fields and their attributes.

Table 44. Opportunity (PRM ANI) ASI Fields
Name
XML Tag
Data Type
Length
Required

Action

Comment

Comment

DTYPE_TEXT

1,500

N

Description

Description

DTYPE_TEXT

100

N

Done

Done

DTYPE_TEXT

50

N

Due

Due

DTYPE_TEXT

50

N

Id

Id

DTYPE_ID

30

N

Planned

Planned

DTYPE_TEXT

50

N

Planned Completion

PlannedCompletion

DTYPE_TEXT

50

N

Priority

Priority

DTYPE_TEXT

30

N

Started

Started

DTYPE_TEXT

50

N

Status

Status

DTYPE_TEXT

30

N

Type

Type

DTYPE_TEXT

30

N

Contact

Account Id

AccountId

DTYPE_ID

15

N

Account Integration Id

AccountIntegrationId

DTYPE_TEXT

30

N

Cellular Phone #

CellularPhone

DTYPE_TEXT

40

N

Comment

Comment

DTYPE_TEXT

255

N

DUNS Number

DUNSNumber

DTYPE_TEXT

15

N

Email Address

EmailAddress

DTYPE_TEXT

50

N

Fax Phone #

FaxPhone

DTYPE_TEXT

40

N

First Name

FirstName

DTYPE_TEXT

50

N

Home Phone #

HomePhone

DTYPE_TEXT

40

N

Id

Id

DTYPE_ID

30

N

Job Title

JobTitle

DTYPE_TEXT

75

N

Last Name

LastName

DTYPE_TEXT

50

N

M/M

MM

DTYPE_TEXT

15

N

Middle Name

MiddleName

DTYPE_TEXT

50

N

Primary Account Name

PrimaryAccountName

DTYPE_TEXT

100

N

Work Phone #

WorkPhone

DTYPE_TEXT

40

N

Contact_Account

Account

Name

DTYPE_TEXT

100

N

Account Location

Location

DTYPE_TEXT

50

N

Currency Code

CurrencyCode

DTYPE_TEXT

15

N

Customer Account Group

CustomerAccountGroup

DTYPE_TEXT

30

N

DUNS Number

DUNSNumber

DTYPE_TEXT

15

N

Group Type Code

GroupTypeCode

DTYPE_TEXT

30

N

IsPrimaryMVG

IsPrimaryMVG

DTYPE_TEXT

1

N

Party Type Code

PartyTypeCode

DTYPE_TEXT

30

N

Contact_Account_Business Address

Address Name

AddressName

DTYPE_TEXT

100

N

City

City

DTYPE_TEXT

50

N

Country

Country

DTYPE_TEXT

50

N

Email Address

EmailAddress

DTYPE_TEXT

50

N

IsPrimaryMVG

IsPrimaryMVG

DTYPE_TEXT

1

N

Phone Number

PhoneNumber

DTYPE_TEXT

40

N

Postal Code

PostalCode

DTYPE_TEXT

30

N

State

State

DTYPE_TEXT

10

N

Street Address

StreetAddress

DTYPE_TEXT

200

N

Street Address 2

StreetAddress2

DTYPE_TEXT

100

N

Contact_Personal Address

Address Name

AddressName

DTYPE_TEXT

100

N

Integration Id

IntegrationId

DTYPE_TEXT

30

N

IsPrimaryMVG

IsPrimaryMVG

DTYPE_TEXT

1

N

Personal City

PersonalCity

DTYPE_TEXT

50

N

Personal Country

PersonalCountry

DTYPE_TEXT

50

N

Personal Postal Code

PersonalPostalCode

DTYPE_TEXT

30

N

Personal State

PersonalState

DTYPE_TEXT

10

N

Personal Street Address

PersonalStreetAddress

DTYPE_TEXT

200

N

Personal Street Address 2

PersonalStreetAddress2

DTYPE_TEXT

100

N

Opportunity

Account

AccountName

DTYPE_TEXT

100

N

Account Integration Id

AccountIntegrationId

DTYPE_TEXT

30

N

Account Location

AccountLocation

DTYPE_TEXT

50

N

Currency Code

CurrencyCode

DTYPE_TEXT

15

N

DUNS Number

DUNSNumber

DTYPE_TEXT

15

N

Description

Description

DTYPE_TEXT

255

N

Id

Id

DTYPE_ID

30

N

Name

Name

DTYPE_TEXT

100

N

Parent Opportunity Name

ParentOpportunityName

DTYPE_TEXT

100

N

Primary Revenue Amount

PrimaryRevenueAmount

DTYPE_TEXT

22

N

Primary Revenue Class

PrimaryRevenueClass

DTYPE_TEXT

30

N

Primary Revenue Close Date

PrimaryRevenueCloseDate

DTYPE_DATETIME

50

N

Primary Revenue Type

PrimaryRevenueType

DTYPE_TEXT

30

N

Primary Revenue Win Probability

PrimaryRevenueWinProbability

DTYPE_NUMBER

22

N

Sales Method

SalesMethod

DTYPE_TEXT

30

N

Sales Stage

SalesStage

DTYPE_TEXT

30

N

Opportunity Note

Id

Id

DTYPE_ID

30

N

Note

Note

DTYPE_NOTE

1,000

N

Note Type

NoteType

DTYPE_TEXT

30

N

Opportunity Name

OpportunityName

DTYPE_TEXT

100

N

Opportunity_Business Address

Address Name

AddressName

DTYPE_TEXT

50

N

City

City

DTYPE_TEXT

50

N

Country

Country

DTYPE_TEXT

50

N

Integration Id

IntegrationId

DTYPE_TEXT

30

N

IsPrimaryMVG

IsPrimaryMVG

DTYPE_TEXT

1

N

Postal Code

PostalCode

DTYPE_TEXT

30

N

State

State

DTYPE_TEXT

10

N

Stree Address Line 2

StreeAddressLine2

DTYPE_TEXT

100

N

Street Address

StreetAddress

DTYPE_TEXT

200

N

Revenue

Account

Account

DTYPE_TEXT

100

N

Account Location

AccountLocation

DTYPE_TEXT

50

N

Committed

Committed

DTYPE_TEXT

1

N

Currency Code

CurrencyCode

DTYPE_TEXT

20

N

Date

Date

DTYPE_DATETIME

50

N

Description

Description

DTYPE_TEXT

100

N

Id

Id

DTYPE_ID

30

N

Part Number

PartNumber

DTYPE_TEXT

50

N

Price

Price

DTYPE_TEXT

22

N

Product

Product

DTYPE_TEXT

50

N

Quantity

Quantity

DTYPE_NUMBER

22

N

Revenue

Revenue

DTYPE_TEXT

22

N

Revenue Class

RevenueClass

DTYPE_TEXT

30

N

Revenue Item Number

RevenueItemNumber

DTYPE_TEXT

30

N

Revenue Type

RevenueType

DTYPE_TEXT

30

N

Summary

Summary

DTYPE_TEXT

1

N

Win Probability

WinProbability

DTYPE_NUMBER

22

N

Application Services Interface Reference