Ariba Supplier OnRamp 7.1 | webMethods Ariba Supplier OnRamp Documentation | webMethods Ariba Supplier OnRamp Installation and User’s Documentation | Using the Test Module | Testing MasterAgreementRequests
 
Testing MasterAgreementRequests
You can test the MasterAgreementRequestHandler by creating and sending simple MasterAgreementRequest messages.
*To create and send MasterAgreementRequest test message
1. Start Integration Server Administrator.
2. In the Ariba OnRamp menu, select Test. The Test page appears.
3. Select the test type MasterAgreementRequest. The Test cXML Request Processing screen appears.
4. Set the cXML From, To, and Sender credentials by clicking the Set Credentials button and completing the following fields to specify the credentials of the sender and receiver of the document. (To send empty values, click the check boxes next to the fields.)
Field
Value
Identity
An ID string representing the entity.
Domain
Select one of the following values:
*DUNS. If the ID is a DUNS number.
*NetworkId. If the ID is an Ariba SN ID.
*AribaNetworkUserId. If the ID is an Ariba SN user ID.
Shared Secret
For the Sender's Credential, this must be the supplier's Shared Secret, which is configured on both Ariba SN and on the cXML of Ariba Supplier OnRamp.
Digital Signature
Optional. For Sender's Credential only.
Signature Type
Optional. For Sender's Credential only. The Digital Signature Type.
Signature Encoding
Optional. For Sender's Credential only. The Digital Signature Encoding.
User Agent
For Sender's Credential only. The sending system's User Agent Identity.
a. Set MasterAgreementRequest Header fields. Specify the following fields:
Field
Value
Operation
Specifies the type of the agreement request. Select one of the following:
*new (Default)
*update
*delete. Used to cancel an existing agreement. The delete request should be an exact replica of the original request.
Agreement Date
The date and time the agreement request was created. This is different from the effective and expiration date of the agreement.
Expiration Date
Specifies the date the agreement is no longer available.
Agreement ID
The procurement system agreementID for this request.
Agreement Type
Specifies whether the agreement refers to a value or quantity.
Effective Date
Specifies the date the agreement is available for ordering or releases.
Parent Agreement Payload ID
Optional. PayloadID for the corresponding parent document from which this agreement is derived.
5. Set MasterAgreementRequest Header fields. Specify the following fields:
Field
Value
Operation
Specifies the type of the agreement request. Select one of the following:
*new (Default)
*update
*delete Used to cancel an existing agreement. The delete request should be an exact replica of the original request.
Agreement Date
The date and time the agreement request was created. This is different from the effective and expiration date of the agreement.
Expiration Date
Specifies the date the agreement is no longer available.
Agreement ID
The procurement system agreementID for this request.
Agreement Type
Specifies whether the agreement refers to a value or quantity.
Effective Date
Specifies the date the agreement is available for ordering or releases.
Parent Agreement Payload ID
Optional. PayloadID for the corresponding parent document from which this agreement is derived.
6. To add detail records, click the Add Agreement Item and perform the following steps:
a. Wait for the browser page to fully load. The page is a form containing fields representing the cXML AgreementItemOut Record, as defined in the cXML User's Guide Version 1.2. At a minimum, you should enter the ItemOut field.
b. AgreementItemOut can contain the following child elements:
Field
Value
MaxAmount
Optional. Contains the maximum amount for the line item.
MinAmount
Optional. Contains the minimum amount for the line item.
MaxReleaseAmount
Optional. Indicates the item level maximum amount per release.
ItemOut
Required. A line item that is part of the Master Agreement. The lineNumber attribute in the ItemOut specifies the corresponding lineNumber on the Master Agreement in the Procurement Application. The quantity attribute in the ItemOut should be set to "one" and ignored at the Master Agreement implementation processing stage.
c. Click the Submit button. You should see the line item in the Agreement Items table.
7. Click the Create MasterAgreementRequest Message button.
8. Click the Send cXML Request button. The response content is displayed.