The Order Approval gear includes three gear configuration pages with which to customize the function and display of the gear:

The table below describes the instance parameters for the Order Approval gear that can be configured on the installConfig page. Typically, they are set by the portal administrator.

Instance parameter

Description

Default value

UseOrderApprovalOfGear

Indicates whether to use the gear’s order approval process. If set to false, the approval process of the commerce application is used instead.

true

ApprovedOrderPageURL

The URL of the order details page used by the commerce application for approved and rejected orders. This page is displayed when the approver clicks the order number of an order that he or she has already approved or rejected.

Important: By default, this parameter is set to a generic URL. If you’re running the gear with the Motorprise store, you must change this parameter to /Motorprise/en/user/order.jsp.

If you’re running the gear with your own commerce application, you must change it to the JSP that is appropriate for the application. Note that if the JSP does not support multiple locales, you’ll need to configure a separate gear instance for each required locale.

checkout/
order.jsp

PendingApprovalOrderPageURL

The URL of the order details page used by the running commerce application for orders that require approval.

If the UseOrderApprovalOfGear parameter is set to false (described above), this page is displayed when the portal end user clicks the order number of an order that requires approval (that is, the order’s status is PENDING_APPROVAL).

Important: By default, this parameter is set to a generic URL. If you’re running the gear with the Motorprise store, you must change this parameter to /Motorprise/en/user/order_pending_approval.jsp.

If you’re running the gear with your own commerce application, you must change it to the JSP that is appropriate for the application. Note that if the JSP does not support multiple locales, you’ll need to configure a separate gear instance for each required locale.

checkout/
order.jsp

The table below describes the instance parameters for the Order Approval gear that can be configured on the instanceConfig page. Typically, they are set by the community leader.

Note that these instance parameters determine the function and display of the content pages that are used in the gear’s order approval process. Consequently, if the gear’s approval process is not being used (that is, the approval process of the commerce application is being used instead), then these parameters have no relevance or impact on how the gear functions.

Instance parameter

Description

Default value

ShowOrderInfoInDetails

Boolean value that indicates whether to display the order’s basic information on the gear’s Order Details page.

true

ShowBillingInfoInDetails

Boolean value that indicates whether to display the order’s billing information on the gear’s Order Details page.

true

ShowShippingInfoInDetails

Boolean value that indicates whether to display the order’s shipping information on the gear’s Order Details page.

true

ShowOrderInfoInApprove

Boolean value that indicates whether to display the order’s basic information on the gear’s Order Approval page.

true

ShowMessageInApprove

Boolean value that indicates whether to provide a message box on the gear’s Order Approval page.

true

ShowOrderInfoInReject

Boolean value that indicates whether to display the order’s basic information on the gear’s Order Rejection page.

true

ShowMessageInReject

Boolean value that indicates whether to provide a message box on the gear’s Order Rejection page.

true

The table below describes the user parameters for the Order Approval gear that can be configured by the portal end user on the userConfig page.

User parameter

Description

Default value

NumberOfOrdersShared

The maximum number of orders to display in Shared mode. If set to zero, no recent orders that require approval are displayed.

5

ShowPendingApprovalCountShared

Boolean value that indicates whether to show the total number of orders that require approval in Shared mode.

true

NumberOfOrdersPerPageFull

The maximum number of orders to display per page in Full Page mode. (If the total number of orders that require approval exceeds this number, the orders are split across multiple pages.)

10

NumberOfOrdersFull

The maximum total number of orders to display in Full Page mode. If set to –1, then all orders are displayed.

-1


Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices