CData Cloud offers access to SAP Ariba across several standard services and protocols, in a cloud-hosted solution. Any application that can connect to a SQL Server database can connect to SAP Ariba through CData Cloud.
CData Cloud allows you to standardize and configure connections to SAP Ariba as though it were any other OData endpoint or standard SQL Server.
This page provides a guide to Establishing a Connection to SAP Ariba in CData Cloud, as well as information on the available resources, and a reference to the available connection properties.
Establishing a Connection shows how to authenticate to SAP Ariba and configure any necessary connection properties to create a database in CData Cloud
Accessing data from SAP Ariba through the available standard services and CData Cloud administration is documented in further details in the CData Cloud Documentation.
Connect to SAP Ariba by selecting the corresponding icon in the Database tab. Required properties are listed under Settings. The Advanced tab lists connection properties that are not typically required.
Set the following to connect:
Authentication to SAP Ariba APIs is handled via OAuth. SAP Ariba's OAuth flow requires no user interaction.
Set the AuthScheme to OAuthClient.
You need to register an application with the service to obtain the APIKey, OAuthClientId and OAuthClientSecret.
See Creating a Custom OAuth App for information about creating an application.
InitiateOAuth defaults to GETANDREFRESH for the OAuthClient authentication scheme.
Get and Refresh the OAuth Access Token
After setting the following, you are ready to connect:
When you connect, the Cloud automatically completes the OAuth process:
Get an OAuth Access Token
Set the following connection properties to obtain the OAuthAccessToken:
Then call the GetOAuthAccessToken stored procedure. Set the GrantType input to client_credentials or openapi_2lo (available for legacy users). If not specified, GrantType defaults to client_credentials.
After you have obtained the access and refresh tokens, you can connect to data and refresh the OAuth access token either automatically or manually.
Automatic Refresh of the OAuth Access Token
To have the Cloud automatically refresh the OAuth access token, set the following on the first data connection.
Manual Refresh of the OAuth Access Token
The only value needed to manually refresh the OAuth access token when connecting to data is the OAuth refresh token. Use the RefreshOAuthAccessToken stored procedure to manually refresh the OAuthAccessToken after the ExpiresIn parameter value returned by GetOAuthAccessToken has elapsed, then set the following connection properties:
Then call RefreshOAuthAccessToken with OAuthRefreshToken set to the OAuth refresh token returned by GetOAuthAccessToken. After the new tokens have been retrieved, open a new connection by setting the OAuthAccessToken property to the value returned by RefreshOAuthAccessToken.
Finally, store the OAuth refresh token so that you can use it to manually refresh the OAuth access token after it has expired.
Complete the following procedure to obtain the APIKey, OAuthClientId, and OAuthClientSecret.
By default, the Cloud attempts to negotiate TLS with the server. The server certificate is validated against the default system trusted certificate store. You can override how the certificate gets validated using the SSLServerCert connection property.
To specify another certificate, see the SSLServerCert connection property.
To authenticate to an HTTP proxy, set the following:
Set the following properties:
The CData Cloud models entities in the SAP Ariba API as views and stored procedures. These are defined in schema files, which are simple, text-based configuration files that are easy to customize.
See Purchase Orders Buyer API V1 Data Model for the available entities in the Purchase Orders Buyer API V1.
See Purchase Orders Supplier API V1 Data Model for the available entities in the Purchase Orders Supplier API V1.
See Operational Reporting API For Procurement V2 Data Model for the available entities and example view templates in the Operational Reporting API For Procurement V2.
This section shows the available objects in the Purchase Orders Buyer API and provides more information about using SQL with it.
Views are read-only tables that model SAP Ariba orders.
Stored Procedures are function-like interfaces to the data source that perform tasks such as OAuth token management.
Views are similar to tables in the way that data is represented; however, views are read-only.
Queries can be executed against a view as if it were a normal table.
| Name | Description |
| LineItems | Retrieves line-item information from purchase orders. |
| Orders | Retrieves purchase-order header information. |
Retrieves line-item information from purchase orders.
The Cloud uses the SAP Ariba API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
SELECT * FROM LineItems WHERE DocumentNumber = 'DO240'
SELECT * FROM LineItems WHERE OrderStatus = 'CHANGED'
SELECT * FROM LineItems WHERE RoutingStatus = 'Sent'
SELECT * FROM LineItems WHERE StartDate = '2000-01-01T00:00:00' AND EndDate = '2000-01-15T01:00:00'
| Name | Type | References | Description |
| LineNumber [KEY] | Int | Position (counting from 1) of this item in an order. Used to maintain a reference between items in create and update OrderRequest documents. | |
| DocumentNumber [KEY] | String |
Orders.DocumentNumber | Same as the orderID. The documentNumber is an identifier for a particular order, similar to the purchase order number. |
| Eanid | String | The European Article Number, EAN, barcode. | |
| Unspsc | String | The United Nations Standard Products and Services Code, UNSPSC, classification. | |
| Priority | Int | Priority indicator, used to drive the priority of the orders for the suppliers. | |
| ProductIdentifier | String | Reference product number. | |
| LineOfBusiness | String | Line of business. | |
| ProductFamily | String | Product family. | |
| ProductSubFamily | String | Product sub family. | |
| ProductCode | String | Product code. | |
| PartCategory | String | Part category. | |
| PartType | String | Part type. | |
| Category | String | Category. | |
| SupplierPart | String | SupplierPartID is how the supplier identifies an item. | |
| SupplierBatchId | String | An identifier from supplier to identify the material/goods produced in a single manufacturing run. | |
| BuyerPartId | String | It represents a product in buyer system. This identifier is specified by the buyer. | |
| BuyerBatchId | String | An identifier from buyer to identify the material/goods produced in a single manufacturing run. | |
| ManufacturerName | String | The manufacturer's name. | |
| ManufacturerPartId | String | The manufacturer's part number. | |
| PlannerCode | String | Planner code. | |
| PlannerDescription | String | Planner description. | |
| Description | String | Description of the items. | |
| MaterialGoAheadEndDate | Datetime | Date denoting the end of the material go-ahead period (go-ahead for purchase of input materials). | |
| ProductionGoAheadEndDate | Datetime | Date denoting the end of the production go-ahead period. | |
| AgreementId | String | The procurement system agreement ID for this request. | |
| AgreementDate | Datetime | The date and time the agreement request was created. This is different from the effective and expiry date of the agreement. | |
| NeedBy | Datetime | The date this item was requested for delivery. | |
| RequestedDeliveryDate | Datetime | The date this item was requested for delivery. | |
| RequestedShipmentDate | Datetime | The ship date requested by the buyer for the item. | |
| PreviousAsnId | String | Previous ship notice ID. | |
| PreviousAsnDate | Datetime | Previous ship notice date. | |
| IsoCountryCode | String | The International Organization for Standardization (ISO) country code for the country in the shipping address. | |
| ItemShipToStreet | String | The Street element is the street address of the ShipTo location where ordered products are to be delivered. | |
| ItemShipToCity | String | The City element is the city where ordered products are to be shipped. | |
| ItemShipToState | String | The State element is a two-letter state, province, or territory code for the location where the goods are to be shipped. | |
| ItemShipToCountry | String | The Country element is the country where goods are to be shipped. | |
| ItemShipToCode | String | Item ship to code. | |
| ItemShipToPostalCode | String | The PostalCode element is the postal or zip code where goods are to be shipped. | |
| ItemShipToName | String | For ship to, the Name element value should be the company or organization of the employee receiving ordered products. | |
| ItemReturnAuthorizationNumber | String | Return Authorization Number information for a line item. | |
| ReleaseType | String | A string value to identify the type of release. The value will be either jit or forecast. | |
| ItemLocation | String | Item location. | |
| StorageLocation | String | Storage location. | |
| Quantity | Double | How many items are desired. Supplier and Commodity level items in an order of type 'blanket' will use a default value of '1'. The quantity in this case will not be used to compute the sub total. The MaxAmount in the BlanketItemDetail will be used to indicate any line level amounts. | |
| UnitOfMeasure | String | The UnitOfMeasure element contains the item Unit of Measure code as defined by the United Nations UOM standard. | |
| PbqQuantity | Double | The PriceBasisQuantity element contains the quantity-based pricing for a line item. Quantity-based Pricing is commonly also referred to as Price-Based Quantity or PBQ. Quantity-based pricing allows the unit price of an item to be based on a different price unit quantity than 1. | |
| PbqUOM | String | Unit of measure for the PriceBasisQuantity. | |
| PbqConversionFactor | Double | Conversion factor for the PriceBasisQuantity. | |
| ConfirmedQuantity | Double | Confirmed quantity. | |
| PreviousReceivedQuantity | Double | Previous received quantity. | |
| PreviousReceivedQuantityUom | String | Unit of measure for the previous received quantity. | |
| CumulativeShipQuantity | Double | A number value to identify the cumulative quantity of all goods shipped against the scheduling agreement release over a period up to a certain date. | |
| CumulativeReceivedQuantity | Double | A number value to identify the cumulative quantity of all goods received against the scheduling agreement released over a period up to a certain date. | |
| CumulativeReceivedUom | String | Unit of measure for the cumulative received quantity. | |
| UnitPriceConversionDate | Datetime | Price per unit of item conversion date. | |
| UnitPriceAmount | Decimal | Price per unit of item amount. | |
| UnitPriceApprox | Decimal | Price per unit of item approx. | |
| UnitPriceCurrencyCode | String | Price per unit of item currency code. | |
| AccountingDistributionAccountingName | String | The accounting distribution identifier. An accounting distribution divides the cost of an item among multiple parties. Suppliers return this identifier on invoices to facilitate the buyer's reconciliation process. Name. | |
| AccountingDistributionAccountingSegments | String | The accounting distribution identifier. An accounting distribution divides the cost of an item among multiple parties. Suppliers return this identifier on invoices to facilitate the buyer's reconciliation process. Segments. | |
| AccountingDistributionChargeConversionDate | Datetime | The accounting distribution identifier. An accounting distribution divides the cost of an item among multiple parties. Suppliers return this identifier on invoices to facilitate the buyer's reconciliation process. Charge conversion date. | |
| AccountingDistributionChargeAmount | Decimal | The accounting distribution identifier. An accounting distribution divides the cost of an item among multiple parties. Suppliers return this identifier on invoices to facilitate the buyer's reconciliation process. Charge amount. | |
| AccountingDistributionChargeApprox | Decimal | The accounting distribution identifier. An accounting distribution divides the cost of an item among multiple parties. Suppliers return this identifier on invoices to facilitate the buyer's reconciliation process. Charge approx. | |
| AccountingDistributionChargeCurrencyCode | String | The accounting distribution identifier. An accounting distribution divides the cost of an item among multiple parties. Suppliers return this identifier on invoices to facilitate the buyer's reconciliation process. Charge currency code. | |
| SerialNumberInfoMaximum | Double | The buyer's instructions on acceptable serial number values to be sent in an Advance Ship Notice (ASN). Maximum. | |
| SerialNumberInfoMinimum | Double | The buyer's instructions on acceptable serial number values to be sent in an Advance Ship Notice (ASN). Minimum. | |
| SerialNumberInfoProfile | String | The buyer's instructions on acceptable serial number values to be sent in an Advance Ship Notice (ASN). Profile. Can be profile, range, or list. | |
| SerialNumberInfoValues | String | The buyer's instructions on acceptable serial number values to be sent in an Advance Ship Notice (ASN). Values. | |
| SerialNumberInfoProfileType | String | The buyer's instructions on acceptable serial number values to be sent in an Advance Ship Notice (ASN). Profile type. Can be numeric or null. | |
| SupplierANID | String | The supplier's ANID. | |
| OrderStatus | String | Indicates what state of processing the order has reached. | |
| RoutingStatus | String | Routing Status indicates whether a purchase order or service order is queued, sent, acknowledged, or if routing failed. | |
| StartDate | Datetime | Searches by the date on which SAP Business Network receives the purchase order. The maximum date range is 31 days. These two parameters startDate and endDate must exist together or neither. | |
| EndDate | Datetime | Searches by the date on which SAP Business Network receives the purchase order. The maximum date range is 31 days. These two parameters startDate and endDate must exist together or neither. |
Retrieves purchase-order header information.
The Cloud uses the SAP Ariba API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
The Cloud uses the SAP Ariba API to process ORDER BY clause conditions built with the following columns. The Cloud processes ordering by other columns client-side within the Cloud.
SELECT * FROM Orders WHERE DocumentNumber = 'DO240'
SELECT * FROM Orders WHERE RoutingStatus = 'Sent'
SELECT * FROM Orders WHERE OrderStatus = 'CHANGED'
SELECT * FROM Orders WHERE StartDate = '2000-01-01T00:00:00' AND EndDate = '2000-01-15T01:00:00'
SELECT * FROM Orders ORDER BY BuyerANID ASC
SELECT * FROM Orders ORDER BY SupplierANID DESC
| Name | Type | References | Description |
| VendorId | String | The supplier's vendor ID. | |
| SupplierANID | String | The supplier's ANID. | |
| SupplierName | String | The supplier's name. | |
| ServiceId | Double | Service id. | |
| DisputeId | Double | Dispute id. | |
| DocumentNumber [KEY] | String | Same as the orderID. The documentNumber is an identifier for a particular order, similar to the purchase order number. | |
| PayloadId | String | An unique identifier for the document. This is copied directly from the cXML element of the original document. | |
| PoVersion | Double | Specifies the order version number of change orders, starting with 1 for the original order. | |
| Revision | String | Revision. | |
| PoClosed | Bool | Po closed. | |
| Settlement | String | Method of PO settlement. | |
| IsRelease | Bool | Indicates whether the orderType is Release. | |
| AttachmentCount | Int | Attachment count. | |
| SystemId | String | The customer's system ID. | |
| CustomerANID | String | The customer's ANID. | |
| CustomerName | String | The customer's name. | |
| EndPointId | String | The customer's endpoint ID. | |
| PurchasingOrgCode | String | The customer's purchasing organization. | |
| PurchasingGroupCode | String | The customer's purchasing group. | |
| CompanyCode | String | The customer's buying entity. | |
| BuyerANID | String | The buyer's ANID. | |
| PurchasingAgentName | String | Name of contact whose role is purchasing agent. | |
| Blanket | Bool | Blanket. | |
| BlanketPoId | Double | Blanket po id. | |
| ReleaseRequired | Bool | Used only if orderType is blanket, to indicate whether the blanket order requires releases (purchase orders). If yes, is specified, then the blanket order requires separate release orders before the supplier can act. If no, then the supplier can act on the blanket order itself. By default this value is unspecified. | |
| NumberOfInvoices | Int | Number of invoices. | |
| PaymentTerms | String | Net Terms or Payment Terms. | |
| PaymentTermsExplanation | String | Free-form text describing the payment terms for information purposes. | |
| SchedulingAgreement | Bool | Scheduling agreement. | |
| TransportTerms | String | The transport information for the shipment described by the order and the ship notice. This information comes from the order specified by the buyer and has to be included in the ship notice, so that these can be edited by the supplier, if required. This information and possible changes have to be carried back to the buyer. | |
| TransportTermsDesc | String | Transport terms description. | |
| IsoCountryCode | String | The International Organization for Standardization (ISO) country code for the country in the shipping address. | |
| PoShipToState | String | The State element is a two-letter state, province, or territory code for the location where the goods are to be shipped. | |
| PoShipToCountry | String | The Country element is the country where goods are to be shipped. | |
| PoShipToCity | String | The City element is the city where ordered products are to be shipped. | |
| PoShipToStreet | String | The Street element is the street address of the ShipTo location where ordered products are to be delivered. | |
| PoShipToCode | String | Po ship to code. | |
| PoShipToPostalCode | String | The PostalCode element is the postal or zip code where goods are to be shipped. | |
| DocumentStatus | String | Document status. | |
| DashboardStatus | String | Order Status indicates where the order stands with regards to your processing of the order. | |
| RoutingStatus | String | Routing Status indicates whether a purchase order or service order is queued, sent, acknowledged, or if routing failed. | |
| OrderDate | Datetime | The date and time the order was created. | |
| Created | Datetime | Date the order was created. | |
| HideAmount | Bool | An extrinsic that allows you to mask values for the amount. | |
| AmountAvailableConversionDate | Datetime | Amount available conversion date. | |
| AmountAvailableAmount | Decimal | Amount available. | |
| AmountAvailableApprox | Decimal | Amount available approx. | |
| AmountAvailableCurrencyCode | String | Amount available currency code. | |
| BalanceConversionDate | Datetime | In case of partially invoiced PO, the balance left on the PO to be invoiced conversion date. | |
| BalanceAmount | Decimal | In case of partially invoiced PO, the balance left on the PO to be invoiced amount. | |
| BalanceApprox | Decimal | In case of partially invoiced PO, the balance left on the PO to be invoiced approx. | |
| BalanceCurrencyCode | String | In case of partially invoiced PO, the balance left on the PO to be invoiced currency code. | |
| InvoicedAmountConversionDate | Datetime | Invoiced amount conversion date. | |
| InvoicedAmountAmount | Decimal | Invoiced amount. | |
| InvoicedAmountApprox | Decimal | Invoiced amount approx. | |
| InvoicedAmountCurrencyCode | String | Invoiced amount currency code. | |
| PoAmountConversionDate | Datetime | Total cost of the order conversion date. | |
| PoAmountAmount | Decimal | Total cost of the order amount. | |
| PoAmountApprox | Decimal | Total cost of the order approx. | |
| PoAmountCurrencyCode | String | Total cost of the order currency code. | |
| PoShipToNameKid | String | For ship to, the Name element value should be the company or organization of the employee receiving ordered products. Kid. | |
| PoShipToNameValue | String | For ship to, the Name element value should be the company or organization of the employee receiving ordered products. Value. | |
| PoShipToNameEncryptedValue | String | For ship to, the Name element value should be the company or organization of the employee receiving ordered products. Encrypted value. | |
| OrderStatus | String | Indicates what state of processing the order has reached. | |
| StartDate | Datetime | Searches by the date on which SAP Business Network receives the purchase order. The maximum date range is 31 days. These two parameters startDate and endDate must exist together or neither. | |
| EndDate | Datetime | Searches by the date on which SAP Business Network receives the purchase order. The maximum date range is 31 days. These two parameters startDate and endDate must exist together or neither. |
Stored procedures are function-like interfaces that extend the functionality of the Cloud beyond simple SELECT/INSERT/UPDATE/DELETE operations with SAP Ariba.
Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from SAP Ariba, along with an indication of whether the procedure succeeded or failed.
| Name | Description |
This section shows the available objects in the Purchase Orders Supplier API and provides more information about using SQL with it.
Views are read-only tables that model SAP Ariba orders.
Stored Procedures are function-like interfaces to the data source that perform tasks such as OAuth token management.
Views are similar to tables in the way that data is represented; however, views are read-only.
Queries can be executed against a view as if it were a normal table.
| Name | Description |
| LineItems | Retrieves line-item information from purchase orders. |
| Orders | Retrieves purchase-order header information. |
Retrieves line-item information from purchase orders.
The Cloud uses the SAP Ariba API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
SELECT * FROM LineItems WHERE DocumentNumber = 'DO240'
SELECT * FROM LineItems WHERE OrderStatus = 'CHANGED'
SELECT * FROM LineItems WHERE RoutingStatus = 'Sent'
SELECT * FROM LineItems WHERE StartDate = '2000-01-01T00:00:00' AND EndDate = '2000-01-15T01:00:00'
| Name | Type | References | Description |
| LineNumber [KEY] | Int | Position (counting from 1) of this item in an order. Used to maintain a reference between items in create and update OrderRequest documents. | |
| DocumentNumber [KEY] | String |
Orders.DocumentNumber | Same as the orderID. The documentNumber is an identifier for a particular order, similar to the purchase order number. |
| Eanid | String | The European Article Number, EAN, barcode. | |
| Unspsc | String | The United Nations Standard Products and Services Code, UNSPSC, classification. | |
| Priority | Int | Priority indicator, used to drive the priority of the orders for the suppliers. | |
| ProductIdentifier | String | Reference product number. | |
| LineOfBusiness | String | Line of business. | |
| ProductFamily | String | Product family. | |
| ProductSubFamily | String | Product sub family. | |
| ProductCode | String | Product code. | |
| PartCategory | String | Part category. | |
| PartType | String | Part type. | |
| Category | String | Category. | |
| SupplierPart | String | SupplierPartID is how the supplier identifies an item. | |
| SupplierBatchId | String | An identifier from supplier to identify the material/goods produced in a single manufacturing run. | |
| BuyerPartId | String | It represents a product in buyer system. This identifier is specified by the buyer. | |
| BuyerBatchId | String | An identifier from buyer to identify the material/goods produced in a single manufacturing run. | |
| ManufacturerName | String | The manufacturer's name. | |
| ManufacturerPartId | String | The manufacturer's part number. | |
| PlannerCode | String | Planner code. | |
| PlannerDescription | String | Planner description. | |
| Description | String | Description of the items. | |
| MaterialGoAheadEndDate | Datetime | Date denoting the end of the material go-ahead period (go-ahead for purchase of input materials). | |
| ProductionGoAheadEndDate | Datetime | Date denoting the end of the production go-ahead period. | |
| AgreementId | String | The procurement system agreement ID for this request. | |
| AgreementDate | Datetime | The date and time the agreement request was created. This is different from the effective and expiry date of the agreement. | |
| NeedBy | Datetime | The date this item was requested for delivery. | |
| RequestedDeliveryDate | Datetime | The date this item was requested for delivery. | |
| RequestedShipmentDate | Datetime | The ship date requested by the buyer for the item. | |
| PreviousAsnId | String | Previous ship notice ID. | |
| PreviousAsnDate | Datetime | Previous ship notice date. | |
| IsoCountryCode | String | The International Organization for Standardization (ISO) country code for the country in the shipping address. | |
| ItemShipToStreet | String | The Street element is the street address of the ShipTo location where ordered products are to be delivered. | |
| ItemShipToCity | String | The City element is the city where ordered products are to be shipped. | |
| ItemShipToState | String | The State element is a two-letter state, province, or territory code for the location where the goods are to be shipped. | |
| ItemShipToCountry | String | The Country element is the country where goods are to be shipped. | |
| ItemShipToCode | String | Item ship to code. | |
| ItemShipToPostalCode | String | The PostalCode element is the postal or zip code where goods are to be shipped. | |
| ItemShipToName | String | For ship to, the Name element value should be the company or organization of the employee receiving ordered products. | |
| ItemReturnAuthorizationNumber | String | Return Authorization Number information for a line item. | |
| ReleaseType | String | A string value to identify the type of release. The value will be either jit or forecast. | |
| ItemLocation | String | Item location. | |
| StorageLocation | String | Storage location. | |
| Quantity | Double | How many items are desired. Supplier and Commodity level items in an order of type 'blanket' will use a default value of '1'. The quantity in this case will not be used to compute the sub total. The MaxAmount in the BlanketItemDetail will be used to indicate any line level amounts. | |
| UnitOfMeasure | String | The UnitOfMeasure element contains the item Unit of Measure code as defined by the United Nations UOM standard. | |
| PbqQuantity | Double | The PriceBasisQuantity element contains the quantity-based pricing for a line item. Quantity-based Pricing is commonly also referred to as Price-Based Quantity or PBQ. Quantity-based pricing allows the unit price of an item to be based on a different price unit quantity than 1. | |
| PbqUOM | String | Unit of measure for the PriceBasisQuantity. | |
| PbqConversionFactor | Double | Conversion factor for the PriceBasisQuantity. | |
| ConfirmedQuantity | Double | Confirmed quantity. | |
| PreviousReceivedQuantity | Double | Previous received quantity. | |
| PreviousReceivedQuantityUom | String | Unit of measure for the previous received quantity. | |
| CumulativeShipQuantity | Double | A number value to identify the cumulative quantity of all goods shipped against the scheduling agreement release over a period up to a certain date. | |
| CumulativeReceivedQuantity | Double | A number value to identify the cumulative quantity of all goods received against the scheduling agreement released over a period up to a certain date. | |
| CumulativeReceivedUom | String | Unit of measure for the cumulative received quantity. | |
| UnitPriceConversionDate | Datetime | Price per unit of item conversion date. | |
| UnitPriceAmount | Decimal | Price per unit of item amount. | |
| UnitPriceApprox | Decimal | Price per unit of item approx. | |
| UnitPriceCurrencyCode | String | Price per unit of item currency code. | |
| AccountingDistributionAccountingName | String | The accounting distribution identifier. An accounting distribution divides the cost of an item among multiple parties. Suppliers return this identifier on invoices to facilitate the buyer's reconciliation process. Name. | |
| AccountingDistributionAccountingSegments | String | The accounting distribution identifier. An accounting distribution divides the cost of an item among multiple parties. Suppliers return this identifier on invoices to facilitate the buyer's reconciliation process. Segments. | |
| AccountingDistributionChargeConversionDate | Datetime | The accounting distribution identifier. An accounting distribution divides the cost of an item among multiple parties. Suppliers return this identifier on invoices to facilitate the buyer's reconciliation process. Charge conversion date. | |
| AccountingDistributionChargeAmount | Decimal | The accounting distribution identifier. An accounting distribution divides the cost of an item among multiple parties. Suppliers return this identifier on invoices to facilitate the buyer's reconciliation process. Charge amount. | |
| AccountingDistributionChargeApprox | Decimal | The accounting distribution identifier. An accounting distribution divides the cost of an item among multiple parties. Suppliers return this identifier on invoices to facilitate the buyer's reconciliation process. Charge approx. | |
| AccountingDistributionChargeCurrencyCode | String | The accounting distribution identifier. An accounting distribution divides the cost of an item among multiple parties. Suppliers return this identifier on invoices to facilitate the buyer's reconciliation process. Charge currency code. | |
| SerialNumberInfoMaximum | Double | The buyer's instructions on acceptable serial number values to be sent in an Advance Ship Notice (ASN). Maximum. | |
| SerialNumberInfoMinimum | Double | The buyer's instructions on acceptable serial number values to be sent in an Advance Ship Notice (ASN). Minimum. | |
| SerialNumberInfoProfile | String | The buyer's instructions on acceptable serial number values to be sent in an Advance Ship Notice (ASN). Profile. Can be profile, range, or list. | |
| SerialNumberInfoValues | String | The buyer's instructions on acceptable serial number values to be sent in an Advance Ship Notice (ASN). Values. | |
| SerialNumberInfoProfileType | String | The buyer's instructions on acceptable serial number values to be sent in an Advance Ship Notice (ASN). Profile type. Can be numeric or null. | |
| BuyerANID | String | The buyer's ANID. | |
| OrderStatus | String | Indicates what state of processing the order has reached. | |
| RoutingStatus | String | Routing Status indicates whether a purchase order or service order is queued, sent, acknowledged, or if routing failed. | |
| StartDate | Datetime | Searches by the date on which SAP Business Network receives the purchase order. The maximum date range is 31 days. These two parameters startDate and endDate must exist together or neither. | |
| EndDate | Datetime | Searches by the date on which SAP Business Network receives the purchase order. The maximum date range is 31 days. These two parameters startDate and endDate must exist together or neither. |
Retrieves purchase-order header information.
The Cloud uses the SAP Ariba API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
The Cloud uses the SAP Ariba API to process ORDER BY clause conditions built with the following columns. The Cloud processes ordering by other columns client-side within the Cloud.
SELECT * FROM Orders WHERE DocumentNumber = 'DO240'
SELECT * FROM Orders WHERE RoutingStatus = 'Sent'
SELECT * FROM Orders WHERE OrderStatus = 'CHANGED'
SELECT * FROM Orders WHERE StartDate = '2000-01-01T00:00:00' AND EndDate = '2000-01-15T01:00:00'
SELECT * FROM Orders ORDER BY BuyerANID ASC
SELECT * FROM Orders ORDER BY SupplierANID DESC
| Name | Type | References | Description |
| VendorId | String | The supplier's vendor ID. | |
| SupplierANID | String | The supplier's ANID. | |
| SupplierName | String | The supplier's name. | |
| ServiceId | Double | Service id. | |
| DisputeId | Double | Dispute id. | |
| DocumentNumber [KEY] | String | Same as the orderID. The documentNumber is an identifier for a particular order, similar to the purchase order number. | |
| PayloadId | String | An unique identifier for the document. This is copied directly from the cXML element of the original document. | |
| PoVersion | Double | Specifies the order version number of change orders, starting with 1 for the original order. | |
| Revision | String | Revision. | |
| PoClosed | Bool | Po closed. | |
| Settlement | String | Method of PO settlement. | |
| IsRelease | Bool | Indicates whether the orderType is Release. | |
| AttachmentCount | Int | Attachment count. | |
| SystemId | String | The customer's system ID. | |
| CustomerANID | String | The customer's ANID. | |
| CustomerName | String | The customer's name. | |
| EndPointId | String | The customer's endpoint ID. | |
| PurchasingOrgCode | String | The customer's purchasing organization. | |
| PurchasingGroupCode | String | The customer's purchasing group. | |
| CompanyCode | String | The customer's buying entity. | |
| BuyerANID | String | The buyer's ANID. | |
| PurchasingAgentName | String | Name of contact whose role is purchasing agent. | |
| Blanket | Bool | Blanket. | |
| BlanketPoId | Double | Blanket po id. | |
| ReleaseRequired | Bool | Used only if orderType is blanket, to indicate whether the blanket order requires releases (purchase orders). If yes, is specified, then the blanket order requires separate release orders before the supplier can act. If no, then the supplier can act on the blanket order itself. By default this value is unspecified. | |
| NumberOfInvoices | Int | Number of invoices. | |
| PaymentTerms | String | Net Terms or Payment Terms. | |
| PaymentTermsExplanation | String | Free-form text describing the payment terms for information purposes. | |
| SchedulingAgreement | Bool | Scheduling agreement. | |
| TransportTerms | String | The transport information for the shipment described by the order and the ship notice. This information comes from the order specified by the buyer and has to be included in the ship notice, so that these can be edited by the supplier, if required. This information and possible changes have to be carried back to the buyer. | |
| TransportTermsDesc | String | Transport terms description. | |
| IsoCountryCode | String | The International Organization for Standardization (ISO) country code for the country in the shipping address. | |
| PoShipToState | String | The State element is a two-letter state, province, or territory code for the location where the goods are to be shipped. | |
| PoShipToCountry | String | The Country element is the country where goods are to be shipped. | |
| PoShipToCity | String | The City element is the city where ordered products are to be shipped. | |
| PoShipToStreet | String | The Street element is the street address of the ShipTo location where ordered products are to be delivered. | |
| PoShipToCode | String | Po ship to code. | |
| PoShipToPostalCode | String | The PostalCode element is the postal or zip code where goods are to be shipped. | |
| DocumentStatus | String | Document status. | |
| DashboardStatus | String | Order Status indicates where the order stands with regards to your processing of the order. | |
| RoutingStatus | String | Routing Status indicates whether a purchase order or service order is queued, sent, acknowledged, or if routing failed. | |
| OrderDate | Datetime | The date and time the order was created. | |
| Created | Datetime | Date the order was created. | |
| HideAmount | Bool | An extrinsic that allows you to mask values for the amount. | |
| AmountAvailableConversionDate | Datetime | Amount available conversion date. | |
| AmountAvailableAmount | Decimal | Amount available. | |
| AmountAvailableApprox | Decimal | Amount available approx. | |
| AmountAvailableCurrencyCode | String | Amount available currency code. | |
| BalanceConversionDate | Datetime | In case of partially invoiced PO, the balance left on the PO to be invoiced conversion date. | |
| BalanceAmount | Decimal | In case of partially invoiced PO, the balance left on the PO to be invoiced amount. | |
| BalanceApprox | Decimal | In case of partially invoiced PO, the balance left on the PO to be invoiced approx. | |
| BalanceCurrencyCode | String | In case of partially invoiced PO, the balance left on the PO to be invoiced currency code. | |
| InvoicedAmountConversionDate | Datetime | Invoiced amount conversion date. | |
| InvoicedAmountAmount | Decimal | Invoiced amount. | |
| InvoicedAmountApprox | Decimal | Invoiced amount approx. | |
| InvoicedAmountCurrencyCode | String | Invoiced amount currency code. | |
| PoAmountConversionDate | Datetime | Total cost of the order conversion date. | |
| PoAmountAmount | Decimal | Total cost of the order amount. | |
| PoAmountApprox | Decimal | Total cost of the order approx. | |
| PoAmountCurrencyCode | String | Total cost of the order currency code. | |
| PoShipToNameKid | String | For ship to, the Name element value should be the company or organization of the employee receiving ordered products. Kid. | |
| PoShipToNameValue | String | For ship to, the Name element value should be the company or organization of the employee receiving ordered products. Value. | |
| PoShipToNameEncryptedValue | String | For ship to, the Name element value should be the company or organization of the employee receiving ordered products. Encrypted value. | |
| OrderStatus | String | Indicates what state of processing the order has reached. | |
| StartDate | Datetime | Searches by the date on which SAP Business Network receives the purchase order. The maximum date range is 31 days. These two parameters startDate and endDate must exist together or neither. | |
| EndDate | Datetime | Searches by the date on which SAP Business Network receives the purchase order. The maximum date range is 31 days. These two parameters startDate and endDate must exist together or neither. |
Stored procedures are function-like interfaces that extend the functionality of the Cloud beyond simple SELECT/INSERT/UPDATE/DELETE operations with SAP Ariba.
Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from SAP Ariba, along with an indication of whether the procedure succeeded or failed.
| Name | Description |
This section shows example available objects in the Operational Reporting API For Procurement and provides more information about using SQL with it.
This is a dynamic schema. The view templates included are examples for documentation purposes.
Tables describes the available tables. Tables are statically defined to model resources like Views.
Views are read-only tables that model SAP Ariba transaction data.
Stored Procedures are function-like interfaces to the data source that perform tasks such as OAuth token management.
The Cloud models the data in SAP Ariba as a list of tables in a relational database that can be queried using standard SQL statements.
| Name | Description |
| Views | Get all view templates for a realm. |
Get all view templates for a realm.
The Cloud uses the SAP Ariba API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
SELECT * FROM Views WHERE ViewTemplateName='Contract_SAP_createdRange_v1'
SELECT * FROM Views WHERE Status='published'
SELECT * FROM Views WHERE DocumentType='DirectOrder'
You can create views by executing INSERT statements and specifying the ViewTemplateName, Status, DocumentType, SelectAttributes and FilterExpressions. For example:
INSERT INTO Views (ViewTemplateName, Status, DocumentType, SelectAttributes, FilterExpressions) VALUES ('TestView','published','DirectOrder', '["SubmitDate"]','[{"name":"ExampleFilter","field":"UniqueName","op":"IN","defaultValue":["P011"]}]')
You can update the status of views by executing UPDATE statements and specifying the ViewTemplateName and Status. For example:
UPDATE Views SET Status='published' WHERE ViewTemplateName='TestView'
| Name | Type | ReadOnly | References | Description |
| ViewTemplateName [KEY] | String | False |
The name of the view. | |
| Type | String | False |
The type of view template. | |
| Status | String | False |
Status of the view template. | |
| DocumentType | String | False |
The type of transaction data this view template queries. | |
| SelectAttributes | String | False |
The fields that will be included in the response to queries using this view template. | |
| FilterExpressions | String | False |
A collection of objects that defines filters for the view template. |
Views are similar to tables in the way that data is represented; however, views are read-only.
Queries can be executed against a view as if it were a normal table.
| Name | Description |
| ContractSAPcreatedRangev1 | A 'system vsap' view template that queries 'Contract' transaction data. |
| ContractSAPupdatedRangev1 | A 'system vsap' view template that queries 'Contract' transaction data. |
| CopyOrderSAPcreatedRange | A 'system vsap' view template that queries 'CopyOrder' transaction data. |
| CopyOrderSAPupdatedRange | A 'system vsap' view template that queries 'CopyOrder' transaction data. |
| DirectOrderSAPcreatedRange | A 'system vsap' view template that queries 'DirectOrder' transaction data. |
| DirectOrderSAPupdatedRange | A 'system vsap' view template that queries 'DirectOrder' transaction data. |
| ERPOrderSAPcreatedRange | A 'system vsap' view template that queries 'ERPOrder' transaction data. |
| ERPOrderSAPupdatedRange | A 'system vsap' view template that queries 'ERPOrder' transaction data. |
| InvoiceReconciliationSAPcreatedRange | A 'system vsap' view template that queries 'InvoiceReconciliation' transaction data. |
| InvoiceReconciliationSAPupdatedRange | A 'system vsap' view template that queries 'InvoiceReconciliation' transaction data. |
| ReceiptSAPcreatedRange | A 'system vsap' view template that queries 'Receipt' transaction data. |
| ReceiptSAPupdatedRange | A 'system vsap' view template that queries 'Receipt' transaction data. |
| ViewChildElements | Get all child elements for a specific view template. |
| ViewFields | Request a list of all supported document types or a list of all filter and selection fields, either for a single document type or for all document types, that can be used to create custom view templates. |
A 'system vsap' view template that queries 'Contract' transaction data.
The Cloud uses the SAP Ariba API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
SELECT * FROM ContractSAPcreatedRange WHERE createdDateFrom='2024-01-01 00:00:00.0' AND createdDateTo='2024-02-01 00:00:00.0'
SELECT * FROM ContractSAPcreatedRange WHERE IncludeInactive='True'
| Name | Type | References | Description |
| ForecastedSpend_TotalAmount_AmountInReportingCurrency | Decimal | ||
| ForecastedSpend_TotalAmount_ApproxAmountInBaseCurrency | Decimal | ||
| ForecastedSpend_TotalAmount_Amount | Decimal | ||
| ForecastedSpend_TotalAmount_ConversionDate | Datetime | ||
| ForecastedSpend_TotalAmount_Currency_UniqueName | String | ||
| Description | String | Description associated with the contract. | |
| IsAutoRelease | Bool | This denotes if this contract is an Auto Release Contract. | |
| InitialUniqueName | String | The ID of the contract when it was first created. This field is used for internal purpose only. | |
| ForecastedSpend_Frequency_UniqueName | String | ||
| ExternalID | String | ExternalID is an Id from external system used while generating the UniqueName for the MA | |
| SupplierLocation_State | String | ||
| SupplierLocation_Phone | String | ||
| SupplierLocation_Country_UniqueName | String | ||
| SupplierLocation_PostalCode | String | ||
| SupplierLocation_City | String | ||
| SupplierLocation_Fax | String | ||
| SupplierLocation_UniqueName | String | ||
| SupplierLocation_Lines | String | ||
| SupplierLocation_Name | String | ||
| SubPreloadAmount_AmountInReportingCurrency | Decimal | ||
| SubPreloadAmount_ApproxAmountInBaseCurrency | Decimal | ||
| SubPreloadAmount_Amount | Decimal | ||
| SubPreloadAmount_ConversionDate | Datetime | ||
| SubPreloadAmount_Currency_UniqueName | String | ||
| PaymentTerms_UniqueName | String | ||
| CreateDate | Datetime | The date when a contract is created. | |
| Attachments | String | ||
| TermType | String | The term type of a contract. | |
| MaxAmount_AmountInReportingCurrency | Decimal | ||
| MaxAmount_ApproxAmountInBaseCurrency | Decimal | ||
| MaxAmount_Amount | Decimal | ||
| MaxAmount_ConversionDate | Datetime | ||
| MaxAmount_Currency_UniqueName | String | ||
| Name | String | The title of a contract. | |
| TimeCreated | Datetime | The time when a contract is created. | |
| ParentAgreement_UniqueName | String | ||
| Requester_UniqueName | String | The user on behalf of whom a requisition is created. Typically, the preparer and requester of a requisition are the same user. If a preparer creates a requisition for someone else, the requester is the user for whom the requisition is created. | |
| ExternalSourcingId | String | The ID of the contract request in the sourcing system. | |
| MinAmount_AmountInReportingCurrency | Decimal | ||
| MinAmount_ApproxAmountInBaseCurrency | Decimal | ||
| MinAmount_Amount | Decimal | ||
| MinAmount_ConversionDate | Datetime | ||
| MinAmount_Currency_UniqueName | String | ||
| Currency_UniqueName | String | ||
| Supplier_UniqueName | String | ||
| Supplier_Name | String | ||
| Items | String | ||
| MaxAmountTolerancePercent | Decimal | This denotes the amount above the MaxAmount allowing users to create releases against the contract. The Master Agreement will move to the Closed state when the tolerance is reached. A null value means the tolerance or the MaxAmount has not been set and the contract will stay Open until the Expiration Date or a user explicitly closes the contract. | |
| ReleaseType | String | This determines the type of releases associated with the contract. | |
| LineItems | String | ||
| StatusString | String | The approval state of a contract. Example: Processed, Open, or Closed. | |
| SubAgreements | String | ||
| IsBlanketPurchaseOrder | Bool | This denotes if the created contract is a blanket purchase order. | |
| PurchaseOrg_UniqueName | String | ||
| ReleaseMinAmount_AmountInReportingCurrency | Decimal | ||
| ReleaseMinAmount_ApproxAmountInBaseCurrency | Decimal | ||
| ReleaseMinAmount_Amount | Decimal | ||
| ReleaseMinAmount_ConversionDate | Datetime | ||
| ReleaseMinAmount_Currency_UniqueName | String | ||
| TimeUpdated | Datetime | The time when a contract was last updated. | |
| ReleaseMaxAmount_AmountInReportingCurrency | Decimal | ||
| ReleaseMaxAmount_ApproxAmountInBaseCurrency | Decimal | ||
| ReleaseMaxAmount_Amount | Decimal | ||
| ReleaseMaxAmount_ConversionDate | Datetime | ||
| ReleaseMaxAmount_Currency_UniqueName | String | ||
| PreloadAmount_AmountInReportingCurrency | Decimal | ||
| PreloadAmount_ApproxAmountInBaseCurrency | Decimal | ||
| PreloadAmount_Amount | Decimal | ||
| PreloadAmount_ConversionDate | Datetime | ||
| PreloadAmount_Currency_UniqueName | String | ||
| ForecastedSpend_SavingPercentage | Decimal | This denotes the saving percent in spend forecast of a contract. | |
| Active | Bool | Indicates whether a contract is currently in use in the buying solution. This field can contain the values as True or False. False indicates inactive contracts. Inactive contracts are considered as those that are deleted and do not appear in search results and contract choosers. | |
| GlobalReleaseFlag | Bool | This denotes if releases can be made against this contract from partitions other than the partition where the contract was created in. If this flag is set to false, then only users in the same partition can create releases against the contract. If the flag is set to true then users in all of the partitions can create releases against this contract. | |
| ProcurementUnit_UniqueName | String | ||
| ExpirationDate | Datetime | This denotes the date on which contract is expired and no longer available for ordering. | |
| ReleaseTolerancePercent | Decimal | This denotes the percentage amount under which and over which a release can exceed the MinReleaseAmount and the MaxReleaseAmount before DefaultApprovers is added as an Approver. If the release exceeds those values within the tolerance, DefaultApprovers is added as a watcher. | |
| UniqueName | String | The unique ID of a contract. Example: C123. | |
| CompanyCode_UniqueName | String | The unique internal identifier for the SAP company code. | |
| HierarchicalType | String | This denotes the hierarchical type of this contract. | |
| Evergreen | Bool | This denotes if contract is in effect for ever. | |
| Preparer_UniqueName | String | The user who creates a requisition and submits it for approval. | |
| EffectiveDate | Datetime | This denotes the date from which contract is available for release. | |
| IncludeInactive | Bool | By default, API responses do not include inactive transactions. You can set this query parameter to true to include inactive transactions in the responses. | |
| createdDateFrom | Datetime | This filter corresponds to the 'TimeCreated' field. The operation is '>' and the default value is '2018-03-01T23:59:59Z'. | |
| createdDateTo | Datetime | This filter corresponds to the 'TimeCreated' field. The operation is '<=' and the default value is '2018-03-29T23:59:59Z'. |
A 'system vsap' view template that queries 'Contract' transaction data.
The Cloud uses the SAP Ariba API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
SELECT * FROM ContractSAPupdatedRange WHERE updatedDateFrom='2024-01-01 00:00:00.0' AND updatedDateTo='2024-02-01 00:00:00.0'
SELECT * FROM ContractSAPupdatedRange WHERE IncludeInactive='True'
| Name | Type | References | Description |
| ForecastedSpend_TotalAmount_AmountInReportingCurrency | Decimal | ||
| ForecastedSpend_TotalAmount_ApproxAmountInBaseCurrency | Decimal | ||
| ForecastedSpend_TotalAmount_Amount | Decimal | ||
| ForecastedSpend_TotalAmount_ConversionDate | Datetime | ||
| ForecastedSpend_TotalAmount_Currency_UniqueName | String | ||
| Description | String | Description associated with the contract. | |
| IsAutoRelease | Bool | This denotes if this contract is an Auto Release Contract. | |
| InitialUniqueName | String | The ID of the contract when it was first created. This field is used for internal purpose only. | |
| ForecastedSpend_Frequency_UniqueName | String | ||
| ExternalID | String | ExternalID is an Id from external system used while generating the UniqueName for the MA | |
| SupplierLocation_State | String | ||
| SupplierLocation_Phone | String | ||
| SupplierLocation_Country_UniqueName | String | ||
| SupplierLocation_PostalCode | String | ||
| SupplierLocation_City | String | ||
| SupplierLocation_Fax | String | ||
| SupplierLocation_UniqueName | String | ||
| SupplierLocation_Lines | String | ||
| SupplierLocation_Name | String | ||
| SubPreloadAmount_AmountInReportingCurrency | Decimal | ||
| SubPreloadAmount_ApproxAmountInBaseCurrency | Decimal | ||
| SubPreloadAmount_Amount | Decimal | ||
| SubPreloadAmount_ConversionDate | Datetime | ||
| SubPreloadAmount_Currency_UniqueName | String | ||
| PaymentTerms_UniqueName | String | ||
| CreateDate | Datetime | The date when a contract is created. | |
| Attachments | String | ||
| TermType | String | The term type of a contract. | |
| MaxAmount_AmountInReportingCurrency | Decimal | ||
| MaxAmount_ApproxAmountInBaseCurrency | Decimal | ||
| MaxAmount_Amount | Decimal | ||
| MaxAmount_ConversionDate | Datetime | ||
| MaxAmount_Currency_UniqueName | String | ||
| Name | String | The title of a contract. | |
| TimeCreated | Datetime | The time when a contract is created. | |
| ParentAgreement_UniqueName | String | ||
| Requester_UniqueName | String | The user on behalf of whom a requisition is created. Typically, the preparer and requester of a requisition are the same user. If a preparer creates a requisition for someone else, the requester is the user for whom the requisition is created. | |
| ExternalSourcingId | String | The ID of the contract request in the sourcing system. | |
| MinAmount_AmountInReportingCurrency | Decimal | ||
| MinAmount_ApproxAmountInBaseCurrency | Decimal | ||
| MinAmount_Amount | Decimal | ||
| MinAmount_ConversionDate | Datetime | ||
| MinAmount_Currency_UniqueName | String | ||
| Currency_UniqueName | String | ||
| Supplier_UniqueName | String | ||
| Supplier_Name | String | ||
| Items | String | ||
| MaxAmountTolerancePercent | Decimal | This denotes the amount above the MaxAmount allowing users to create releases against the contract. The Master Agreement will move to the Closed state when the tolerance is reached. A null value means the tolerance or the MaxAmount has not been set and the contract will stay Open until the Expiration Date or a user explicitly closes the contract. | |
| ReleaseType | String | This determines the type of releases associated with the contract. | |
| LineItems | String | ||
| StatusString | String | The approval state of a contract. Example: Processed, Open, or Closed. | |
| SubAgreements | String | ||
| IsBlanketPurchaseOrder | Bool | This denotes if the created contract is a blanket purchase order. | |
| PurchaseOrg_UniqueName | String | ||
| ReleaseMinAmount_AmountInReportingCurrency | Decimal | ||
| ReleaseMinAmount_ApproxAmountInBaseCurrency | Decimal | ||
| ReleaseMinAmount_Amount | Decimal | ||
| ReleaseMinAmount_ConversionDate | Datetime | ||
| ReleaseMinAmount_Currency_UniqueName | String | ||
| TimeUpdated | Datetime | The time when a contract was last updated. | |
| ReleaseMaxAmount_AmountInReportingCurrency | Decimal | ||
| ReleaseMaxAmount_ApproxAmountInBaseCurrency | Decimal | ||
| ReleaseMaxAmount_Amount | Decimal | ||
| ReleaseMaxAmount_ConversionDate | Datetime | ||
| ReleaseMaxAmount_Currency_UniqueName | String | ||
| PreloadAmount_AmountInReportingCurrency | Decimal | ||
| PreloadAmount_ApproxAmountInBaseCurrency | Decimal | ||
| PreloadAmount_Amount | Decimal | ||
| PreloadAmount_ConversionDate | Datetime | ||
| PreloadAmount_Currency_UniqueName | String | ||
| ForecastedSpend_SavingPercentage | Decimal | This denotes the saving percent in spend forecast of a contract. | |
| Active | Bool | Indicates whether a contract is currently in use in the buying solution. This field can contain the values as True or False. False indicates inactive contracts. Inactive contracts are considered as those that are deleted and do not appear in search results and contract choosers. | |
| GlobalReleaseFlag | Bool | This denotes if releases can be made against this contract from partitions other than the partition where the contract was created in. If this flag is set to false, then only users in the same partition can create releases against the contract. If the flag is set to true then users in all of the partitions can create releases against this contract. | |
| ProcurementUnit_UniqueName | String | ||
| ExpirationDate | Datetime | This denotes the date on which contract is expired and no longer available for ordering. | |
| ReleaseTolerancePercent | Decimal | This denotes the percentage amount under which and over which a release can exceed the MinReleaseAmount and the MaxReleaseAmount before DefaultApprovers is added as an Approver. If the release exceeds those values within the tolerance, DefaultApprovers is added as a watcher. | |
| UniqueName | String | The unique ID of a contract. Example: C123. | |
| CompanyCode_UniqueName | String | The unique internal identifier for the SAP company code. | |
| HierarchicalType | String | This denotes the hierarchical type of this contract. | |
| Evergreen | Bool | This denotes if contract is in effect for ever. | |
| Preparer_UniqueName | String | The user who creates a requisition and submits it for approval. | |
| EffectiveDate | Datetime | This denotes the date from which contract is available for release. | |
| IncludeInactive | Bool | By default, API responses do not include inactive transactions. You can set this query parameter to true to include inactive transactions in the responses. | |
| updatedDateFrom | Datetime | This filter corresponds to the 'TimeUpdated' field. The operation is '>' and the default value is '2018-03-01T23:59:59Z'. | |
| updatedDateTo | Datetime | This filter corresponds to the 'TimeUpdated' field. The operation is '<=' and the default value is '2018-03-29T23:59:59Z'. |
A 'system vsap' view template that queries 'CopyOrder' transaction data.
The Cloud uses the SAP Ariba API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
SELECT * FROM CopyOrderSAPcreatedRange WHERE createdDateFrom='2024-01-01 00:00:00.0' AND createdDateTo='2024-02-01 00:00:00.0'
SELECT * FROM CopyOrderSAPcreatedRange WHERE IncludeInactive='True'
| Name | Type | References | Description |
| ApprovedState | String | An integer value representing the current approval state of a purchase order. This field is used for internal purpose only. | |
| InitialUniqueName | String | The ID of the purchase order when it was first created. This field is used for internal purpose only. | |
| InvoicedState | String | The status indicating whether a line item is invoiced (fully or partially) or not invoiced. | |
| SubmitDate | Datetime | The date when a purchase order is successfully submitted for approval. | |
| ReceivedState | String | The status indicating whether a line item is received (either fully or partially) or not received. | |
| HoldTillDate | Datetime | The date until which processing of a fully approved requisition is withheld. | |
| SupplierLocation_State | String | ||
| SupplierLocation_Phone | String | ||
| SupplierLocation_Country_UniqueName | String | ||
| SupplierLocation_PostalCode | String | ||
| SupplierLocation_City | String | ||
| SupplierLocation_Fax | String | ||
| SupplierLocation_UniqueName | String | ||
| SupplierLocation_Lines | String | ||
| SupplierLocation_Name | String | ||
| NumberReceivableOrders | Int | The number of orders that are not fully received. | |
| OrderID | String | The unique ID of a purchase order. Example: PO456. | |
| OrderStatusPunchOutDisabled | Bool | Indicates whether the punchout link on a purchase order is disabled. | |
| ChargeAmount_AmountInReportingCurrency | Decimal | ||
| ChargeAmount_ApproxAmountInBaseCurrency | Decimal | ||
| ChargeAmount_Amount | Decimal | ||
| ChargeAmount_ConversionDate | Datetime | ||
| ChargeAmount_Currency_UniqueName | String | ||
| CreateDate | Datetime | The date when a purchase order is created. | |
| Conditions_UniqueName | String | ||
| Conditions_TAndCVersion | Int | ||
| Name | String | The title of a purchase order. | |
| TotalCost_AmountInReportingCurrency | Decimal | ||
| TotalCost_ApproxAmountInBaseCurrency | Decimal | ||
| TotalCost_Amount | Decimal | ||
| TotalCost_ConversionDate | Datetime | ||
| TotalCost_Currency_UniqueName | String | ||
| OrderConfirmationState | String | The status of the order confirmation for a purchase order. | |
| LastModified | Datetime | The date when a purchase order was last modified. Actions that lead to updates to the history record of a purchase order trigger changes to the last modified date. | |
| TimeCreated | Datetime | The time when a purchase order is created. | |
| AdvancedShipNoticeState | String | The status of the ship notice for an order. | |
| Requester_UniqueName | String | The user on behalf of whom a requisition is created. Typically, the preparer and requester of a requisition are the same user. If a preparer creates a requisition for someone else, the requester is the user for whom the requisition is created. | |
| Version | Int | The internal version number assigned to an approvable document. This field is used for optimistic locking and ensures that changes to the document are followed in an appropriate sequence. This field is used for internal purposes only. | |
| InvoicedDate | Datetime | The date when an order was last invoiced. | |
| UsePOLineNumberForIntegration | Bool | Determines how a line number is assigned to an item on the purchase order. Depending on the settings for the Application.Procure.UsePOLineNumberForExternalIntegration parameter, this field can contain the line number assigned to it in the buying solution or retain the line number assigned in the external ERP system. | |
| AmountAccepted_AmountInReportingCurrency | Decimal | ||
| AmountAccepted_ApproxAmountInBaseCurrency | Decimal | ||
| AmountAccepted_Amount | Decimal | ||
| AmountAccepted_ConversionDate | Datetime | ||
| AmountAccepted_Currency_UniqueName | String | ||
| LineItems | String | ||
| OrderConfirmationStatusString | String | The status of the order confirmation associated with a purchase order. | |
| ChangedBy_UniqueName | String | ||
| OrderedState | String | The status of an order. This field can contain one of the following values: Ordering, Ordered, Canceled, Ordered with Errors or Unordered. | |
| ApprovedDate | Datetime | The date when a purchase order is fully approved. | |
| PreviousApprovalRequestsVersion | Int | The version number for the previous version of the approval request. This field is used for internal purpose only. | |
| ResubmitDate | Datetime | The date when a purchase order is resubmitted for approval. A purchase order is considered as resubmitted if a user edits a denied purchase order and resubmits it for approval. Note: Purchase orders that are withdrawn by the preparer and submitted again are not considered as resubmitted purchase orders. | |
| NumberCleared | Decimal | The number of invoiced items on an order that have been cleared after invoices are reconciled. | |
| OrderMethodCategory | String | The ordering method configured for a customer site. This field contains one of the following values: Direct, PCard, or ERP. | |
| RejectionReason | String | The reason provided by a supplier on Ariba Network while rejecting an order. | |
| Active | Bool | Indicates whether a purchase order is currently in use in the buying solution. This field can contain the values as True or False. False indicates inactive purchase orders. Inactive purchase orders are considered as those that are deleted and do not appear in search results and purchase order choosers. | |
| ReceivedDate | Datetime | The date when a shipment of an item was last received. | |
| AmountBilled_AmountInReportingCurrency | Decimal | ||
| AmountBilled_ApproxAmountInBaseCurrency | Decimal | ||
| AmountBilled_Amount | Decimal | ||
| AmountBilled_ConversionDate | Datetime | ||
| AmountBilled_Currency_UniqueName | String | ||
| NextVersion | String | ||
| NumberBilled | Decimal | The total number of invoiced items on an order. | |
| UniqueName | String | The unique ID of a purchase order. Example: PO456. | |
| ReportingCurrency_UniqueName | String | ||
| OrderedDate | Datetime | The date when an order is sent to the supplier. | |
| ManuallyOrdered | Bool | Indicates whether an order needs to be processed manually. | |
| IsFromExternalReq | Bool | Indicates whether an order originated from Fieldglass. Fieldglass orders are not included in order choosers when users select orders to create PO-based invoices. | |
| MasterAgreement_UniqueName | String | ||
| AmountCleared_AmountInReportingCurrency | Decimal | ||
| AmountCleared_ApproxAmountInBaseCurrency | Decimal | ||
| AmountCleared_Amount | Decimal | ||
| AmountCleared_ConversionDate | Datetime | ||
| AmountCleared_Currency_UniqueName | String | ||
| OriginatingSystem | String | The external system from which a order is imported. This field contains the value Imported if the ID of the external system is not available. | |
| PaymentTerms_UniqueName | String | ||
| NumberReceivableLineItems | Int | The number of line items on a purchase order that are not fully received. | |
| Attachments | String | ||
| AmountReconciled_AmountInReportingCurrency | Decimal | ||
| AmountReconciled_ApproxAmountInBaseCurrency | Decimal | ||
| AmountReconciled_Amount | Decimal | ||
| AmountReconciled_ConversionDate | Datetime | ||
| AmountReconciled_Currency_UniqueName | String | ||
| Supplier_UniqueName | String | ||
| Supplier_Name | String | ||
| AmountRejected_AmountInReportingCurrency | Decimal | ||
| AmountRejected_ApproxAmountInBaseCurrency | Decimal | ||
| AmountRejected_Amount | Decimal | ||
| AmountRejected_ConversionDate | Datetime | ||
| AmountRejected_Currency_UniqueName | String | ||
| StatusString | String | The status of a purchase order. Example: Ordering or Ordered. | |
| PreOrdered | Bool | Indicates whether a purchasing card order originated from the buying solution and not an external system. | |
| IsBlanketOrder | Bool | Indicates whether an order is a blanket purchase order. | |
| PreviousVersion | String | ||
| ApprovalRequestsVersion | Int | The version of an approval request when it was generated. This field is used for internal purpose only. | |
| AmountInvoiced_AmountInReportingCurrency | Decimal | ||
| AmountInvoiced_ApproxAmountInBaseCurrency | Decimal | ||
| AmountInvoiced_Amount | Decimal | ||
| AmountInvoiced_ConversionDate | Datetime | ||
| AmountInvoiced_Currency_UniqueName | String | ||
| TimeUpdated | Datetime | The time when a purchase order was last updated. | |
| OriginatingSystemReferenceID | String | The external system ID of an order associated with an imported requisition. | |
| VersionNumber | Int | The version number of an order. | |
| Type | String | The internal name for the approvable document. For example, the internal name for purchase order is ariba.purchasing.core.PurchaseOrder. | |
| ExpirationDate | Datetime | The expiration date of a purchase order. | |
| Closed | String | Indicates whether an order is closed for invoicing. This field can contain one of these values: 1 - The purchase order is in an Open state, 2 - The purchase order is closed for change, 3 - The purchase order is closed for receiving, 4 - The purchase order is closed for invoicing, 5 - The purchase order is closed for all actions, 6 - The purchase order is adjusted and closed for receiving, 7 - The purchase order is closed for receiving and invoicing, or -1 - The purchase order is closed for various actions. | |
| IsServiceOrder | Bool | Indicates whether a purchase order is a service purchase order. Note: Service purchase orders are orders consisting of service items that follow the service sheet process. | |
| Requisition_UniqueName | String | ||
| Preparer_UniqueName | String | The user who creates a requisition and submits it for approval. | |
| CompanyCode_UniqueName | String | The unique name for the SAP company code. | |
| IncludeInactive | Bool | By default, API responses do not include inactive transactions. You can set this query parameter to true to include inactive transactions in the responses. | |
| createdDateFrom | Datetime | This filter corresponds to the 'TimeCreated' field. The operation is '>' and the default value is '2018-03-01T23:59:59Z'. | |
| createdDateTo | Datetime | This filter corresponds to the 'TimeCreated' field. The operation is '<=' and the default value is '2018-03-29T23:59:59Z'. |
A 'system vsap' view template that queries 'CopyOrder' transaction data.
The Cloud uses the SAP Ariba API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
SELECT * FROM CopyOrderSAPupdatedRange WHERE updatedDateFrom='2024-01-01 00:00:00.0' AND updatedDateTo='2024-02-01 00:00:00.0'
SELECT * FROM CopyOrderSAPupdatedRange WHERE IncludeInactive='True'
| Name | Type | References | Description |
| ApprovedState | String | An integer value representing the current approval state of a purchase order. This field is used for internal purpose only. | |
| InitialUniqueName | String | The ID of the purchase order when it was first created. This field is used for internal purpose only. | |
| InvoicedState | String | The status indicating whether a line item is invoiced (fully or partially) or not invoiced. | |
| SubmitDate | Datetime | The date when a purchase order is successfully submitted for approval. | |
| ReceivedState | String | The status indicating whether a line item is received (either fully or partially) or not received. | |
| HoldTillDate | Datetime | The date until which processing of a fully approved requisition is withheld. | |
| SupplierLocation_State | String | ||
| SupplierLocation_Phone | String | ||
| SupplierLocation_Country_UniqueName | String | ||
| SupplierLocation_PostalCode | String | ||
| SupplierLocation_City | String | ||
| SupplierLocation_Fax | String | ||
| SupplierLocation_UniqueName | String | ||
| SupplierLocation_Lines | String | ||
| SupplierLocation_Name | String | ||
| NumberReceivableOrders | Int | The number of orders that are not fully received. | |
| OrderID | String | The unique ID of a purchase order. Example: PO456. | |
| OrderStatusPunchOutDisabled | Bool | Indicates whether the punchout link on a purchase order is disabled. | |
| ChargeAmount_AmountInReportingCurrency | Decimal | ||
| ChargeAmount_ApproxAmountInBaseCurrency | Decimal | ||
| ChargeAmount_Amount | Decimal | ||
| ChargeAmount_ConversionDate | Datetime | ||
| ChargeAmount_Currency_UniqueName | String | ||
| CreateDate | Datetime | The date when a purchase order is created. | |
| Conditions_UniqueName | String | ||
| Conditions_TAndCVersion | Int | ||
| Name | String | The title of a purchase order. | |
| TotalCost_AmountInReportingCurrency | Decimal | ||
| TotalCost_ApproxAmountInBaseCurrency | Decimal | ||
| TotalCost_Amount | Decimal | ||
| TotalCost_ConversionDate | Datetime | ||
| TotalCost_Currency_UniqueName | String | ||
| OrderConfirmationState | String | The status of the order confirmation for a purchase order. | |
| LastModified | Datetime | The date when a purchase order was last modified. Actions that lead to updates to the history record of a purchase order trigger changes to the last modified date. | |
| TimeCreated | Datetime | The time when a purchase order is created. | |
| AdvancedShipNoticeState | String | The status of the ship notice for an order. | |
| Requester_UniqueName | String | The user on behalf of whom a requisition is created. Typically, the preparer and requester of a requisition are the same user. If a preparer creates a requisition for someone else, the requester is the user for whom the requisition is created. | |
| Version | Int | The internal version number assigned to an approvable document. This field is used for optimistic locking and ensures that changes to the document are followed in an appropriate sequence. This field is used for internal purposes only. | |
| InvoicedDate | Datetime | The date when an order was last invoiced. | |
| UsePOLineNumberForIntegration | Bool | Determines how a line number is assigned to an item on the purchase order. Depending on the settings for the Application.Procure.UsePOLineNumberForExternalIntegration parameter, this field can contain the line number assigned to it in the buying solution or retain the line number assigned in the external ERP system. | |
| AmountAccepted_AmountInReportingCurrency | Decimal | ||
| AmountAccepted_ApproxAmountInBaseCurrency | Decimal | ||
| AmountAccepted_Amount | Decimal | ||
| AmountAccepted_ConversionDate | Datetime | ||
| AmountAccepted_Currency_UniqueName | String | ||
| LineItems | String | ||
| OrderConfirmationStatusString | String | The status of the order confirmation associated with a purchase order. | |
| ChangedBy_UniqueName | String | ||
| OrderedState | String | The status of an order. This field can contain one of the following values: Ordering, Ordered, Canceled, Ordered with Errors or Unordered. | |
| ApprovedDate | Datetime | The date when a purchase order is fully approved. | |
| PreviousApprovalRequestsVersion | Int | The version number for the previous version of the approval request. This field is used for internal purpose only. | |
| ResubmitDate | Datetime | The date when a purchase order is resubmitted for approval. A purchase order is considered as resubmitted if a user edits a denied purchase order and resubmits it for approval. Note: Purchase orders that are withdrawn by the preparer and submitted again are not considered as resubmitted purchase orders. | |
| NumberCleared | Decimal | The number of invoiced items on an order that have been cleared after invoices are reconciled. | |
| OrderMethodCategory | String | The ordering method configured for a customer site. This field contains one of the following values: Direct, PCard, or ERP. | |
| RejectionReason | String | The reason provided by a supplier on Ariba Network while rejecting an order. | |
| Active | Bool | Indicates whether a purchase order is currently in use in the buying solution. This field can contain the values as True or False. False indicates inactive purchase orders. Inactive purchase orders are considered as those that are deleted and do not appear in search results and purchase order choosers. | |
| ReceivedDate | Datetime | The date when a shipment of an item was last received. | |
| AmountBilled_AmountInReportingCurrency | Decimal | ||
| AmountBilled_ApproxAmountInBaseCurrency | Decimal | ||
| AmountBilled_Amount | Decimal | ||
| AmountBilled_ConversionDate | Datetime | ||
| AmountBilled_Currency_UniqueName | String | ||
| NextVersion | String | ||
| NumberBilled | Decimal | The total number of invoiced items on an order. | |
| UniqueName | String | The unique ID of a purchase order. Example: PO456. | |
| ReportingCurrency_UniqueName | String | ||
| OrderedDate | Datetime | The date when an order is sent to the supplier. | |
| ManuallyOrdered | Bool | Indicates whether an order needs to be processed manually. | |
| IsFromExternalReq | Bool | Indicates whether an order originated from Fieldglass. Fieldglass orders are not included in order choosers when users select orders to create PO-based invoices. | |
| MasterAgreement_UniqueName | String | ||
| AmountCleared_AmountInReportingCurrency | Decimal | ||
| AmountCleared_ApproxAmountInBaseCurrency | Decimal | ||
| AmountCleared_Amount | Decimal | ||
| AmountCleared_ConversionDate | Datetime | ||
| AmountCleared_Currency_UniqueName | String | ||
| OriginatingSystem | String | The external system from which a order is imported. This field contains the value Imported if the ID of the external system is not available. | |
| PaymentTerms_UniqueName | String | ||
| NumberReceivableLineItems | Int | The number of line items on a purchase order that are not fully received. | |
| Attachments | String | ||
| AmountReconciled_AmountInReportingCurrency | Decimal | ||
| AmountReconciled_ApproxAmountInBaseCurrency | Decimal | ||
| AmountReconciled_Amount | Decimal | ||
| AmountReconciled_ConversionDate | Datetime | ||
| AmountReconciled_Currency_UniqueName | String | ||
| Supplier_UniqueName | String | ||
| Supplier_Name | String | ||
| AmountRejected_AmountInReportingCurrency | Decimal | ||
| AmountRejected_ApproxAmountInBaseCurrency | Decimal | ||
| AmountRejected_Amount | Decimal | ||
| AmountRejected_ConversionDate | Datetime | ||
| AmountRejected_Currency_UniqueName | String | ||
| StatusString | String | The status of a purchase order. Example: Ordering or Ordered. | |
| PreOrdered | Bool | Indicates whether a purchasing card order originated from the buying solution and not an external system. | |
| IsBlanketOrder | Bool | Indicates whether an order is a blanket purchase order. | |
| PreviousVersion | String | ||
| ApprovalRequestsVersion | Int | The version of an approval request when it was generated. This field is used for internal purpose only. | |
| AmountInvoiced_AmountInReportingCurrency | Decimal | ||
| AmountInvoiced_ApproxAmountInBaseCurrency | Decimal | ||
| AmountInvoiced_Amount | Decimal | ||
| AmountInvoiced_ConversionDate | Datetime | ||
| AmountInvoiced_Currency_UniqueName | String | ||
| TimeUpdated | Datetime | The time when a purchase order was last updated. | |
| OriginatingSystemReferenceID | String | The external system ID of an order associated with an imported requisition. | |
| VersionNumber | Int | The version number of an order. | |
| Type | String | The internal name for the approvable document. For example, the internal name for purchase order is ariba.purchasing.core.PurchaseOrder. | |
| ExpirationDate | Datetime | The expiration date of a purchase order. | |
| Closed | String | Indicates whether an order is closed for invoicing. This field can contain one of these values: 1 - The purchase order is in an Open state, 2 - The purchase order is closed for change, 3 - The purchase order is closed for receiving, 4 - The purchase order is closed for invoicing, 5 - The purchase order is closed for all actions, 6 - The purchase order is adjusted and closed for receiving, 7 - The purchase order is closed for receiving and invoicing, or -1 - The purchase order is closed for various actions. | |
| IsServiceOrder | Bool | Indicates whether a purchase order is a service purchase order. Note: Service purchase orders are orders consisting of service items that follow the service sheet process. | |
| Requisition_UniqueName | String | ||
| Preparer_UniqueName | String | The user who creates a requisition and submits it for approval. | |
| CompanyCode_UniqueName | String | The unique name for the SAP company code. | |
| IncludeInactive | Bool | By default, API responses do not include inactive transactions. You can set this query parameter to true to include inactive transactions in the responses. | |
| updatedDateFrom | Datetime | This filter corresponds to the 'TimeUpdated' field. The operation is '>' and the default value is '2018-03-01T23:59:59Z'. | |
| updatedDateTo | Datetime | This filter corresponds to the 'TimeUpdated' field. The operation is '<=' and the default value is '2018-03-29T23:59:59Z'. |
A 'system vsap' view template that queries 'DirectOrder' transaction data.
The Cloud uses the SAP Ariba API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
SELECT * FROM DirectOrderSAPcreatedRange WHERE createdDateFrom='2024-01-01 00:00:00.0' AND createdDateTo='2024-02-01 00:00:00.0'
SELECT * FROM DirectOrderSAPcreatedRange WHERE IncludeInactive='True'
| Name | Type | References | Description |
| ApprovedState | String | An integer value representing the current approval state of a purchase order. This field is used for internal purpose only. | |
| InitialUniqueName | String | The ID of the purchase order when it was first created. This field is used for internal purpose only. | |
| InvoicedState | String | The status indicating whether a line item is invoiced (fully or partially) or not invoiced. | |
| SubmitDate | Datetime | The date when a purchase order is successfully submitted for approval. | |
| ReceivedState | String | The status indicating whether a line item is received (either fully or partially) or not received. | |
| HoldTillDate | Datetime | The date until which processing of a fully approved requisition is withheld. | |
| SupplierLocation_State | String | ||
| SupplierLocation_Phone | String | ||
| SupplierLocation_Country_UniqueName | String | ||
| SupplierLocation_PostalCode | String | ||
| SupplierLocation_City | String | ||
| SupplierLocation_Fax | String | ||
| SupplierLocation_UniqueName | String | ||
| SupplierLocation_Lines | String | ||
| SupplierLocation_Name | String | ||
| NumberReceivableOrders | Int | The number of orders that are not fully received. | |
| OrderID | String | The unique ID of a purchase order. Example: PO456. | |
| OrderStatusPunchOutDisabled | Bool | Indicates whether the punchout link on a purchase order is disabled. | |
| ChargeAmount_AmountInReportingCurrency | Decimal | ||
| ChargeAmount_ApproxAmountInBaseCurrency | Decimal | ||
| ChargeAmount_Amount | Decimal | ||
| ChargeAmount_ConversionDate | Datetime | ||
| ChargeAmount_Currency_UniqueName | String | ||
| CreateDate | Datetime | The date when a purchase order is created. | |
| Conditions_UniqueName | String | ||
| Conditions_TAndCVersion | Int | ||
| Name | String | The title of a purchase order. | |
| TotalCost_AmountInReportingCurrency | Decimal | ||
| TotalCost_ApproxAmountInBaseCurrency | Decimal | ||
| TotalCost_Amount | Decimal | ||
| TotalCost_ConversionDate | Datetime | ||
| TotalCost_Currency_UniqueName | String | ||
| OrderConfirmationState | String | The status of the order confirmation for a purchase order. | |
| LastModified | Datetime | The date when a purchase order was last modified. Actions that lead to updates to the history record of a purchase order trigger changes to the last modified date. | |
| TimeCreated | Datetime | The time when a purchase order is created. | |
| AdvancedShipNoticeState | String | The status of the ship notice for an order. | |
| Requester_UniqueName | String | The user on behalf of whom a requisition is created. Typically, the preparer and requester of a requisition are the same user. If a preparer creates a requisition for someone else, the requester is the user for whom the requisition is created. | |
| Version | Int | The internal version number assigned to an approvable document. This field is used for optimistic locking and ensures that changes to the document are followed in an appropriate sequence. This field is used for internal purposes only. | |
| InvoicedDate | Datetime | The date when an order was last invoiced. | |
| UsePOLineNumberForIntegration | Bool | Determines how a line number is assigned to an item on the purchase order. Depending on the settings for the Application.Procure.UsePOLineNumberForExternalIntegration parameter, this field can contain the line number assigned to it in the buying solution or retain the line number assigned in the external ERP system. | |
| AmountAccepted_AmountInReportingCurrency | Decimal | ||
| AmountAccepted_ApproxAmountInBaseCurrency | Decimal | ||
| AmountAccepted_Amount | Decimal | ||
| AmountAccepted_ConversionDate | Datetime | ||
| AmountAccepted_Currency_UniqueName | String | ||
| LineItems | String | ||
| OrderConfirmationStatusString | String | The status of the order confirmation associated with a purchase order. | |
| ChangedBy_UniqueName | String | ||
| OrderedState | String | The status of an order. This field can contain one of the following values: Ordering, Ordered, Canceled, Ordered with Errors or Unordered. | |
| ApprovedDate | Datetime | The date when a purchase order is fully approved. | |
| PreviousApprovalRequestsVersion | Int | The version number for the previous version of the approval request. This field is used for internal purpose only. | |
| ResubmitDate | Datetime | The date when a purchase order is resubmitted for approval. A purchase order is considered as resubmitted if a user edits a denied purchase order and resubmits it for approval. Note: Purchase orders that are withdrawn by the preparer and submitted again are not considered as resubmitted purchase orders. | |
| NumberCleared | Decimal | The number of invoiced items on an order that have been cleared after invoices are reconciled. | |
| OrderMethodCategory | String | The ordering method configured for a customer site. This field contains one of the following values: Direct, PCard, or ERP. | |
| RejectionReason | String | The reason provided by a supplier on Ariba Network while rejecting an order. | |
| Active | Bool | Indicates whether a purchase order is currently in use in the buying solution. This field can contain the values as True or False. False indicates inactive purchase orders. Inactive purchase orders are considered as those that are deleted and do not appear in search results and purchase order choosers. | |
| ReceivedDate | Datetime | The date when a shipment of an item was last received. | |
| AmountBilled_AmountInReportingCurrency | Decimal | ||
| AmountBilled_ApproxAmountInBaseCurrency | Decimal | ||
| AmountBilled_Amount | Decimal | ||
| AmountBilled_ConversionDate | Datetime | ||
| AmountBilled_Currency_UniqueName | String | ||
| NextVersion | String | ||
| NumberBilled | Decimal | The total number of invoiced items on an order. | |
| UniqueName | String | The unique ID of a purchase order. Example: PO456. | |
| ReportingCurrency_UniqueName | String | ||
| OrderedDate | Datetime | The date when an order is sent to the supplier. | |
| ManuallyOrdered | Bool | Indicates whether an order needs to be processed manually. | |
| IsFromExternalReq | Bool | Indicates whether an order originated from Fieldglass. Fieldglass orders are not included in order choosers when users select orders to create PO-based invoices. | |
| MasterAgreement_UniqueName | String | ||
| AmountCleared_AmountInReportingCurrency | Decimal | ||
| AmountCleared_ApproxAmountInBaseCurrency | Decimal | ||
| AmountCleared_Amount | Decimal | ||
| AmountCleared_ConversionDate | Datetime | ||
| AmountCleared_Currency_UniqueName | String | ||
| OriginatingSystem | String | The external system from which a order is imported. This field contains the value Imported if the ID of the external system is not available. | |
| PaymentTerms_UniqueName | String | ||
| NumberReceivableLineItems | Int | The number of line items on a purchase order that are not fully received. | |
| Attachments | String | ||
| AmountReconciled_AmountInReportingCurrency | Decimal | ||
| AmountReconciled_ApproxAmountInBaseCurrency | Decimal | ||
| AmountReconciled_Amount | Decimal | ||
| AmountReconciled_ConversionDate | Datetime | ||
| AmountReconciled_Currency_UniqueName | String | ||
| Supplier_UniqueName | String | ||
| Supplier_Name | String | ||
| AmountRejected_AmountInReportingCurrency | Decimal | ||
| AmountRejected_ApproxAmountInBaseCurrency | Decimal | ||
| AmountRejected_Amount | Decimal | ||
| AmountRejected_ConversionDate | Datetime | ||
| AmountRejected_Currency_UniqueName | String | ||
| StatusString | String | The status of a purchase order. Example: Ordering or Ordered. | |
| PreOrdered | Bool | Indicates whether a purchasing card order originated from the buying solution and not an external system. | |
| IsBlanketOrder | Bool | Indicates whether an order is a blanket purchase order. | |
| PreviousVersion | String | ||
| ApprovalRequestsVersion | Int | The version of an approval request when it was generated. This field is used for internal purpose only. | |
| AmountInvoiced_AmountInReportingCurrency | Decimal | ||
| AmountInvoiced_ApproxAmountInBaseCurrency | Decimal | ||
| AmountInvoiced_Amount | Decimal | ||
| AmountInvoiced_ConversionDate | Datetime | ||
| AmountInvoiced_Currency_UniqueName | String | ||
| TimeUpdated | Datetime | The time when a purchase order was last updated. | |
| OriginatingSystemReferenceID | String | The external system ID of an order associated with an imported requisition. | |
| VersionNumber | Int | The version number of an order. | |
| Type | String | The internal name for the approvable document. For example, the internal name for purchase order is ariba.purchasing.core.PurchaseOrder. | |
| ExpirationDate | Datetime | The expiration date of a purchase order. | |
| Closed | String | Indicates whether an order is closed for invoicing. This field can contain one of these values: 1 - The purchase order is in an Open state, 2 - The purchase order is closed for change, 3 - The purchase order is closed for receiving, 4 - The purchase order is closed for invoicing, 5 - The purchase order is closed for all actions, 6 - The purchase order is adjusted and closed for receiving, 7 - The purchase order is closed for receiving and invoicing, or -1 - The purchase order is closed for various actions. | |
| IsServiceOrder | Bool | Indicates whether a purchase order is a service purchase order. Note: Service purchase orders are orders consisting of service items that follow the service sheet process. | |
| Requisition_UniqueName | String | ||
| Preparer_UniqueName | String | The user who creates a requisition and submits it for approval. | |
| CompanyCode_UniqueName | String | The unique name for the SAP company code. | |
| IncludeInactive | Bool | By default, API responses do not include inactive transactions. You can set this query parameter to true to include inactive transactions in the responses. | |
| createdDateFrom | Datetime | This filter corresponds to the 'TimeCreated' field. The operation is '>' and the default value is '2018-03-01T23:59:59Z'. | |
| createdDateTo | Datetime | This filter corresponds to the 'TimeCreated' field. The operation is '<=' and the default value is '2018-03-29T23:59:59Z'. |
A 'system vsap' view template that queries 'DirectOrder' transaction data.
The Cloud uses the SAP Ariba API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
SELECT * FROM DirectOrderSAPupdatedRange WHERE updatedDateFrom='2024-01-01 00:00:00.0' AND updatedDateTo='2024-02-01 00:00:00.0'
SELECT * FROM DirectOrderSAPupdatedRange WHERE IncludeInactive='True'
| Name | Type | References | Description |
| ApprovedState | String | An integer value representing the current approval state of a purchase order. This field is used for internal purpose only. | |
| InitialUniqueName | String | The ID of the purchase order when it was first created. This field is used for internal purpose only. | |
| InvoicedState | String | The status indicating whether a line item is invoiced (fully or partially) or not invoiced. | |
| SubmitDate | Datetime | The date when a purchase order is successfully submitted for approval. | |
| ReceivedState | String | The status indicating whether a line item is received (either fully or partially) or not received. | |
| HoldTillDate | Datetime | The date until which processing of a fully approved requisition is withheld. | |
| SupplierLocation_State | String | ||
| SupplierLocation_Phone | String | ||
| SupplierLocation_Country_UniqueName | String | ||
| SupplierLocation_PostalCode | String | ||
| SupplierLocation_City | String | ||
| SupplierLocation_Fax | String | ||
| SupplierLocation_UniqueName | String | ||
| SupplierLocation_Lines | String | ||
| SupplierLocation_Name | String | ||
| NumberReceivableOrders | Int | The number of orders that are not fully received. | |
| OrderID | String | The unique ID of a purchase order. Example: PO456. | |
| OrderStatusPunchOutDisabled | Bool | Indicates whether the punchout link on a purchase order is disabled. | |
| ChargeAmount_AmountInReportingCurrency | Decimal | ||
| ChargeAmount_ApproxAmountInBaseCurrency | Decimal | ||
| ChargeAmount_Amount | Decimal | ||
| ChargeAmount_ConversionDate | Datetime | ||
| ChargeAmount_Currency_UniqueName | String | ||
| CreateDate | Datetime | The date when a purchase order is created. | |
| Conditions_UniqueName | String | ||
| Conditions_TAndCVersion | Int | ||
| Name | String | The title of a purchase order. | |
| TotalCost_AmountInReportingCurrency | Decimal | ||
| TotalCost_ApproxAmountInBaseCurrency | Decimal | ||
| TotalCost_Amount | Decimal | ||
| TotalCost_ConversionDate | Datetime | ||
| TotalCost_Currency_UniqueName | String | ||
| OrderConfirmationState | String | The status of the order confirmation for a purchase order. | |
| LastModified | Datetime | The date when a purchase order was last modified. Actions that lead to updates to the history record of a purchase order trigger changes to the last modified date. | |
| TimeCreated | Datetime | The time when a purchase order is created. | |
| AdvancedShipNoticeState | String | The status of the ship notice for an order. | |
| Requester_UniqueName | String | The user on behalf of whom a requisition is created. Typically, the preparer and requester of a requisition are the same user. If a preparer creates a requisition for someone else, the requester is the user for whom the requisition is created. | |
| Version | Int | The internal version number assigned to an approvable document. This field is used for optimistic locking and ensures that changes to the document are followed in an appropriate sequence. This field is used for internal purposes only. | |
| InvoicedDate | Datetime | The date when an order was last invoiced. | |
| UsePOLineNumberForIntegration | Bool | Determines how a line number is assigned to an item on the purchase order. Depending on the settings for the Application.Procure.UsePOLineNumberForExternalIntegration parameter, this field can contain the line number assigned to it in the buying solution or retain the line number assigned in the external ERP system. | |
| AmountAccepted_AmountInReportingCurrency | Decimal | ||
| AmountAccepted_ApproxAmountInBaseCurrency | Decimal | ||
| AmountAccepted_Amount | Decimal | ||
| AmountAccepted_ConversionDate | Datetime | ||
| AmountAccepted_Currency_UniqueName | String | ||
| LineItems | String | ||
| OrderConfirmationStatusString | String | The status of the order confirmation associated with a purchase order. | |
| ChangedBy_UniqueName | String | ||
| OrderedState | String | The status of an order. This field can contain one of the following values: Ordering, Ordered, Canceled, Ordered with Errors or Unordered. | |
| ApprovedDate | Datetime | The date when a purchase order is fully approved. | |
| PreviousApprovalRequestsVersion | Int | The version number for the previous version of the approval request. This field is used for internal purpose only. | |
| ResubmitDate | Datetime | The date when a purchase order is resubmitted for approval. A purchase order is considered as resubmitted if a user edits a denied purchase order and resubmits it for approval. Note: Purchase orders that are withdrawn by the preparer and submitted again are not considered as resubmitted purchase orders. | |
| NumberCleared | Decimal | The number of invoiced items on an order that have been cleared after invoices are reconciled. | |
| OrderMethodCategory | String | The ordering method configured for a customer site. This field contains one of the following values: Direct, PCard, or ERP. | |
| RejectionReason | String | The reason provided by a supplier on Ariba Network while rejecting an order. | |
| Active | Bool | Indicates whether a purchase order is currently in use in the buying solution. This field can contain the values as True or False. False indicates inactive purchase orders. Inactive purchase orders are considered as those that are deleted and do not appear in search results and purchase order choosers. | |
| ReceivedDate | Datetime | The date when a shipment of an item was last received. | |
| AmountBilled_AmountInReportingCurrency | Decimal | ||
| AmountBilled_ApproxAmountInBaseCurrency | Decimal | ||
| AmountBilled_Amount | Decimal | ||
| AmountBilled_ConversionDate | Datetime | ||
| AmountBilled_Currency_UniqueName | String | ||
| NextVersion | String | ||
| NumberBilled | Decimal | The total number of invoiced items on an order. | |
| UniqueName | String | The unique ID of a purchase order. Example: PO456. | |
| ReportingCurrency_UniqueName | String | ||
| OrderedDate | Datetime | The date when an order is sent to the supplier. | |
| ManuallyOrdered | Bool | Indicates whether an order needs to be processed manually. | |
| IsFromExternalReq | Bool | Indicates whether an order originated from Fieldglass. Fieldglass orders are not included in order choosers when users select orders to create PO-based invoices. | |
| MasterAgreement_UniqueName | String | ||
| AmountCleared_AmountInReportingCurrency | Decimal | ||
| AmountCleared_ApproxAmountInBaseCurrency | Decimal | ||
| AmountCleared_Amount | Decimal | ||
| AmountCleared_ConversionDate | Datetime | ||
| AmountCleared_Currency_UniqueName | String | ||
| OriginatingSystem | String | The external system from which a order is imported. This field contains the value Imported if the ID of the external system is not available. | |
| PaymentTerms_UniqueName | String | ||
| NumberReceivableLineItems | Int | The number of line items on a purchase order that are not fully received. | |
| Attachments | String | ||
| AmountReconciled_AmountInReportingCurrency | Decimal | ||
| AmountReconciled_ApproxAmountInBaseCurrency | Decimal | ||
| AmountReconciled_Amount | Decimal | ||
| AmountReconciled_ConversionDate | Datetime | ||
| AmountReconciled_Currency_UniqueName | String | ||
| Supplier_UniqueName | String | ||
| Supplier_Name | String | ||
| AmountRejected_AmountInReportingCurrency | Decimal | ||
| AmountRejected_ApproxAmountInBaseCurrency | Decimal | ||
| AmountRejected_Amount | Decimal | ||
| AmountRejected_ConversionDate | Datetime | ||
| AmountRejected_Currency_UniqueName | String | ||
| StatusString | String | The status of a purchase order. Example: Ordering or Ordered. | |
| PreOrdered | Bool | Indicates whether a purchasing card order originated from the buying solution and not an external system. | |
| IsBlanketOrder | Bool | Indicates whether an order is a blanket purchase order. | |
| PreviousVersion | String | ||
| ApprovalRequestsVersion | Int | The version of an approval request when it was generated. This field is used for internal purpose only. | |
| AmountInvoiced_AmountInReportingCurrency | Decimal | ||
| AmountInvoiced_ApproxAmountInBaseCurrency | Decimal | ||
| AmountInvoiced_Amount | Decimal | ||
| AmountInvoiced_ConversionDate | Datetime | ||
| AmountInvoiced_Currency_UniqueName | String | ||
| TimeUpdated | Datetime | The time when a purchase order was last updated. | |
| OriginatingSystemReferenceID | String | The external system ID of an order associated with an imported requisition. | |
| VersionNumber | Int | The version number of an order. | |
| Type | String | The internal name for the approvable document. For example, the internal name for purchase order is ariba.purchasing.core.PurchaseOrder. | |
| ExpirationDate | Datetime | The expiration date of a purchase order. | |
| Closed | String | Indicates whether an order is closed for invoicing. This field can contain one of these values: 1 - The purchase order is in an Open state, 2 - The purchase order is closed for change, 3 - The purchase order is closed for receiving, 4 - The purchase order is closed for invoicing, 5 - The purchase order is closed for all actions, 6 - The purchase order is adjusted and closed for receiving, 7 - The purchase order is closed for receiving and invoicing, or -1 - The purchase order is closed for various actions. | |
| IsServiceOrder | Bool | Indicates whether a purchase order is a service purchase order. Note: Service purchase orders are orders consisting of service items that follow the service sheet process. | |
| Requisition_UniqueName | String | ||
| Preparer_UniqueName | String | The user who creates a requisition and submits it for approval. | |
| CompanyCode_UniqueName | String | The unique name for the SAP company code. | |
| IncludeInactive | Bool | By default, API responses do not include inactive transactions. You can set this query parameter to true to include inactive transactions in the responses. | |
| updatedDateFrom | Datetime | This filter corresponds to the 'TimeUpdated' field. The operation is '>' and the default value is '2018-03-01T23:59:59Z'. | |
| updatedDateTo | Datetime | This filter corresponds to the 'TimeUpdated' field. The operation is '<=' and the default value is '2018-03-29T23:59:59Z'. |
A 'system vsap' view template that queries 'ERPOrder' transaction data.
The Cloud uses the SAP Ariba API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
SELECT * FROM ERPOrderSAPcreatedRange WHERE createdDateFrom='2024-01-01 00:00:00.0' AND createdDateTo='2024-02-01 00:00:00.0'
SELECT * FROM ERPOrderSAPcreatedRange WHERE IncludeInactive='True'
| Name | Type | References | Description |
| ApprovedState | String | An integer value representing the current approval state of a purchase order. This field is used for internal purpose only. | |
| InitialUniqueName | String | The ID of the purchase order when it was first created. This field is used for internal purpose only. | |
| InvoicedState | String | The status indicating whether a line item is invoiced (fully or partially) or not invoiced. | |
| SubmitDate | Datetime | The date when a purchase order is successfully submitted for approval. | |
| ReceivedState | String | The status indicating whether a line item is received (either fully or partially) or not received. | |
| HoldTillDate | Datetime | The date until which processing of a fully approved requisition is withheld. | |
| SupplierLocation_State | String | ||
| SupplierLocation_Phone | String | ||
| SupplierLocation_Country_UniqueName | String | ||
| SupplierLocation_PostalCode | String | ||
| SupplierLocation_City | String | ||
| SupplierLocation_Fax | String | ||
| SupplierLocation_UniqueName | String | ||
| SupplierLocation_Lines | String | ||
| SupplierLocation_Name | String | ||
| NumberReceivableOrders | Int | The number of orders that are not fully received. | |
| OrderID | String | The unique ID of a purchase order. Example: PO456. | |
| OrderStatusPunchOutDisabled | Bool | Indicates whether the punchout link on a purchase order is disabled. | |
| ChargeAmount_AmountInReportingCurrency | Decimal | ||
| ChargeAmount_ApproxAmountInBaseCurrency | Decimal | ||
| ChargeAmount_Amount | Decimal | ||
| ChargeAmount_ConversionDate | Datetime | ||
| ChargeAmount_Currency_UniqueName | String | ||
| CreateDate | Datetime | The date when a purchase order is created. | |
| Conditions_UniqueName | String | ||
| Conditions_TAndCVersion | Int | ||
| Name | String | The title of a purchase order. | |
| TotalCost_AmountInReportingCurrency | Decimal | ||
| TotalCost_ApproxAmountInBaseCurrency | Decimal | ||
| TotalCost_Amount | Decimal | ||
| TotalCost_ConversionDate | Datetime | ||
| TotalCost_Currency_UniqueName | String | ||
| OrderConfirmationState | String | The status of the order confirmation for a purchase order. | |
| LastModified | Datetime | The date when a purchase order was last modified. Actions that lead to updates to the history record of a purchase order trigger changes to the last modified date. | |
| TimeCreated | Datetime | The time when a purchase order is created. | |
| AdvancedShipNoticeState | String | The status of the ship notice for an order. | |
| Requester_UniqueName | String | The user on behalf of whom a requisition is created. Typically, the preparer and requester of a requisition are the same user. If a preparer creates a requisition for someone else, the requester is the user for whom the requisition is created. | |
| Version | Int | The internal version number assigned to an approvable document. This field is used for optimistic locking and ensures that changes to the document are followed in an appropriate sequence. This field is used for internal purposes only. | |
| InvoicedDate | Datetime | The date when an order was last invoiced. | |
| UsePOLineNumberForIntegration | Bool | Determines how a line number is assigned to an item on the purchase order. Depending on the settings for the Application.Procure.UsePOLineNumberForExternalIntegration parameter, this field can contain the line number assigned to it in the buying solution or retain the line number assigned in the external ERP system. | |
| AmountAccepted_AmountInReportingCurrency | Decimal | ||
| AmountAccepted_ApproxAmountInBaseCurrency | Decimal | ||
| AmountAccepted_Amount | Decimal | ||
| AmountAccepted_ConversionDate | Datetime | ||
| AmountAccepted_Currency_UniqueName | String | ||
| LineItems | String | ||
| OrderConfirmationStatusString | String | The status of the order confirmation associated with a purchase order. | |
| ChangedBy_UniqueName | String | ||
| OrderedState | String | The status of an order. This field can contain one of the following values: Ordering, Ordered, Canceled, Ordered with Errors or Unordered. | |
| ApprovedDate | Datetime | The date when a purchase order is fully approved. | |
| PreviousApprovalRequestsVersion | Int | The version number for the previous version of the approval request. This field is used for internal purpose only. | |
| ResubmitDate | Datetime | The date when a purchase order is resubmitted for approval. A purchase order is considered as resubmitted if a user edits a denied purchase order and resubmits it for approval. Note: Purchase orders that are withdrawn by the preparer and submitted again are not considered as resubmitted purchase orders. | |
| NumberCleared | Decimal | The number of invoiced items on an order that have been cleared after invoices are reconciled. | |
| OrderMethodCategory | String | The ordering method configured for a customer site. This field contains one of the following values: Direct, PCard, or ERP. | |
| RejectionReason | String | The reason provided by a supplier on Ariba Network while rejecting an order. | |
| Active | Bool | Indicates whether a purchase order is currently in use in the buying solution. This field can contain the values as True or False. False indicates inactive purchase orders. Inactive purchase orders are considered as those that are deleted and do not appear in search results and purchase order choosers. | |
| ReceivedDate | Datetime | The date when a shipment of an item was last received. | |
| AmountBilled_AmountInReportingCurrency | Decimal | ||
| AmountBilled_ApproxAmountInBaseCurrency | Decimal | ||
| AmountBilled_Amount | Decimal | ||
| AmountBilled_ConversionDate | Datetime | ||
| AmountBilled_Currency_UniqueName | String | ||
| NextVersion | String | ||
| NumberBilled | Decimal | The total number of invoiced items on an order. | |
| UniqueName | String | The unique ID of a purchase order. Example: PO456. | |
| ReportingCurrency_UniqueName | String | ||
| OrderedDate | Datetime | The date when an order is sent to the supplier. | |
| ManuallyOrdered | Bool | Indicates whether an order needs to be processed manually. | |
| IsFromExternalReq | Bool | Indicates whether an order originated from Fieldglass. Fieldglass orders are not included in order choosers when users select orders to create PO-based invoices. | |
| MasterAgreement_UniqueName | String | ||
| AmountCleared_AmountInReportingCurrency | Decimal | ||
| AmountCleared_ApproxAmountInBaseCurrency | Decimal | ||
| AmountCleared_Amount | Decimal | ||
| AmountCleared_ConversionDate | Datetime | ||
| AmountCleared_Currency_UniqueName | String | ||
| OriginatingSystem | String | The external system from which a order is imported. This field contains the value Imported if the ID of the external system is not available. | |
| PaymentTerms_UniqueName | String | ||
| NumberReceivableLineItems | Int | The number of line items on a purchase order that are not fully received. | |
| Attachments | String | ||
| AmountReconciled_AmountInReportingCurrency | Decimal | ||
| AmountReconciled_ApproxAmountInBaseCurrency | Decimal | ||
| AmountReconciled_Amount | Decimal | ||
| AmountReconciled_ConversionDate | Datetime | ||
| AmountReconciled_Currency_UniqueName | String | ||
| Supplier_UniqueName | String | ||
| Supplier_Name | String | ||
| AmountRejected_AmountInReportingCurrency | Decimal | ||
| AmountRejected_ApproxAmountInBaseCurrency | Decimal | ||
| AmountRejected_Amount | Decimal | ||
| AmountRejected_ConversionDate | Datetime | ||
| AmountRejected_Currency_UniqueName | String | ||
| StatusString | String | The status of a purchase order. Example: Ordering or Ordered. | |
| PreOrdered | Bool | Indicates whether a purchasing card order originated from the buying solution and not an external system. | |
| IsBlanketOrder | Bool | Indicates whether an order is a blanket purchase order. | |
| PreviousVersion | String | ||
| ApprovalRequestsVersion | Int | The version of an approval request when it was generated. This field is used for internal purpose only. | |
| AmountInvoiced_AmountInReportingCurrency | Decimal | ||
| AmountInvoiced_ApproxAmountInBaseCurrency | Decimal | ||
| AmountInvoiced_Amount | Decimal | ||
| AmountInvoiced_ConversionDate | Datetime | ||
| AmountInvoiced_Currency_UniqueName | String | ||
| TimeUpdated | Datetime | The time when a purchase order was last updated. | |
| OriginatingSystemReferenceID | String | The external system ID of an order associated with an imported requisition. | |
| VersionNumber | Int | The version number of an order. | |
| Type | String | The internal name for the approvable document. For example, the internal name for purchase order is ariba.purchasing.core.PurchaseOrder. | |
| ExpirationDate | Datetime | The expiration date of a purchase order. | |
| Closed | String | Indicates whether an order is closed for invoicing. This field can contain one of these values: 1 - The purchase order is in an Open state, 2 - The purchase order is closed for change, 3 - The purchase order is closed for receiving, 4 - The purchase order is closed for invoicing, 5 - The purchase order is closed for all actions, 6 - The purchase order is adjusted and closed for receiving, 7 - The purchase order is closed for receiving and invoicing, or -1 - The purchase order is closed for various actions. | |
| IsServiceOrder | Bool | Indicates whether a purchase order is a service purchase order. Note: Service purchase orders are orders consisting of service items that follow the service sheet process. | |
| Requisition_UniqueName | String | ||
| Preparer_UniqueName | String | The user who creates a requisition and submits it for approval. | |
| CompanyCode_UniqueName | String | The unique name for the SAP company code. | |
| IncludeInactive | Bool | By default, API responses do not include inactive transactions. You can set this query parameter to true to include inactive transactions in the responses. | |
| createdDateFrom | Datetime | This filter corresponds to the 'TimeCreated' field. The operation is '>' and the default value is '2018-03-01T23:59:59Z'. | |
| createdDateTo | Datetime | This filter corresponds to the 'TimeCreated' field. The operation is '<=' and the default value is '2018-03-29T23:59:59Z'. |
A 'system vsap' view template that queries 'ERPOrder' transaction data.
The Cloud uses the SAP Ariba API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
SELECT * FROM ERPOrderSAPupdatedRange WHERE updatedDateFrom='2024-01-01 00:00:00.0' AND updatedDateTo='2024-02-01 00:00:00.0'
SELECT * FROM ERPOrderSAPupdatedRange WHERE IncludeInactive='True'
| Name | Type | References | Description |
| ApprovedState | String | An integer value representing the current approval state of a purchase order. This field is used for internal purpose only. | |
| InitialUniqueName | String | The ID of the purchase order when it was first created. This field is used for internal purpose only. | |
| InvoicedState | String | The status indicating whether a line item is invoiced (fully or partially) or not invoiced. | |
| SubmitDate | Datetime | The date when a purchase order is successfully submitted for approval. | |
| ReceivedState | String | The status indicating whether a line item is received (either fully or partially) or not received. | |
| HoldTillDate | Datetime | The date until which processing of a fully approved requisition is withheld. | |
| SupplierLocation_State | String | ||
| SupplierLocation_Phone | String | ||
| SupplierLocation_Country_UniqueName | String | ||
| SupplierLocation_PostalCode | String | ||
| SupplierLocation_City | String | ||
| SupplierLocation_Fax | String | ||
| SupplierLocation_UniqueName | String | ||
| SupplierLocation_Lines | String | ||
| SupplierLocation_Name | String | ||
| NumberReceivableOrders | Int | The number of orders that are not fully received. | |
| OrderID | String | The unique ID of a purchase order. Example: PO456. | |
| OrderStatusPunchOutDisabled | Bool | Indicates whether the punchout link on a purchase order is disabled. | |
| ChargeAmount_AmountInReportingCurrency | Decimal | ||
| ChargeAmount_ApproxAmountInBaseCurrency | Decimal | ||
| ChargeAmount_Amount | Decimal | ||
| ChargeAmount_ConversionDate | Datetime | ||
| ChargeAmount_Currency_UniqueName | String | ||
| CreateDate | Datetime | The date when a purchase order is created. | |
| Conditions_UniqueName | String | ||
| Conditions_TAndCVersion | Int | ||
| Name | String | The title of a purchase order. | |
| TotalCost_AmountInReportingCurrency | Decimal | ||
| TotalCost_ApproxAmountInBaseCurrency | Decimal | ||
| TotalCost_Amount | Decimal | ||
| TotalCost_ConversionDate | Datetime | ||
| TotalCost_Currency_UniqueName | String | ||
| OrderConfirmationState | String | The status of the order confirmation for a purchase order. | |
| LastModified | Datetime | The date when a purchase order was last modified. Actions that lead to updates to the history record of a purchase order trigger changes to the last modified date. | |
| TimeCreated | Datetime | The time when a purchase order is created. | |
| AdvancedShipNoticeState | String | The status of the ship notice for an order. | |
| Requester_UniqueName | String | The user on behalf of whom a requisition is created. Typically, the preparer and requester of a requisition are the same user. If a preparer creates a requisition for someone else, the requester is the user for whom the requisition is created. | |
| Version | Int | The internal version number assigned to an approvable document. This field is used for optimistic locking and ensures that changes to the document are followed in an appropriate sequence. This field is used for internal purposes only. | |
| InvoicedDate | Datetime | The date when an order was last invoiced. | |
| UsePOLineNumberForIntegration | Bool | Determines how a line number is assigned to an item on the purchase order. Depending on the settings for the Application.Procure.UsePOLineNumberForExternalIntegration parameter, this field can contain the line number assigned to it in the buying solution or retain the line number assigned in the external ERP system. | |
| AmountAccepted_AmountInReportingCurrency | Decimal | ||
| AmountAccepted_ApproxAmountInBaseCurrency | Decimal | ||
| AmountAccepted_Amount | Decimal | ||
| AmountAccepted_ConversionDate | Datetime | ||
| AmountAccepted_Currency_UniqueName | String | ||
| LineItems | String | ||
| OrderConfirmationStatusString | String | The status of the order confirmation associated with a purchase order. | |
| ChangedBy_UniqueName | String | ||
| OrderedState | String | The status of an order. This field can contain one of the following values: Ordering, Ordered, Canceled, Ordered with Errors or Unordered. | |
| ApprovedDate | Datetime | The date when a purchase order is fully approved. | |
| PreviousApprovalRequestsVersion | Int | The version number for the previous version of the approval request. This field is used for internal purpose only. | |
| ResubmitDate | Datetime | The date when a purchase order is resubmitted for approval. A purchase order is considered as resubmitted if a user edits a denied purchase order and resubmits it for approval. Note: Purchase orders that are withdrawn by the preparer and submitted again are not considered as resubmitted purchase orders. | |
| NumberCleared | Decimal | The number of invoiced items on an order that have been cleared after invoices are reconciled. | |
| OrderMethodCategory | String | The ordering method configured for a customer site. This field contains one of the following values: Direct, PCard, or ERP. | |
| RejectionReason | String | The reason provided by a supplier on Ariba Network while rejecting an order. | |
| Active | Bool | Indicates whether a purchase order is currently in use in the buying solution. This field can contain the values as True or False. False indicates inactive purchase orders. Inactive purchase orders are considered as those that are deleted and do not appear in search results and purchase order choosers. | |
| ReceivedDate | Datetime | The date when a shipment of an item was last received. | |
| AmountBilled_AmountInReportingCurrency | Decimal | ||
| AmountBilled_ApproxAmountInBaseCurrency | Decimal | ||
| AmountBilled_Amount | Decimal | ||
| AmountBilled_ConversionDate | Datetime | ||
| AmountBilled_Currency_UniqueName | String | ||
| NextVersion | String | ||
| NumberBilled | Decimal | The total number of invoiced items on an order. | |
| UniqueName | String | The unique ID of a purchase order. Example: PO456. | |
| ReportingCurrency_UniqueName | String | ||
| OrderedDate | Datetime | The date when an order is sent to the supplier. | |
| ManuallyOrdered | Bool | Indicates whether an order needs to be processed manually. | |
| IsFromExternalReq | Bool | Indicates whether an order originated from Fieldglass. Fieldglass orders are not included in order choosers when users select orders to create PO-based invoices. | |
| MasterAgreement_UniqueName | String | ||
| AmountCleared_AmountInReportingCurrency | Decimal | ||
| AmountCleared_ApproxAmountInBaseCurrency | Decimal | ||
| AmountCleared_Amount | Decimal | ||
| AmountCleared_ConversionDate | Datetime | ||
| AmountCleared_Currency_UniqueName | String | ||
| OriginatingSystem | String | The external system from which a order is imported. This field contains the value Imported if the ID of the external system is not available. | |
| PaymentTerms_UniqueName | String | ||
| NumberReceivableLineItems | Int | The number of line items on a purchase order that are not fully received. | |
| Attachments | String | ||
| AmountReconciled_AmountInReportingCurrency | Decimal | ||
| AmountReconciled_ApproxAmountInBaseCurrency | Decimal | ||
| AmountReconciled_Amount | Decimal | ||
| AmountReconciled_ConversionDate | Datetime | ||
| AmountReconciled_Currency_UniqueName | String | ||
| Supplier_UniqueName | String | ||
| Supplier_Name | String | ||
| AmountRejected_AmountInReportingCurrency | Decimal | ||
| AmountRejected_ApproxAmountInBaseCurrency | Decimal | ||
| AmountRejected_Amount | Decimal | ||
| AmountRejected_ConversionDate | Datetime | ||
| AmountRejected_Currency_UniqueName | String | ||
| StatusString | String | The status of a purchase order. Example: Ordering or Ordered. | |
| PreOrdered | Bool | Indicates whether a purchasing card order originated from the buying solution and not an external system. | |
| IsBlanketOrder | Bool | Indicates whether an order is a blanket purchase order. | |
| PreviousVersion | String | ||
| ApprovalRequestsVersion | Int | The version of an approval request when it was generated. This field is used for internal purpose only. | |
| AmountInvoiced_AmountInReportingCurrency | Decimal | ||
| AmountInvoiced_ApproxAmountInBaseCurrency | Decimal | ||
| AmountInvoiced_Amount | Decimal | ||
| AmountInvoiced_ConversionDate | Datetime | ||
| AmountInvoiced_Currency_UniqueName | String | ||
| TimeUpdated | Datetime | The time when a purchase order was last updated. | |
| OriginatingSystemReferenceID | String | The external system ID of an order associated with an imported requisition. | |
| VersionNumber | Int | The version number of an order. | |
| Type | String | The internal name for the approvable document. For example, the internal name for purchase order is ariba.purchasing.core.PurchaseOrder. | |
| ExpirationDate | Datetime | The expiration date of a purchase order. | |
| Closed | String | Indicates whether an order is closed for invoicing. This field can contain one of these values: 1 - The purchase order is in an Open state, 2 - The purchase order is closed for change, 3 - The purchase order is closed for receiving, 4 - The purchase order is closed for invoicing, 5 - The purchase order is closed for all actions, 6 - The purchase order is adjusted and closed for receiving, 7 - The purchase order is closed for receiving and invoicing, or -1 - The purchase order is closed for various actions. | |
| IsServiceOrder | Bool | Indicates whether a purchase order is a service purchase order. Note: Service purchase orders are orders consisting of service items that follow the service sheet process. | |
| Requisition_UniqueName | String | ||
| Preparer_UniqueName | String | The user who creates a requisition and submits it for approval. | |
| CompanyCode_UniqueName | String | The unique name for the SAP company code. | |
| IncludeInactive | Bool | By default, API responses do not include inactive transactions. You can set this query parameter to true to include inactive transactions in the responses. | |
| updatedDateFrom | Datetime | This filter corresponds to the 'TimeUpdated' field. The operation is '>' and the default value is '2018-03-01T23:59:59Z'. | |
| updatedDateTo | Datetime | This filter corresponds to the 'TimeUpdated' field. The operation is '<=' and the default value is '2018-03-29T23:59:59Z'. |
A 'system vsap' view template that queries 'InvoiceReconciliation' transaction data.
The Cloud uses the SAP Ariba API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
SELECT * FROM InvoiceReconcilationSAPcreatedRange WHERE createdDateFrom='2024-01-01 00:00:00.0' AND createdDateTo='2024-02-01 00:00:00.0'
SELECT * FROM InvoiceReconcilationSAPcreatedRange WHERE IncludeInactive='True'
| Name | Type | References | Description |
| RejectedDate | Datetime | The date when an invoice reconciliation was rejected. | |
| ApprovedState | String | An integer value representing the current approval state of an invoice reconciliation. This field is used for internal purposes only. Possible numbers for the approvated state are: 1 - Composing, 2 - Submitted, 4 - Approved, 8 - Invalid, 16- Denied. | |
| Invoice_UniqueName | String | ||
| InitialUniqueName | String | The ID of the invoice reconciliation when it was first created. This field is used for internal purposes only. | |
| SubmitDate | Datetime | The date when an invoice reconciliation is successfully submitted for approval. | |
| HoldTillDate | Datetime | The date until which processing of a fully approved invoice reconciliation is withheld. | |
| SupplierLocation_State | String | ||
| SupplierLocation_Phone | String | ||
| SupplierLocation_Country_UniqueName | String | ||
| SupplierLocation_PostalCode | String | ||
| SupplierLocation_City | String | ||
| SupplierLocation_Fax | String | ||
| SupplierLocation_UniqueName | String | ||
| SupplierLocation_Lines | String | ||
| SupplierLocation_Name | String | ||
| Payments | String | ||
| ChargeAmount_AmountInReportingCurrency | Decimal | ||
| ChargeAmount_ApproxAmountInBaseCurrency | Decimal | ||
| ChargeAmount_Amount | Decimal | ||
| ChargeAmount_ConversionDate | Datetime | ||
| ChargeAmount_Currency_UniqueName | String | ||
| CreateDate | Datetime | The date when an invoice reconciliation is created. | |
| Name | String | The title of an invoice reconciliation. | |
| ExternalStatus | String | The status of this invoice reconciliation in the external system. | |
| LastModified | Datetime | The date when an invoice reconciliation was last modified. Actions that lead to updates to the history record of an invoice reconciliation trigger changes to the last modified date. | |
| TimeCreated | Datetime | The time when an invoice reconciliation is created. | |
| PayloadID | String | The ID generated for documents transmitted to Ariba Network. | |
| TaxAmount_AmountInReportingCurrency | Decimal | ||
| TaxAmount_ApproxAmountInBaseCurrency | Decimal | ||
| TaxAmount_Amount | Decimal | ||
| TaxAmount_ConversionDate | Datetime | ||
| TaxAmount_Currency_UniqueName | String | ||
| Requester_UniqueName | String | The user on behalf of whom a requisition is created. Typically, the preparer and requester of a requisition are the same user. If a preparer creates a requisition for someone else, the requester is the user for whom the requisition is created. | |
| TaxDetails | String | ||
| PaidAmounts_AdjustmentAmount_Reason | String | ||
| PaidAmounts_AdjustmentAmount_Amount_AmountInReportingCurrency | Decimal | ||
| PaidAmounts_AdjustmentAmount_Amount_ApproxAmountInBaseCurrency | Decimal | ||
| PaidAmounts_AdjustmentAmount_Amount_Amount | Decimal | ||
| PaidAmounts_AdjustmentAmount_Amount_ConversionDate | Datetime | ||
| PaidAmounts_AdjustmentAmount_Amount_Currency_UniqueName | String | ||
| PaidAmounts_GrossAmount_AmountInReportingCurrency | Decimal | ||
| PaidAmounts_GrossAmount_ApproxAmountInBaseCurrency | Decimal | ||
| PaidAmounts_GrossAmount_Amount | Decimal | ||
| PaidAmounts_GrossAmount_ConversionDate | Datetime | ||
| PaidAmounts_GrossAmount_Currency_UniqueName | String | ||
| PaidAmounts_DiscountAmount_AmountInReportingCurrency | Decimal | ||
| PaidAmounts_DiscountAmount_ApproxAmountInBaseCurrency | Decimal | ||
| PaidAmounts_DiscountAmount_Amount | Decimal | ||
| PaidAmounts_DiscountAmount_ConversionDate | Datetime | ||
| PaidAmounts_DiscountAmount_Currency_UniqueName | String | ||
| PaidAmounts_NetAmount_AmountInReportingCurrency | Decimal | ||
| PaidAmounts_NetAmount_ApproxAmountInBaseCurrency | Decimal | ||
| PaidAmounts_NetAmount_Amount | Decimal | ||
| PaidAmounts_NetAmount_ConversionDate | Datetime | ||
| PaidAmounts_NetAmount_Currency_UniqueName | String | ||
| VATAmount_AmountInReportingCurrency | Decimal | ||
| VATAmount_ApproxAmountInBaseCurrency | Decimal | ||
| VATAmount_Amount | Decimal | ||
| VATAmount_ConversionDate | Datetime | ||
| VATAmount_Currency_UniqueName | String | ||
| LineItems | String | ||
| ChangedBy_UniqueName | String | ||
| ApprovedDate | Datetime | The date when an invoice reconciliation is fully approved. | |
| TotalWithholdingTax_AmountInReportingCurrency | Decimal | ||
| TotalWithholdingTax_ApproxAmountInBaseCurrency | Decimal | ||
| TotalWithholdingTax_Amount | Decimal | ||
| TotalWithholdingTax_ConversionDate | Datetime | ||
| TotalWithholdingTax_Currency_UniqueName | String | ||
| ScheduledPaymentDate | Datetime | The scheduled payment date for a reconciled invoice. | |
| PreviousApprovalRequestsVersion | Int | The version number for the previous version of the approval request. This field is used for internal purposes only. | |
| ResubmitDate | Datetime | The date when an invoice is resubmitted for approval. An invoice is considered as resubmitted if a user edits a denied invoice and resubmits it for approval. Note: Invoices that are withdrawn by the preparer and submitted again are not considered as resubmitted invoices. | |
| EligibleForDynamicDiscount | Bool | A flag used by Buyers to indicate if the supplier can ask for immediate remittance of this invoice reconciliation to get dynamic discounts. | |
| NumberCleared | Decimal | The number of invoiced items that have been cleared after an invoice reconciliation is reconciled. | |
| MaxDiscountApplicable_AmountInReportingCurrency | Decimal | ||
| MaxDiscountApplicable_ApproxAmountInBaseCurrency | Decimal | ||
| MaxDiscountApplicable_Amount | Decimal | ||
| MaxDiscountApplicable_ConversionDate | Datetime | ||
| MaxDiscountApplicable_Currency_UniqueName | String | ||
| DiscountAmount_AmountInReportingCurrency | Decimal | ||
| DiscountAmount_ApproxAmountInBaseCurrency | Decimal | ||
| DiscountAmount_Amount | Decimal | ||
| DiscountAmount_ConversionDate | Datetime | ||
| DiscountAmount_Currency_UniqueName | String | ||
| ServicePeriod | String | ||
| ApprovalRequests | String | ||
| Active | Bool | Indicates whether the invoice reconciliation is currently in use in the buying solution. This field can contain the values as True or False. False indicates inactive invoice reconciliations. Inactive invoice reconciliations are considered as those that are deleted and do not appear in search results and invoice reconciliation choosers. | |
| ProcurementUnit_UniqueName | String | ||
| AmountBilled_AmountInReportingCurrency | Decimal | ||
| AmountBilled_ApproxAmountInBaseCurrency | Decimal | ||
| AmountBilled_Amount | Decimal | ||
| AmountBilled_ConversionDate | Datetime | ||
| AmountBilled_Currency_UniqueName | String | ||
| NextVersion | String | ||
| NumberBilled | Decimal | The total number of invoiced items. | |
| UniqueName | String | The unique identifier for an invoice reconciliation in the system. | |
| TotalInvoiced_AmountInReportingCurrency | Decimal | ||
| TotalInvoiced_ApproxAmountInBaseCurrency | Decimal | ||
| TotalInvoiced_Amount | Decimal | ||
| TotalInvoiced_ConversionDate | Datetime | ||
| TotalInvoiced_Currency_UniqueName | String | ||
| ProcessedState | String | The current payment processing state for an invoice reconciliation after it has been reconciled. The following are the possible values for the processing state for an invoice reconciliation: - Unprocessed: The invoice reconciliation has not been processed for payment. - Rejected: The invoice reconciliation has been rejected by an approver. - Paying: The invoice reconciliation has been approved and payment is being processed. - Paid: The invoice reconciliation has been approved and invoiced amounts have been paid. - FailedPaying: The invoice reconciliation has been approved but payment for the invoiced amount has failed. | |
| AmountCleared_AmountInReportingCurrency | Decimal | ||
| AmountCleared_ApproxAmountInBaseCurrency | Decimal | ||
| AmountCleared_Amount | Decimal | ||
| AmountCleared_ConversionDate | Datetime | ||
| AmountCleared_Currency_UniqueName | String | ||
| ProjectID | String | The ID of a project. | |
| Attachments | String | ||
| SourcingStatusString | String | The status of a sourcing transaction in the sourcing solution. This field contains cXML updates received from the sourcing solution. | |
| PaymentModel | Int | The payment model used for a payment request associated with an invoice reconciliation document. This field can contain one of the following values: -1 – Default, 0 - ExternalPay, 1 – LocalPay, or 2 - AribaNetworkPay. | |
| RemittanceLocation_UniqueName | String | ||
| PaidDate | Datetime | The date when payment for a reconciled invoice was made. | |
| ServiceLocation_State | String | ||
| ServiceLocation_Phone | String | ||
| ServiceLocation_Country_UniqueName | String | ||
| ServiceLocation_PostalCode | String | ||
| ServiceLocation_City | String | ||
| ServiceLocation_Fax | String | ||
| ServiceLocation_UniqueName | String | ||
| ServiceLocation_Lines | String | ||
| ServiceLocation_Name | String | ||
| Exceptions | String | ||
| Supplier_UniqueName | String | ||
| Supplier_Name | String | ||
| InvoiceDate | Datetime | The date when the invoice associated with an invoice reconciliation is created. | |
| StatusString | String | The current status of an invoice reconciliation. Example: Approved or Reconciled. | |
| PreviousVersion | String | ||
| ApprovalRequestsVersion | Int | The version of an approval request when it was generated. This field is used for internal purposes only. | |
| TimeUpdated | Datetime | The time when an invoice reconciliation was last updated. | |
| VersionNumber | Int | The internal version number assigned to an approvable document. This field is used for optimistic locking and ensures that changes to the document are followed in an appropriate sequence. This field is used for internal purposes only. | |
| TaxAccrualAmount_AmountInReportingCurrency | Decimal | ||
| TaxAccrualAmount_ApproxAmountInBaseCurrency | Decimal | ||
| TaxAccrualAmount_Amount | Decimal | ||
| TaxAccrualAmount_ConversionDate | Datetime | ||
| TaxAccrualAmount_Currency_UniqueName | String | ||
| Type | String | The internal name for the approvable document. For example, the internal name for an invoice reconciliation is ariba.invoicing.core.InvoiceReconciliation. | |
| ProjectTitle | String | The title of a project. | |
| IsAccruedOnIR | Bool | A flag that indicates if the amounts are accrued in an invoice reconciliation. Only NonPO Invoice's will have accrued amounts. | |
| Preparer_UniqueName | String | The user who creates a requisition and submits it for approval. | |
| IncludeInactive | Bool | By default, API responses do not include inactive transactions. You can set this query parameter to true to include inactive transactions in the responses. | |
| createdDateFrom | Datetime | This filter corresponds to the 'TimeCreated' field. The operation is '>' and the default value is '2018-03-01T23:59:59Z'. | |
| createdDateTo | Datetime | This filter corresponds to the 'TimeCreated' field. The operation is '<=' and the default value is '2018-03-29T23:59:59Z'. |
A 'system vsap' view template that queries 'InvoiceReconciliation' transaction data.
The Cloud uses the SAP Ariba API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
SELECT * FROM InvoiceReconcilationSAPupdatedRange WHERE updatedDateFrom='2024-01-01 00:00:00.0' AND updatedDateTo='2024-02-01 00:00:00.0'
SELECT * FROM InvoiceReconcilationSAPupdatedRange WHERE IncludeInactive='True'
| Name | Type | References | Description |
| RejectedDate | Datetime | The date when an invoice reconciliation was rejected. | |
| ApprovedState | String | An integer value representing the current approval state of an invoice reconciliation. This field is used for internal purposes only. Possible numbers for the approvated state are: 1 - Composing, 2 - Submitted, 4 - Approved, 8 - Invalid, 16- Denied. | |
| Invoice_UniqueName | String | ||
| InitialUniqueName | String | The ID of the invoice reconciliation when it was first created. This field is used for internal purposes only. | |
| SubmitDate | Datetime | The date when an invoice reconciliation is successfully submitted for approval. | |
| HoldTillDate | Datetime | The date until which processing of a fully approved invoice reconciliation is withheld. | |
| SupplierLocation_State | String | ||
| SupplierLocation_Phone | String | ||
| SupplierLocation_Country_UniqueName | String | ||
| SupplierLocation_PostalCode | String | ||
| SupplierLocation_City | String | ||
| SupplierLocation_Fax | String | ||
| SupplierLocation_UniqueName | String | ||
| SupplierLocation_Lines | String | ||
| SupplierLocation_Name | String | ||
| Payments | String | ||
| ChargeAmount_AmountInReportingCurrency | Decimal | ||
| ChargeAmount_ApproxAmountInBaseCurrency | Decimal | ||
| ChargeAmount_Amount | Decimal | ||
| ChargeAmount_ConversionDate | Datetime | ||
| ChargeAmount_Currency_UniqueName | String | ||
| CreateDate | Datetime | The date when an invoice reconciliation is created. | |
| Name | String | The title of an invoice reconciliation. | |
| ExternalStatus | String | The status of this invoice reconciliation in the external system. | |
| LastModified | Datetime | The date when an invoice reconciliation was last modified. Actions that lead to updates to the history record of an invoice reconciliation trigger changes to the last modified date. | |
| TimeCreated | Datetime | The time when an invoice reconciliation is created. | |
| PayloadID | String | The ID generated for documents transmitted to Ariba Network. | |
| TaxAmount_AmountInReportingCurrency | Decimal | ||
| TaxAmount_ApproxAmountInBaseCurrency | Decimal | ||
| TaxAmount_Amount | Decimal | ||
| TaxAmount_ConversionDate | Datetime | ||
| TaxAmount_Currency_UniqueName | String | ||
| Requester_UniqueName | String | The user on behalf of whom a requisition is created. Typically, the preparer and requester of a requisition are the same user. If a preparer creates a requisition for someone else, the requester is the user for whom the requisition is created. | |
| TaxDetails | String | ||
| PaidAmounts_AdjustmentAmount_Reason | String | ||
| PaidAmounts_AdjustmentAmount_Amount_AmountInReportingCurrency | Decimal | ||
| PaidAmounts_AdjustmentAmount_Amount_ApproxAmountInBaseCurrency | Decimal | ||
| PaidAmounts_AdjustmentAmount_Amount_Amount | Decimal | ||
| PaidAmounts_AdjustmentAmount_Amount_ConversionDate | Datetime | ||
| PaidAmounts_AdjustmentAmount_Amount_Currency_UniqueName | String | ||
| PaidAmounts_GrossAmount_AmountInReportingCurrency | Decimal | ||
| PaidAmounts_GrossAmount_ApproxAmountInBaseCurrency | Decimal | ||
| PaidAmounts_GrossAmount_Amount | Decimal | ||
| PaidAmounts_GrossAmount_ConversionDate | Datetime | ||
| PaidAmounts_GrossAmount_Currency_UniqueName | String | ||
| PaidAmounts_DiscountAmount_AmountInReportingCurrency | Decimal | ||
| PaidAmounts_DiscountAmount_ApproxAmountInBaseCurrency | Decimal | ||
| PaidAmounts_DiscountAmount_Amount | Decimal | ||
| PaidAmounts_DiscountAmount_ConversionDate | Datetime | ||
| PaidAmounts_DiscountAmount_Currency_UniqueName | String | ||
| PaidAmounts_NetAmount_AmountInReportingCurrency | Decimal | ||
| PaidAmounts_NetAmount_ApproxAmountInBaseCurrency | Decimal | ||
| PaidAmounts_NetAmount_Amount | Decimal | ||
| PaidAmounts_NetAmount_ConversionDate | Datetime | ||
| PaidAmounts_NetAmount_Currency_UniqueName | String | ||
| VATAmount_AmountInReportingCurrency | Decimal | ||
| VATAmount_ApproxAmountInBaseCurrency | Decimal | ||
| VATAmount_Amount | Decimal | ||
| VATAmount_ConversionDate | Datetime | ||
| VATAmount_Currency_UniqueName | String | ||
| LineItems | String | ||
| ChangedBy_UniqueName | String | ||
| ApprovedDate | Datetime | The date when an invoice reconciliation is fully approved. | |
| TotalWithholdingTax_AmountInReportingCurrency | Decimal | ||
| TotalWithholdingTax_ApproxAmountInBaseCurrency | Decimal | ||
| TotalWithholdingTax_Amount | Decimal | ||
| TotalWithholdingTax_ConversionDate | Datetime | ||
| TotalWithholdingTax_Currency_UniqueName | String | ||
| ScheduledPaymentDate | Datetime | The scheduled payment date for a reconciled invoice. | |
| PreviousApprovalRequestsVersion | Int | The version number for the previous version of the approval request. This field is used for internal purposes only. | |
| ResubmitDate | Datetime | The date when an invoice is resubmitted for approval. An invoice is considered as resubmitted if a user edits a denied invoice and resubmits it for approval. Note: Invoices that are withdrawn by the preparer and submitted again are not considered as resubmitted invoices. | |
| EligibleForDynamicDiscount | Bool | A flag used by Buyers to indicate if the supplier can ask for immediate remittance of this invoice reconciliation to get dynamic discounts. | |
| NumberCleared | Decimal | The number of invoiced items that have been cleared after an invoice reconciliation is reconciled. | |
| MaxDiscountApplicable_AmountInReportingCurrency | Decimal | ||
| MaxDiscountApplicable_ApproxAmountInBaseCurrency | Decimal | ||
| MaxDiscountApplicable_Amount | Decimal | ||
| MaxDiscountApplicable_ConversionDate | Datetime | ||
| MaxDiscountApplicable_Currency_UniqueName | String | ||
| DiscountAmount_AmountInReportingCurrency | Decimal | ||
| DiscountAmount_ApproxAmountInBaseCurrency | Decimal | ||
| DiscountAmount_Amount | Decimal | ||
| DiscountAmount_ConversionDate | Datetime | ||
| DiscountAmount_Currency_UniqueName | String | ||
| ServicePeriod | String | ||
| ApprovalRequests | String | ||
| Active | Bool | Indicates whether the invoice reconciliation is currently in use in the buying solution. This field can contain the values as True or False. False indicates inactive invoice reconciliations. Inactive invoice reconciliations are considered as those that are deleted and do not appear in search results and invoice reconciliation choosers. | |
| ProcurementUnit_UniqueName | String | ||
| AmountBilled_AmountInReportingCurrency | Decimal | ||
| AmountBilled_ApproxAmountInBaseCurrency | Decimal | ||
| AmountBilled_Amount | Decimal | ||
| AmountBilled_ConversionDate | Datetime | ||
| AmountBilled_Currency_UniqueName | String | ||
| NextVersion | String | ||
| NumberBilled | Decimal | The total number of invoiced items. | |
| UniqueName | String | The unique identifier for an invoice reconciliation in the system. | |
| TotalInvoiced_AmountInReportingCurrency | Decimal | ||
| TotalInvoiced_ApproxAmountInBaseCurrency | Decimal | ||
| TotalInvoiced_Amount | Decimal | ||
| TotalInvoiced_ConversionDate | Datetime | ||
| TotalInvoiced_Currency_UniqueName | String | ||
| ProcessedState | String | The current payment processing state for an invoice reconciliation after it has been reconciled. The following are the possible values for the processing state for an invoice reconciliation: - Unprocessed: The invoice reconciliation has not been processed for payment. - Rejected: The invoice reconciliation has been rejected by an approver. - Paying: The invoice reconciliation has been approved and payment is being processed. - Paid: The invoice reconciliation has been approved and invoiced amounts have been paid. - FailedPaying: The invoice reconciliation has been approved but payment for the invoiced amount has failed. | |
| AmountCleared_AmountInReportingCurrency | Decimal | ||
| AmountCleared_ApproxAmountInBaseCurrency | Decimal | ||
| AmountCleared_Amount | Decimal | ||
| AmountCleared_ConversionDate | Datetime | ||
| AmountCleared_Currency_UniqueName | String | ||
| ProjectID | String | The ID of a project. | |
| Attachments | String | ||
| SourcingStatusString | String | The status of a sourcing transaction in the sourcing solution. This field contains cXML updates received from the sourcing solution. | |
| PaymentModel | Int | The payment model used for a payment request associated with an invoice reconciliation document. This field can contain one of the following values: -1 – Default, 0 - ExternalPay, 1 – LocalPay, or 2 - AribaNetworkPay. | |
| RemittanceLocation_UniqueName | String | ||
| PaidDate | Datetime | The date when payment for a reconciled invoice was made. | |
| ServiceLocation_State | String | ||
| ServiceLocation_Phone | String | ||
| ServiceLocation_Country_UniqueName | String | ||
| ServiceLocation_PostalCode | String | ||
| ServiceLocation_City | String | ||
| ServiceLocation_Fax | String | ||
| ServiceLocation_UniqueName | String | ||
| ServiceLocation_Lines | String | ||
| ServiceLocation_Name | String | ||
| Exceptions | String | ||
| Supplier_UniqueName | String | ||
| Supplier_Name | String | ||
| InvoiceDate | Datetime | The date when the invoice associated with an invoice reconciliation is created. | |
| StatusString | String | The current status of an invoice reconciliation. Example: Approved or Reconciled. | |
| PreviousVersion | String | ||
| ApprovalRequestsVersion | Int | The version of an approval request when it was generated. This field is used for internal purposes only. | |
| TimeUpdated | Datetime | The time when an invoice reconciliation was last updated. | |
| VersionNumber | Int | The internal version number assigned to an approvable document. This field is used for optimistic locking and ensures that changes to the document are followed in an appropriate sequence. This field is used for internal purposes only. | |
| TaxAccrualAmount_AmountInReportingCurrency | Decimal | ||
| TaxAccrualAmount_ApproxAmountInBaseCurrency | Decimal | ||
| TaxAccrualAmount_Amount | Decimal | ||
| TaxAccrualAmount_ConversionDate | Datetime | ||
| TaxAccrualAmount_Currency_UniqueName | String | ||
| Type | String | The internal name for the approvable document. For example, the internal name for an invoice reconciliation is ariba.invoicing.core.InvoiceReconciliation. | |
| ProjectTitle | String | The title of a project. | |
| IsAccruedOnIR | Bool | A flag that indicates if the amounts are accrued in an invoice reconciliation. Only NonPO Invoice's will have accrued amounts. | |
| Preparer_UniqueName | String | The user who creates a requisition and submits it for approval. | |
| IncludeInactive | Bool | By default, API responses do not include inactive transactions. You can set this query parameter to true to include inactive transactions in the responses. | |
| updatedDateFrom | Datetime | This filter corresponds to the 'TimeUpdated' field. The operation is '>' and the default value is '2018-03-01T23:59:59Z'. | |
| updatedDateTo | Datetime | This filter corresponds to the 'TimeUpdated' field. The operation is '<=' and the default value is '2018-03-29T23:59:59Z'. |
A 'system vsap' view template that queries 'Receipt' transaction data.
The Cloud uses the SAP Ariba API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
SELECT * FROM ReceiptSAPcreatedRange WHERE createdDateFrom='2024-01-01 00:00:00.0' AND createdDateTo='2024-02-01 00:00:00.0'
SELECT * FROM ReceiptSAPcreatedRange WHERE IncludeInactive='True'
| Name | Type | References | Description |
| ApprovedState | String | An integer value that represents the current approval state of a receipt. This field is used for internal purpose only. | |
| ReceiptItems | String | ||
| ProcessedState | String | The post-approval processing state of a receipt. The post-approval processing states can be one of the following for receipts imported from external systems: 0 - Unprocessed, 1 – Awaiting Processing, 2 – Processing, 3 – Failed Processing, or 4 - Processed. Note: Receipts created in the buying solution move to the Processed state after they are fully approved. | |
| MasterAgreement_UniqueName | String | ||
| InitialUniqueName | String | The ID of the receipt when it was first created. This field is used for internal purpose only. | |
| SubmitDate | Datetime | The date when a receipt was successfully submitted for approval. | |
| HoldTillDate | Datetime | The date until which post-approval processing of the associated requisition was withheld. | |
| CreateDate | Datetime | The date when a receipt was created. | |
| Attachments | String | ||
| IsReceiptPushFailed | Bool | Indicates whether a receipt failed to be pushed to the external ERP system. | |
| Name | String | The title of the receipt. | |
| IsInTransitionToManual | Bool | Indicates the transition stage of a receipt in which line items configured for auto-receiving transition from automatic receiving to the manual receiving state. This field is set to true when a user creates manual receipts for line items that are configured for automatic receiving. | |
| LastModified | Datetime | The date when a receipt was last modified. Actions that lead to updates to the history record or the comments section of a receipt trigger changes to the last modified date. | |
| TimeCreated | Datetime | The time when a receipt was created. | |
| GoodsReturnTrackingNumber | String | The goods return tracking number to identify items returned to suppliers. | |
| Requester_UniqueName | String | The user on behalf of whom a requisition is created. Typically, the preparer and requester of a requisition are the same user. If a preparer creates a requisition for someone else, the requester is the user for whom the requisition is created. | |
| CloseOrder | Bool | Indicates whether the buying solution automatically closes an order for further receiving after the associated receipts are fully approved. | |
| ERPReceiptNumber | String | The ID assigned to a receipt imported from the external ERP system. | |
| DueDate | Datetime | The due date for creation of an automatic receipt. | |
| Order_UniqueName | String | ||
| StatusString | String | The approval state of a receipt. Example: Composing, Submitted, or Approved. | |
| ChangedBy_UniqueName | String | ||
| ApprovedDate | Datetime | The date when the status of a receipt changed to Approved. | |
| PreviousApprovalRequestsVersion | Int | The version number for the previous version of the approval request. This field is used for internal purpose only. | |
| RecentReceiveDate | Datetime | The most recent date when a receipt transaction was performed for a line item. | |
| PreviousVersion | String | ||
| ResubmitDate | Datetime | The date when a receipt was resubmitted for approval. A receipt is considered as resubmitted when a user edits a denied receipt and resubmits it for approval. Note: Receipts that are withdrawn by the preparer and submitted again are not considered as resubmitted receipts. | |
| ApprovalRequestsVersion | Int | The version of an approval request when it was generated. This field is used for internal purpose only. | |
| TimeUpdated | Datetime | The time when a receipt was last updated. | |
| VersionNumber | Int | Indicates whether the changes for the receipt version are internal to the buying solution. | |
| ApprovalRequests | String | ||
| Active | Bool | Indicates whether a receipt is currently in use in the buying solution. This field can contain the values as True or False. False indicates inactive receipts. Inactive receipts are considered as those that are deleted and do not appear in search results and receipt choosers. | |
| IsImported | Bool | Indicates whether a receipt is imported from an external system | |
| Type | String | The internal name for the approvable document. For example, the internal name for receipt is ariba.receiving.core.Receipt. | |
| ANSentState | String | The state of transmission of a receipt to Ariba Network. This field can contain one of the following values: Sent (2), Sending (4), or Failed (8). | |
| ProcurementUnit_UniqueName | String | ||
| NextVersion | String | ||
| IsUnitPriceChanged | Bool | Indicates whether the unit price of a line item on a receipt was edited. | |
| UniqueName | String | The unique ID of a receipt. Example: RC678. | |
| Preparer_UniqueName | String | The user who creates a requisition and submits it for approval. | |
| IncludeInactive | Bool | By default, API responses do not include inactive transactions. You can set this query parameter to true to include inactive transactions in the responses. | |
| createdDateFrom | Datetime | This filter corresponds to the 'TimeCreated' field. The operation is '>' and the default value is '2018-03-01T23:59:59Z'. | |
| createdDateTo | Datetime | This filter corresponds to the 'TimeCreated' field. The operation is '<=' and the default value is '2018-03-29T23:59:59Z'. |
A 'system vsap' view template that queries 'Receipt' transaction data.
The Cloud uses the SAP Ariba API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
SELECT * FROM ReceiptSAPupdatedRange WHERE updatedDateFrom='2024-01-01 00:00:00.0' AND updatedDateTo='2024-02-01 00:00:00.0'
SELECT * FROM ReceiptSAPupdatedRange WHERE IncludeInactive='True'
| Name | Type | References | Description |
| ApprovedState | String | An integer value that represents the current approval state of a receipt. This field is used for internal purpose only. | |
| ReceiptItems | String | ||
| ProcessedState | String | The post-approval processing state of a receipt. The post-approval processing states can be one of the following for receipts imported from external systems: 0 - Unprocessed, 1 – Awaiting Processing, 2 – Processing, 3 – Failed Processing, or 4 - Processed. Note: Receipts created in the buying solution move to the Processed state after they are fully approved. | |
| MasterAgreement_UniqueName | String | ||
| InitialUniqueName | String | The ID of the receipt when it was first created. This field is used for internal purpose only. | |
| SubmitDate | Datetime | The date when a receipt was successfully submitted for approval. | |
| HoldTillDate | Datetime | The date until which post-approval processing of the associated requisition was withheld. | |
| CreateDate | Datetime | The date when a receipt was created. | |
| Attachments | String | ||
| IsReceiptPushFailed | Bool | Indicates whether a receipt failed to be pushed to the external ERP system. | |
| Name | String | The title of the receipt. | |
| IsInTransitionToManual | Bool | Indicates the transition stage of a receipt in which line items configured for auto-receiving transition from automatic receiving to the manual receiving state. This field is set to true when a user creates manual receipts for line items that are configured for automatic receiving. | |
| LastModified | Datetime | The date when a receipt was last modified. Actions that lead to updates to the history record or the comments section of a receipt trigger changes to the last modified date. | |
| TimeCreated | Datetime | The time when a receipt was created. | |
| GoodsReturnTrackingNumber | String | The goods return tracking number to identify items returned to suppliers. | |
| Requester_UniqueName | String | The user on behalf of whom a requisition is created. Typically, the preparer and requester of a requisition are the same user. If a preparer creates a requisition for someone else, the requester is the user for whom the requisition is created. | |
| CloseOrder | Bool | Indicates whether the buying solution automatically closes an order for further receiving after the associated receipts are fully approved. | |
| ERPReceiptNumber | String | The ID assigned to a receipt imported from the external ERP system. | |
| DueDate | Datetime | The due date for creation of an automatic receipt. | |
| Order_UniqueName | String | ||
| StatusString | String | The approval state of a receipt. Example: Composing, Submitted, or Approved. | |
| ChangedBy_UniqueName | String | ||
| ApprovedDate | Datetime | The date when the status of a receipt changed to Approved. | |
| PreviousApprovalRequestsVersion | Int | The version number for the previous version of the approval request. This field is used for internal purpose only. | |
| RecentReceiveDate | Datetime | The most recent date when a receipt transaction was performed for a line item. | |
| PreviousVersion | String | ||
| ResubmitDate | Datetime | The date when a receipt was resubmitted for approval. A receipt is considered as resubmitted when a user edits a denied receipt and resubmits it for approval. Note: Receipts that are withdrawn by the preparer and submitted again are not considered as resubmitted receipts. | |
| ApprovalRequestsVersion | Int | The version of an approval request when it was generated. This field is used for internal purpose only. | |
| TimeUpdated | Datetime | The time when a receipt was last updated. | |
| VersionNumber | Int | Indicates whether the changes for the receipt version are internal to the buying solution. | |
| ApprovalRequests | String | ||
| Active | Bool | Indicates whether a receipt is currently in use in the buying solution. This field can contain the values as True or False. False indicates inactive receipts. Inactive receipts are considered as those that are deleted and do not appear in search results and receipt choosers. | |
| IsImported | Bool | Indicates whether a receipt is imported from an external system | |
| Type | String | The internal name for the approvable document. For example, the internal name for receipt is ariba.receiving.core.Receipt. | |
| ANSentState | String | The state of transmission of a receipt to Ariba Network. This field can contain one of the following values: Sent (2), Sending (4), or Failed (8). | |
| ProcurementUnit_UniqueName | String | ||
| NextVersion | String | ||
| IsUnitPriceChanged | Bool | Indicates whether the unit price of a line item on a receipt was edited. | |
| UniqueName | String | The unique ID of a receipt. Example: RC678. | |
| Preparer_UniqueName | String | The user who creates a requisition and submits it for approval. | |
| IncludeInactive | Bool | By default, API responses do not include inactive transactions. You can set this query parameter to true to include inactive transactions in the responses. | |
| updatedDateFrom | Datetime | This filter corresponds to the 'TimeUpdated' field. The operation is '>' and the default value is '2018-03-01T23:59:59Z'. | |
| updatedDateTo | Datetime | This filter corresponds to the 'TimeUpdated' field. The operation is '<=' and the default value is '2018-03-29T23:59:59Z'. |
Get all child elements for a specific view template.
The Cloud uses the SAP Ariba API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
SELECT * FROM ViewChildElements WHERE ViewTemplateName='Requisition_SAP_createdRange_v2'
| Name | Type | References | Description |
| ViewTemplateName [KEY] | String | The name of the view. | |
| ChildElement [KEY] | String | A child element/array of documents in the view template in dot notation. | |
| Description | String | A description of the child element. |
Request a list of all supported document types or a list of all filter and selection fields, either for a single document type or for all document types, that can be used to create custom view templates.
The Cloud uses the SAP Ariba API to process WHERE clause conditions built with the following columns and operators. The Cloud processes other filters client-side within the Cloud.
SELECT * FROM ViewFields WHERE ViewTemplateName='Contract_SAP_createdRange_v1'
SELECT * FROM ViewFields WHERE DocumentType='DirectOrder'
| Name | Type | References | Description |
| ViewTemplateName | String | The view template name. | |
| DocumentType | String | Supported document type. | |
| Name | String | The name of the field. | |
| FieldName | String | The field's formatted name. | |
| Description | String | The field's description. | |
| Type | String | The type of the field. | |
| Size | Int | The maximum length in characters if this is a string field. | |
| AllowedValues | String | Permissible values if this field accepts only specific values. | |
| IsCustomField | Bool | Whether this field is a custom field. | |
| Precision | String | The field's precision. | |
| Scale | String | The field's scale. | |
| Source | String | The field's JSON repeat path source. |
Stored procedures are function-like interfaces that extend the functionality of the Cloud beyond simple SELECT/INSERT/UPDATE/DELETE operations with SAP Ariba.
Stored procedures accept a list of parameters, perform their intended function, and then return any relevant response data from SAP Ariba, along with an indication of whether the procedure succeeded or failed.
| Name | Description |
| CreateChildElementSchema | Creates a schema file for an array of documents in the view template. |
Creates a schema file for an array of documents in the view template. It is possible to vertically flatten existing view templates using the Cloud's CreateChildElementSchema stored procedure.
Vertical flattening enable you to retrieve array of documents as if they were a separate table.
The schema files generated by the procedure are plain text configuration files that are easy to modify.
You can invoke the procedure using EXECUTE. It accepts these five parameters:
The below result set and API response JSON structure show that the example view includes a LineItems child element, and, deeper in, another SplitAccountings child element.
+----------------------------------------------------------------------------------+----------------------------------------------------------------------------------+
| UniqueName | LineItems |
+----------------------------------------------------------------------------------+----------------------------------------------------------------------------------
| PO11 | [ { "TaxDetail.Description": "", "BasePrice": { "AmountInR.. |
| PO12 | [ { "TaxDetail.Description": "", "BasePrice": { "AmountInR.. |
| PO13 | [ { "TaxDetail.Description": "", "BasePrice": { "AmountInR.. |
| PO14 | [ { "TaxDetail.Description": "", "BasePrice": { "AmountInR.. |
| PO15 | [ { "TaxDetail.Description": "", "BasePrice": { "AmountInR.. |
+----------------------------------------------------------------------------------+----------------------------------------------------------------------------------
{
"Records": [
{
"ApprovedState": "Approved",
"LineItems": [
{
"SplitAccountings": [
{
"NumberInCollection": 1,
}
],
"Description.Description": "Sample",
To generate a schema for the LineItems array of documents, you can execute the below query:
EXECUTE CreateChildElementSchema ViewTemplateName='View', ChildElement='LineItems', TableName = 'View_LineItems', FileName='C:/Users/User/AppData/Roaming/CData/SAPAribaProcurement Data Provider/Schema/OperationalReportingAPIForProcurement-V2/View_LineItems.rsd'
To generate a schema for the LineItems.SplitAccountings array of documents, you can execute the below query:
EXECUTE CreateChildElementSchema ViewTemplateName='View', ChildElement='LineItems.SplitAccountings', TableName = 'View_LineItems_SplitAccountings', FileName='C:/Users/User/AppData/Roaming/CData/SAPAribaProcurement Data Provider/Schema/OperationalReportingAPIForProcurement-V2/View_LineItems_SplitAccountings.rsd'
Additionally, you can query the ViewChildElements view to discover array of documents in a view template and valid values for the ChildElement input. For example:
SELECT * FROM ViewChildElements WHERE ViewTemplateName='OrderView'
Note that for the generated schema files to be used in queries they must be present in the API schema folder within the Location connection property.
Assuming the Location connection property points to "C:/Users/User/AppData/Roaming/CData/SAPAribaProcurement Data Provider/Schema", the generated schema file should be within an "OperationalReportingAPIForProcurement-V2" folder.
If an array or object name in the path contains a '.' (dot) character, you can escape the dot by enclosing the name in square brackets, as an example:
ChildElement='[ObjectN.ame].Array'
{
"Records": [
{
"ObjectN.ame": [
{
"Array": [
{
"NumberInCollection": 1,
}
],
"Description.Description": "Sample",
| Name | Type | Description |
| ViewTemplateName | String | The name of an existing view template. |
| ChildElement | String | A child element/array of documents in the view template in dot notation. For example, 'LineItems.SplitAccountings' |
| TableName | String | The name for the new table. For example, 'View_LineItems_SplitAccountings'. |
| FileName | String | The file name, if generating relative to Location, or absolute path where you want to save the generated schema. For example, 'C:/Users/User/AppData/Roaming/CData/SAPAribaProcurement Data Provider/Schema/OperationalReportingAPIForProcurement-V2/View_LineItems_SplitAccountings.rsd'. |
| Name | Type | Description |
| FileData | String | If the LocalPath and FileStream inputs are empty, file data will be output encoded in base64. |
| Result | String | The result of the operation. |
You can query the system tables described in this section to access schema information, information on data source functionality, and batch operation statistics.
The following tables return database metadata for SAP Ariba:
The following tables return information about how to connect to and query the data source:
The following table returns query statistics for data modification queries:
Lists the available databases.
The following query retrieves all databases determined by the connection string:
SELECT * FROM sys_catalogs
| Name | Type | Description |
| CatalogName | String | The database name. |
Lists the available schemas.
The following query retrieves all available schemas:
SELECT * FROM sys_schemas
| Name | Type | Description |
| CatalogName | String | The database name. |
| SchemaName | String | The schema name. |
Lists the available tables.
The following query retrieves the available tables and views:
SELECT * FROM sys_tables
| Name | Type | Description |
| CatalogName | String | The database containing the table or view. |
| SchemaName | String | The schema containing the table or view. |
| TableName | String | The name of the table or view. |
| TableType | String | The table type (table or view). |
| Description | String | A description of the table or view. |
| IsUpdateable | Boolean | Whether the table can be updated. |
Describes the columns of the available tables and views.
The following query returns the columns and data types for the Orders table:
SELECT ColumnName, DataTypeName FROM sys_tablecolumns WHERE TableName='Orders'
| Name | Type | Description |
| CatalogName | String | The name of the database containing the table or view. |
| SchemaName | String | The schema containing the table or view. |
| TableName | String | The name of the table or view containing the column. |
| ColumnName | String | The column name. |
| DataTypeName | String | The data type name. |
| DataType | Int32 | An integer indicating the data type. This value is determined at run time based on the environment. |
| Length | Int32 | The storage size of the column. |
| DisplaySize | Int32 | The designated column's normal maximum width in characters. |
| NumericPrecision | Int32 | The maximum number of digits in numeric data. The column length in characters for character and date-time data. |
| NumericScale | Int32 | The column scale or number of digits to the right of the decimal point. |
| IsNullable | Boolean | Whether the column can contain null. |
| Description | String | A brief description of the column. |
| Ordinal | Int32 | The sequence number of the column. |
| IsAutoIncrement | String | Whether the column value is assigned in fixed increments. |
| IsGeneratedColumn | String | Whether the column is generated. |
| IsHidden | Boolean | Whether the column is hidden. |
| IsArray | Boolean | Whether the column is an array. |
| IsReadOnly | Boolean | Whether the column is read-only. |
| IsKey | Boolean | Indicates whether a field returned from sys_tablecolumns is the primary key of the table. |
| ColumnType | String | The role or classification of the column in the schema. Possible values include SYSTEM, LINKEDCOLUMN, NAVIGATIONKEY, REFERENCECOLUMN, and NAVIGATIONPARENTCOLUMN. |
Lists the available stored procedures.
The following query retrieves the available stored procedures:
SELECT * FROM sys_procedures
| Name | Type | Description |
| CatalogName | String | The database containing the stored procedure. |
| SchemaName | String | The schema containing the stored procedure. |
| ProcedureName | String | The name of the stored procedure. |
| Description | String | A description of the stored procedure. |
| ProcedureType | String | The type of the procedure, such as PROCEDURE or FUNCTION. |
Describes stored procedure parameters.
The following query returns information about all of the input parameters for the GetOAuthAccessToken stored procedure:
SELECT * FROM sys_procedureparameters WHERE ProcedureName = 'GetOAuthAccessToken' AND Direction = 1 OR Direction = 2
To include result set columns in addition to the parameters, set the IncludeResultColumns pseudo column to True:
SELECT * FROM sys_procedureparameters WHERE ProcedureName = 'GetOAuthAccessToken' AND IncludeResultColumns='True'
| Name | Type | Description |
| CatalogName | String | The name of the database containing the stored procedure. |
| SchemaName | String | The name of the schema containing the stored procedure. |
| ProcedureName | String | The name of the stored procedure containing the parameter. |
| ColumnName | String | The name of the stored procedure parameter. |
| Direction | Int32 | An integer corresponding to the type of the parameter: input (1), input/output (2), or output(4). input/output type parameters can be both input and output parameters. |
| DataType | Int32 | An integer indicating the data type. This value is determined at run time based on the environment. |
| DataTypeName | String | The name of the data type. |
| NumericPrecision | Int32 | The maximum precision for numeric data. The column length in characters for character and date-time data. |
| Length | Int32 | The number of characters allowed for character data. The number of digits allowed for numeric data. |
| NumericScale | Int32 | The number of digits to the right of the decimal point in numeric data. |
| IsNullable | Boolean | Whether the parameter can contain null. |
| IsRequired | Boolean | Whether the parameter is required for execution of the procedure. |
| IsArray | Boolean | Whether the parameter is an array. |
| Description | String | The description of the parameter. |
| Ordinal | Int32 | The index of the parameter. |
| Values | String | The values you can set in this parameter are limited to those shown in this column. Possible values are comma-separated. |
| SupportsStreams | Boolean | Whether the parameter represents a file that you can pass as either a file path or a stream. |
| IsPath | Boolean | Whether the parameter is a target path for a schema creation operation. |
| Default | String | The value used for this parameter when no value is specified. |
| SpecificName | String | A label that, when multiple stored procedures have the same name, uniquely identifies each identically-named stored procedure. If there's only one procedure with a given name, its name is simply reflected here. |
| IsCDataProvided | Boolean | Whether the procedure is added/implemented by CData, as opposed to being a native SAP Ariba procedure. |
| Name | Type | Description |
| IncludeResultColumns | Boolean | Whether the output should include columns from the result set in addition to parameters. Defaults to False. |
Describes the primary and foreign keys.
The following query retrieves the primary key for the Orders table:
SELECT * FROM sys_keycolumns WHERE IsKey='True' AND TableName='Orders'
| Name | Type | Description |
| CatalogName | String | The name of the database containing the key. |
| SchemaName | String | The name of the schema containing the key. |
| TableName | String | The name of the table containing the key. |
| ColumnName | String | The name of the key column. |
| IsKey | Boolean | Whether the column is a primary key in the table referenced in the TableName field. |
| IsForeignKey | Boolean | Whether the column is a foreign key referenced in the TableName field. |
| PrimaryKeyName | String | The name of the primary key. |
| ForeignKeyName | String | The name of the foreign key. |
| ReferencedCatalogName | String | The database containing the primary key. |
| ReferencedSchemaName | String | The schema containing the primary key. |
| ReferencedTableName | String | The table containing the primary key. |
| ReferencedColumnName | String | The column name of the primary key. |
Describes the foreign keys.
The following query retrieves all foreign keys which refer to other tables:
SELECT * FROM sys_foreignkeys WHERE ForeignKeyType = 'FOREIGNKEY_TYPE_IMPORT'
| Name | Type | Description |
| CatalogName | String | The name of the database containing the key. |
| SchemaName | String | The name of the schema containing the key. |
| TableName | String | The name of the table containing the key. |
| ColumnName | String | The name of the key column. |
| PrimaryKeyName | String | The name of the primary key. |
| ForeignKeyName | String | The name of the foreign key. |
| ReferencedCatalogName | String | The database containing the primary key. |
| ReferencedSchemaName | String | The schema containing the primary key. |
| ReferencedTableName | String | The table containing the primary key. |
| ReferencedColumnName | String | The column name of the primary key. |
| ForeignKeyType | String | Designates whether the foreign key is an import (points to other tables) or export (referenced from other tables) key. |
Describes the primary keys.
The following query retrieves the primary keys from all tables and views:
SELECT * FROM sys_primarykeys
| Name | Type | Description |
| CatalogName | String | The name of the database containing the key. |
| SchemaName | String | The name of the schema containing the key. |
| TableName | String | The name of the table containing the key. |
| ColumnName | String | The name of the key column. |
| KeySeq | String | The sequence number of the primary key. |
| KeyName | String | The name of the primary key. |
Describes the available indexes. By filtering on indexes, you can write more selective queries with faster query response times.
The following query retrieves all indexes that are not primary keys:
SELECT * FROM sys_indexes WHERE IsPrimary='false'
| Name | Type | Description |
| CatalogName | String | The name of the database containing the index. |
| SchemaName | String | The name of the schema containing the index. |
| TableName | String | The name of the table containing the index. |
| IndexName | String | The index name. |
| ColumnName | String | The name of the column associated with the index. |
| IsUnique | Boolean | True if the index is unique. False otherwise. |
| IsPrimary | Boolean | True if the index is a primary key. False otherwise. |
| Type | Int16 | An integer value corresponding to the index type: statistic (0), clustered (1), hashed (2), or other (3). |
| SortOrder | String | The sort order: A for ascending or D for descending. |
| OrdinalPosition | Int16 | The sequence number of the column in the index. |
Returns information on the available connection properties and those set in the connection string.
The following query retrieves all connection properties that have been set in the connection string or set through a default value:
SELECT * FROM sys_connection_props WHERE Value <> ''
| Name | Type | Description |
| Name | String | The name of the connection property. |
| ShortDescription | String | A brief description. |
| Type | String | The data type of the connection property. |
| Default | String | The default value if one is not explicitly set. |
| Values | String | A comma-separated list of possible values. A validation error is thrown if another value is specified. |
| Value | String | The value you set or a preconfigured default. |
| Required | Boolean | Whether the property is required to connect. |
| Category | String | The category of the connection property. |
| IsSessionProperty | String | Whether the property is a session property, used to save information about the current connection. |
| Sensitivity | String | The sensitivity level of the property. This informs whether the property is obfuscated in logging and authentication forms. |
| PropertyName | String | A camel-cased truncated form of the connection property name. |
| Ordinal | Int32 | The index of the parameter. |
| CatOrdinal | Int32 | The index of the parameter category. |
| Hierarchy | String | Shows dependent properties associated that need to be set alongside this one. |
| Visible | Boolean | Informs whether the property is visible in the connection UI. |
| ETC | String | Various miscellaneous information about the property. |
Describes the SELECT query processing that the Cloud can offload to the data source.
See SQL Compliance for SQL syntax details.
Below is an example data set of SQL capabilities. Some aspects of SELECT functionality are returned in a comma-separated list if supported; otherwise, the column contains NO.
| Name | Description | Possible Values |
| AGGREGATE_FUNCTIONS | Supported aggregation functions. | AVG, COUNT, MAX, MIN, SUM, DISTINCT |
| COUNT | Whether COUNT function is supported. | YES, NO |
| IDENTIFIER_QUOTE_OPEN_CHAR | The opening character used to escape an identifier. | [ |
| IDENTIFIER_QUOTE_CLOSE_CHAR | The closing character used to escape an identifier. | ] |
| SUPPORTED_OPERATORS | A list of supported SQL operators. | =, >, <, >=, <=, <>, !=, LIKE, NOT LIKE, IN, NOT IN, IS NULL, IS NOT NULL, AND, OR |
| GROUP_BY | Whether GROUP BY is supported, and, if so, the degree of support. | NO, NO_RELATION, EQUALS_SELECT, SQL_GB_COLLATE |
| OJ_CAPABILITIES | The supported varieties of outer joins supported. | NO, LEFT, RIGHT, FULL, INNER, NOT_ORDERED, ALL_COMPARISON_OPS |
| OUTER_JOINS | Whether outer joins are supported. | YES, NO |
| SUBQUERIES | Whether subqueries are supported, and, if so, the degree of support. | NO, COMPARISON, EXISTS, IN, CORRELATED_SUBQUERIES, QUANTIFIED |
| STRING_FUNCTIONS | Supported string functions. | LENGTH, CHAR, LOCATE, REPLACE, SUBSTRING, RTRIM, LTRIM, RIGHT, LEFT, UCASE, SPACE, SOUNDEX, LCASE, CONCAT, ASCII, REPEAT, OCTET, BIT, POSITION, INSERT, TRIM, UPPER, REGEXP, LOWER, DIFFERENCE, CHARACTER, SUBSTR, STR, REVERSE, PLAN, UUIDTOSTR, TRANSLATE, TRAILING, TO, STUFF, STRTOUUID, STRING, SPLIT, SORTKEY, SIMILAR, REPLICATE, PATINDEX, LPAD, LEN, LEADING, KEY, INSTR, INSERTSTR, HTML, GRAPHICAL, CONVERT, COLLATION, CHARINDEX, BYTE |
| NUMERIC_FUNCTIONS | Supported numeric functions. | ABS, ACOS, ASIN, ATAN, ATAN2, CEILING, COS, COT, EXP, FLOOR, LOG, MOD, SIGN, SIN, SQRT, TAN, PI, RAND, DEGREES, LOG10, POWER, RADIANS, ROUND, TRUNCATE |
| TIMEDATE_FUNCTIONS | Supported date/time functions. | NOW, CURDATE, DAYOFMONTH, DAYOFWEEK, DAYOFYEAR, MONTH, QUARTER, WEEK, YEAR, CURTIME, HOUR, MINUTE, SECOND, TIMESTAMPADD, TIMESTAMPDIFF, DAYNAME, MONTHNAME, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, EXTRACT |
| REPLICATION_SKIP_TABLES | Indicates tables skipped during replication. | |
| REPLICATION_TIMECHECK_COLUMNS | A string array containing a list of columns which will be used to check for (in the given order) to use as a modified column during replication. | |
| IDENTIFIER_PATTERN | String value indicating what string is valid for an identifier. | |
| SUPPORT_TRANSACTION | Indicates if the provider supports transactions such as commit and rollback. | YES, NO |
| DIALECT | Indicates the SQL dialect to use. | |
| KEY_PROPERTIES | Indicates the properties which identify the uniform database. | |
| SUPPORTS_MULTIPLE_SCHEMAS | Indicates if multiple schemas may exist for the provider. | YES, NO |
| SUPPORTS_MULTIPLE_CATALOGS | Indicates if multiple catalogs may exist for the provider. | YES, NO |
| DATASYNCVERSION | The CData Data Sync version needed to access this driver. | Standard, Starter, Professional, Enterprise |
| DATASYNCCATEGORY | The CData Data Sync category of this driver. | Source, Destination, Cloud Destination |
| SUPPORTSENHANCEDSQL | Whether enhanced SQL functionality beyond what is offered by the API is supported. | TRUE, FALSE |
| SUPPORTS_BATCH_OPERATIONS | Whether batch operations are supported. | YES, NO |
| SQL_CAP | All supported SQL capabilities for this driver. | SELECT, INSERT, DELETE, UPDATE, TRANSACTIONS, ORDERBY, OAUTH, ASSIGNEDID, LIMIT, LIKE, BULKINSERT, COUNT, BULKDELETE, BULKUPDATE, GROUPBY, HAVING, AGGS, OFFSET, REPLICATE, COUNTDISTINCT, JOINS, DROP, CREATE, DISTINCT, INNERJOINS, SUBQUERIES, ALTER, MULTIPLESCHEMAS, GROUPBYNORELATION, OUTERJOINS, UNIONALL, UNION, UPSERT, GETDELETED, CROSSJOINS, GROUPBYCOLLATE, MULTIPLECATS, FULLOUTERJOIN, MERGE, JSONEXTRACT, BULKUPSERT, SUM, SUBQUERIESFULL, MIN, MAX, JOINSFULL, XMLEXTRACT, AVG, MULTISTATEMENTS, FOREIGNKEYS, CASE, LEFTJOINS, COMMAJOINS, WITH, LITERALS, RENAME, NESTEDTABLES, EXECUTE, BATCH, BASIC, INDEX |
| PREFERRED_CACHE_OPTIONS | A string value specifies the preferred cacheOptions. | |
| ENABLE_EF_ADVANCED_QUERY | Indicates if the driver directly supports advanced queries coming from Entity Framework. If not, queries will be handled client side. | YES, NO |
| PSEUDO_COLUMNS | A string array indicating the available pseudo columns. | |
| MERGE_ALWAYS | If the value is true, The Merge Mode is forcibly executed in Data Sync. | TRUE, FALSE |
| REPLICATION_MIN_DATE_QUERY | A select query to return the replicate start datetime. | |
| REPLICATION_MIN_FUNCTION | Allows a provider to specify the formula name to use for executing a server side min. | |
| REPLICATION_START_DATE | Allows a provider to specify a replicate startdate. | |
| REPLICATION_MAX_DATE_QUERY | A select query to return the replicate end datetime. | |
| REPLICATION_MAX_FUNCTION | Allows a provider to specify the formula name to use for executing a server side max. | |
| IGNORE_INTERVALS_ON_INITIAL_REPLICATE | A list of tables which will skip dividing the replicate into chunks on the initial replicate. | |
| CHECKCACHE_USE_PARENTID | Indicates whether the CheckCache statement should be done against the parent key column. | TRUE, FALSE |
| CREATE_SCHEMA_PROCEDURES | Indicates stored procedures that can be used for generating schema files. |
The following query retrieves the operators that can be used in the WHERE clause:
SELECT * FROM sys_sqlinfo WHERE Name = 'SUPPORTED_OPERATORS'
Note that individual tables may have different limitations or requirements on the WHERE clause; refer to the Data Model section for more information.
| Name | Type | Description |
| NAME | String | A component of SQL syntax, or a capability that can be processed on the server. |
| VALUE | String | Detail on the supported SQL or SQL syntax. |
Returns information about attempted modifications.
The following query retrieves the Ids of the modified rows in a batch operation:
SELECT * FROM sys_identity
| Name | Type | Description |
| Id | String | The database-generated Id returned from a data modification operation. |
| Batch | String | An identifier for the batch. 1 for a single operation. |
| Operation | String | The result of the operation in the batch: INSERTED, UPDATED, or DELETED. |
| Message | String | SUCCESS or an error message if the update in the batch failed. |
Describes the available system information.
The following query retrieves all columns:
SELECT * FROM sys_information
| Name | Type | Description |
| Product | String | The name of the product. |
| Version | String | The version number of the product. |
| Datasource | String | The name of the datasource the product connects to. |
| NodeId | String | The unique identifier of the machine where the product is installed. |
| HelpURL | String | The URL to the product's help documentation. |
| License | String | The license information for the product. (If this information is not available, the field may be left blank or marked as 'N/A'.) |
| Location | String | The file path location where the product's library is stored. |
| Environment | String | The version of the environment or rumtine the product is currently running under. |
| DataSyncVersion | String | The tier of CData Sync required to use this connector. |
| DataSyncCategory | String | The category of CData Sync functionality (e.g., Source, Destination). |
The connection string properties are the various options that can be used to establish a connection. This section provides a complete list of the options you can configure in the connection string for this provider. Click the links for further details.
For more information on establishing a connection, see Establishing a Connection.
| Property | Description |
| ANID | Specify your SAP Ariba Network ID. |
| API | Specify which API you would like the provider to retrieve SAP Ariba data from. |
| APIKey | Your OAuth application key. |
| AuthScheme | Set the type of authentication to use when connecting to SAP Ariba. |
| Environment | The environment to use when connecting to SAP Ariba. |
| DataCenter | The data center where your account's data is hosted. |
| Realm | Specify the realm from which you would like to access data. |
| Property | Description |
| OAuthClientId | Specifies the client ID (also known as the consumer key) assigned to your custom OAuth application. This ID is required to identify the application to the OAuth authorization server during authentication. |
| OAuthClientSecret | Specifies the client secret assigned to your custom OAuth application. This confidential value is used to authenticate the application to the OAuth authorization server. (Custom OAuth applications only.). |
| Property | Description |
| SSLServerCert | Specifies the certificate to be accepted from the server when connecting using TLS/SSL. |
| Property | Description |
| Verbosity | Specifies the verbosity level of the log file, which controls the amount of detail logged. Supported values range from 1 to 5. |
| Property | Description |
| BrowsableSchemas | Optional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC . |
| Property | Description |
| IncludeCustomFields | Determines whether the provider exposes custom fields in SAP Ariba tables as columns. |
| MaxRows | Specifies the maximum number of rows returned for queries that do not include either aggregation or GROUP BY. |
| MaxThreads | Specifies the maximum number of concurrent requests the provider can execute to SAP Ariba. |
| Pagesize | Specifies the maximum number of records per page the provider returns when requesting data from SAP Ariba. |
| PseudoColumns | Specifies the pseudocolumns to expose as table columns, expressed as a string in the format 'TableName=ColumnName;TableName=ColumnName'. |
| Timeout | Specifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error. |
This section provides a complete list of the Authentication properties you can configure in the connection string for this provider.
| Property | Description |
| ANID | Specify your SAP Ariba Network ID. |
| API | Specify which API you would like the provider to retrieve SAP Ariba data from. |
| APIKey | Your OAuth application key. |
| AuthScheme | Set the type of authentication to use when connecting to SAP Ariba. |
| Environment | The environment to use when connecting to SAP Ariba. |
| DataCenter | The data center where your account's data is hosted. |
| Realm | Specify the realm from which you would like to access data. |
Specify your SAP Ariba Network ID.
string
""
To find your ID as a buyer: https://support.ariba.com/item/view/187831
To find your ID as a supplier: https://support.ariba.com/item/view/KB0392438
Specify which API you would like the provider to retrieve SAP Ariba data from.
string
"PurchaseOrdersBuyerAPI-V1"
Specify which API you would like the Cloud to retrieve SAP Ariba data from.
Your OAuth application key.
string
""
SAP Ariba OAuth application keys are generated when an OAuth application is first created. See Creating a Custom OAuth App for more information
Set the type of authentication to use when connecting to SAP Ariba.
string
"OAuthClient"
The environment to use when connecting to SAP Ariba.
string
"PRODUCTION"
The production environment returns real data and is tied to your application.
The test environment returns mock data and is tied to your application.
The data center where your account's data is hosted.
string
"US"
The data center where your account's data is hosted.
Specify the realm from which you would like to access data.
string
""
Specify the realm from which you would like to access data.
This section provides a complete list of the OAuth properties you can configure in the connection string for this provider.
| Property | Description |
| OAuthClientId | Specifies the client ID (also known as the consumer key) assigned to your custom OAuth application. This ID is required to identify the application to the OAuth authorization server during authentication. |
| OAuthClientSecret | Specifies the client secret assigned to your custom OAuth application. This confidential value is used to authenticate the application to the OAuth authorization server. (Custom OAuth applications only.). |
Specifies the client ID (also known as the consumer key) assigned to your custom OAuth application. This ID is required to identify the application to the OAuth authorization server during authentication.
string
""
This property is required in two cases:
(When the driver provides embedded OAuth credentials, this value may already be provided by the Cloud and thus not require manual entry.)
OAuthClientId is generally used alongside other OAuth-related properties such as OAuthClientSecret and OAuthSettingsLocation when configuring an authenticated connection.
OAuthClientId is one of the key connection parameters that need to be set before users can authenticate via OAuth. You can usually find this value in your identity provider’s application registration settings. Look for a field labeled Client ID, Application ID, or Consumer Key.
While the client ID is not considered a confidential value like a client secret, it is still part of your application's identity and should be handled carefully. Avoid exposing it in public repositories or shared configuration files.
For more information on how this property is used when configuring a connection, see Establishing a Connection.
Specifies the client secret assigned to your custom OAuth application. This confidential value is used to authenticate the application to the OAuth authorization server. (Custom OAuth applications only.).
string
""
This property (sometimes called the application secret or consumer secret) is required when using a custom OAuth application in any flow that requires secure client authentication, such as web-based OAuth, service-based connections, or certificate-based authorization flows. It is not required when using an embedded OAuth application.
The client secret is used during the token exchange step of the OAuth flow, when the driver requests an access token from the authorization server. If this value is missing or incorrect, authentication fails with either an invalid_client or an unauthorized_client error.
OAuthClientSecret is one of the key connection parameters that need to be set before users can authenticate via OAuth. You can obtain this value from your identity provider when registering the OAuth application.
Notes:
For more information on how this property is used when configuring a connection, see Establishing a Connection
This section provides a complete list of the SSL properties you can configure in the connection string for this provider.
| Property | Description |
| SSLServerCert | Specifies the certificate to be accepted from the server when connecting using TLS/SSL. |
Specifies the certificate to be accepted from the server when connecting using TLS/SSL.
string
""
If you are using a TLS/SSL connection, use this property to specify the TLS/SSL certificate to be accepted from the server. If you specify a value for this property, all other certificates that are not trusted by the machine are rejected.
This property can take the following forms:
| Description | Example |
| A full PEM Certificate (example shortened for brevity) | -----BEGIN CERTIFICATE----- MIIChTCCAe4CAQAwDQYJKoZIhv......Qw== -----END CERTIFICATE----- |
| A path to a local file containing the certificate | C:\cert.cer |
| The public key (example shortened for brevity) | -----BEGIN RSA PUBLIC KEY----- MIGfMA0GCSq......AQAB -----END RSA PUBLIC KEY----- |
| The MD5 Thumbprint (hex values can also be either space- or colon-separated) | ecadbdda5a1529c58a1e9e09828d70e4 |
| The SHA1 Thumbprint (hex values can also be either space- or colon-separated) | 34a929226ae0819f2ec14b4a3d904f801cbb150d |
Note: It is possible to use '*' to signify that all certificates should be accepted, but due to security concerns this is not recommended.
This section provides a complete list of the Logging properties you can configure in the connection string for this provider.
| Property | Description |
| Verbosity | Specifies the verbosity level of the log file, which controls the amount of detail logged. Supported values range from 1 to 5. |
Specifies the verbosity level of the log file, which controls the amount of detail logged. Supported values range from 1 to 5.
string
"1"
This property defines the level of detail the Cloud includes in the log file. Higher verbosity levels increase the detail of the logged information, but may also result in larger log files and slower performance due to the additional data being captured.
The default verbosity level is 1, which is recommended for regular operation. Higher verbosity levels are primarily intended for debugging purposes. For more information on each level, refer to Logging.
When combined with the LogModules property, Verbosity can refine logging to specific categories of information.
This section provides a complete list of the Schema properties you can configure in the connection string for this provider.
| Property | Description |
| BrowsableSchemas | Optional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC . |
Optional setting that restricts the schemas reported to a subset of all available schemas. For example, BrowsableSchemas=SchemaA,SchemaB,SchemaC .
string
""
Listing all available database schemas can take extra time, thus degrading performance. Providing a list of schemas in the connection string saves time and improves performance.
This section provides a complete list of the Miscellaneous properties you can configure in the connection string for this provider.
| Property | Description |
| IncludeCustomFields | Determines whether the provider exposes custom fields in SAP Ariba tables as columns. |
| MaxRows | Specifies the maximum number of rows returned for queries that do not include either aggregation or GROUP BY. |
| MaxThreads | Specifies the maximum number of concurrent requests the provider can execute to SAP Ariba. |
| Pagesize | Specifies the maximum number of records per page the provider returns when requesting data from SAP Ariba. |
| PseudoColumns | Specifies the pseudocolumns to expose as table columns, expressed as a string in the format 'TableName=ColumnName;TableName=ColumnName'. |
| Timeout | Specifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error. |
Determines whether the provider exposes custom fields in SAP Ariba tables as columns.
bool
false
Determines whether the Cloud exposes custom fields in SAP Ariba tables as columns.
Specifies the maximum number of rows returned for queries that do not include either aggregation or GROUP BY.
int
-1
The default value for this property, -1, means that no row limit is enforced unless the query explicitly includes a LIMIT clause. (When a query includes a LIMIT clause, the value specified in the query takes precedence over the MaxRows setting.)
Setting MaxRows to a whole number greater than 0 ensures that queries do not return excessively large result sets by default.
This property is useful for optimizing performance and preventing excessive resource consumption when executing queries that could otherwise return very large datasets.
Specifies the maximum number of concurrent requests the provider can execute to SAP Ariba.
string
"5"
This property allows you to issue multiple requests simultaneously, thereby improving performance.
Using more concurrent threads improves performance at the cost of additional memory usage.
Specifies the maximum number of records per page the provider returns when requesting data from SAP Ariba.
int
100
When processing a query, instead of requesting all of the queried data at once from SAP Ariba, the Cloud can request the queried data in pieces called pages.
This connection property determines the maximum number of results that the Cloud requests per page.
Note: Setting large page sizes may improve overall query execution time, but doing so causes the Cloud to use more memory when executing queries and risks triggering a timeout.
Specifies the pseudocolumns to expose as table columns, expressed as a string in the format 'TableName=ColumnName;TableName=ColumnName'.
string
""
This property allows you to define which pseudocolumns the Cloud exposes as table columns.
To specify individual pseudocolumns, use the following format:
Table1=Column1;Table1=Column2;Table2=Column3
To include all pseudocolumns for all tables use:
*=*
Specifies the maximum time, in seconds, that the provider waits for a server response before throwing a timeout error.
int
60
The timeout applies to each individual communication with the server rather than the entire query or operation. For example, a query could continue running beyond 60 seconds if each paging call completes within the timeout limit.
Timeout is set to 60 seconds by default. To disable timeouts, set this property to 0.
Disabling the timeout allows operations to run indefinitely until they succeed or fail due to other conditions such as server-side timeouts, network interruptions, or resource limits on the server.
Note: Use this property cautiously to avoid long-running operations that could degrade performance or result in unresponsive behavior.
LZMA from 7Zip LZMA SDK
LZMA SDK is placed in the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute the original LZMA SDK code, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.
LZMA2 from XZ SDK
Version 1.9 and older are in the public domain.
Xamarin.Forms
Xamarin SDK
The MIT License (MIT)
Copyright (c) .NET Foundation Contributors
All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
NSIS 3.10
Copyright (C) 1999-2025 Contributors THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
1. DEFINITIONS
"Contribution" means:
a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and b) in the case of each subsequent Contributor:
i) changes to the Program, and
ii) additions to the Program;
where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program.
"Contributor" means any person or entity that distributes the Program.
"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.
"Program" means the Contributions distributed in accordance with this Agreement.
"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.
2. GRANT OF RIGHTS
a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.
b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.
c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.
d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement.
3. REQUIREMENTS
A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:
a) it complies with the terms and conditions of this Agreement; and
b) its license agreement:
i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose;
ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;
iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and
iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.
When the Program is made available in source code form:
a) it must be made available under this Agreement; and
b) a copy of this Agreement must be included with each copy of the Program.
Contributors may not remove or alter any copyright notices contained within the Program.
Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution.
4. COMMERCIAL DISTRIBUTION
Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.
For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.
5. NO WARRANTY
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations.
6. DISCLAIMER OF LIABILITY
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
7. GENERAL
If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed.
All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive.
Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved.
This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.