Previous Topic: Ranges for Custom Status Values

Next Topic: Add an Additional Request Status

Sample Sections

The following sample sections of the requestshared.xml file illustrate important settings that control the request status values. In these sections, the ellipses represent omitted lines.

<?xml version="1.0" encoding="UTF-8" ?> 
...
- <request_header>
  <!--  status values must be synchronized with the status list in request_item, request_item_approval_action and/or request_item_fulfillment_action   --> 
...
  <st_1>Pending</st_1> 
  <st_2>Completed</st_2> 
...
  <st_100>Not Submitted</st_100> 
  <st_101>Not Submitted - Cart</st_101> 
...
  <!--  400 to 499 are reserved   --> 
  <st_400>Pending Approval</st_400> 
...
  <!--  800 to 899 are reserved   --> 
  <st_800>Approved</st_800> 
  <st_801>Approval Not Needed</st_801> 
...
  <st_1000>Pending Fulfillment</st_1000> 
  <st_1001>Check Availability</st_1001> 
...
  <st_1999>Fulfillment Cancelled</st_1999> 
  <st_2000>Fulfilled</st_2000> 
... 
  </request_header>
- <request_item>
  <!--  status values must be synchronized with the status list in request_header, request_item_approval_action and/or request_item_fulfillment_action   --> 
...
  <st_1>Pending</st_1> 
  <st_2>Completed</st_2> 
...
  <st_100>Not Submitted</st_100> 
  <st_101>Not Submitted - Cart</st_101> 
... 
  <!--  400 to 499 are reserved   --> 
  <st_400>Pending Approval</st_400> 
... 
  <!--  800 to 899 are reserved   --> 
  <st_800>Approved</st_800> 
  <st_801>Approval Not Needed</st_801> 
...
  <st_1000>Pending Fulfillment</st_1000> 
  <st_1001>Check Availability</st_1001> 
...
  <st_1999>Fulfillment Cancelled</st_1999> 
  <st_2000>Fulfilled</st_2000> 
... 
  </request_item>
- <request_item_approval_action>
  <!--  status values must be synchronized with the status list in request_header and request_item   --> 
  <!--  A "default" value for the attribute "current_status_value" indicates these statuses are listed by default in the "item status" menu if no other custom statuses are defined   --> 


<custom_menu current_status_value="default">
				<!-- 400 to 499 are reserved -->
				<st_400 statval="400"/>
			
				<!-- 500 to 599 can be used for custom pending approval status -->
				<!-- 600 to 699 are reserved -->
				<!-- 700 to 799 can be used for custom rejected status -->
				<!-- 800 to 899 are reserved -->
				<st_800 statval="800"/>
				<!-- 900 to 999 can be used for custom approved status -->
				<st_600 statval="600"/>
			</custom_menu>

			<custom_menu current_status_value="800">
				<!-- 400 to 499 are reserved -->
				<st_800 statval="800"/>
				<st_999 statval="999"/>
				<!-- 900 to 999 can be used for custom approved status -->
				<st_600 statval="600"/>
			</custom_menu>
...		
		</request_item_approval_action>
		<request_item_stuck_approval_action>
		<custom_menu current_status_value="default">
				<!-- 400 to 499 are reserved -->
				<st_400 statval="400"/>
				<!-- 500 to 599 can be used for custom pending approval status -->
				<!-- 600 to 699 are reserved -->
				<!-- 700 to 799 can be used for custom rejected status -->
				<!-- 800 to 899 are reserved -->
				<st_800 statval="800"/>
				<!-- 900 to 999 can be used for custom approved status -->
				<st_600 statval="600"/>
			</custom_menu>
...
			<custom_menu current_status_value="200">
				<!-- 400 to 499 are reserved -->
				<st_200 statval="200"/>
				<st_999 statval="999"/>
				<!-- 900 to 999 can be used for custom approved status -->
				<st_600 statval="600"/>
			</custom_menu>
		</request_item_stuck_approval_action>
...		
		<request_item_stuck_fulfillment_action>
			<!-- status values must be synchronized with the status list in request_header and request_item -->
			<!-- A "default" value for the attribute "current_status_value" indicates these statuses are listed by default in the "item status" menu if no other custom statuses are defined -->
			<!-- The order of the statuses that appear in the status drop-down lists on the UI are based on the sequence of the status codes added here 
				For ex: because status 1999 is defined above 2000 in this file, then status 1999 appears above status 2000 in the status drop-down lists on the UI   
		 -->
			<custom_menu current_status_value="default">
		
				<st_1999 statval="1999"/>
				<st_2000 statval="2000"/>
			</custom_menu>
	
			<custom_menu current_status_value="1000">
			
				<st_1000 statval="1000"/>
				<st_1999 statval="1999"/>
				<st_2000 statval="2000"/>
			</custom_menu>
			
			<custom_menu current_status_value="1001">
				<st_1001 statval="1001"/>
				<st_1999 statval="1999"/>
				<st_2000 statval="2000"/>
			</custom_menu>
			
			<custom_menu current_status_value="1002">
				<st_1002 statval="1002"/> <!-- if this value changes, synchronize with items located in section uapm_url below -->
				<st_1999 statval="1999"/>
				<st_2000 statval="2000"/>
			</custom_menu>
			
			<custom_menu current_status_value="1003">
				<st_1003 statval="1003"/>
				<st_1999 statval="1999"/>
				<st_2000 statval="2000"/>
			</custom_menu>
...			
			<custom_menu current_status_value="1007">
				<st_1007 statval="1007"/>
				<st_1999 statval="1999"/>
				<st_2000 statval="2000"/>
			</custom_menu>
			
			<custom_menu current_status_value="1008">
				<st_1008 statval="1008"/>
				<st_1999 statval="1999"/>
				<st_2000 statval="2000"/>
			</custom_menu>
...
		</request_item_stuck_fulfillment_action>
...
  </shared>