Service Directory > v31.2 > Resource_Management > Put_Asset_Pooling_Rule
 

Operation: Put_Asset_Pooling_Rule

This service allows you to put or replace asset pooling rules. Asset Pooling Rules are ordered, you specify Company, Spend Category, Item, Currency, Quantity Greater Than, and Unit Cost Less Than.


@ - A parameter name with this symbol denotes an XML attribute within the document instead of an XML element.


Contents

 

Web Service

 

Request

 

Response

 

Element(s)

 

Request Element: Put_Asset_Pooling_Rule_Request

Root element for the Request on the Asset Pooling Rules operation.
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
@Add_Only  boolean  [1..1]  Enable to ensure that the request will not delete or modify any existing Asset Pooling Rules.   
Asset_Pooling_Rule_Data  Asset_Pooling_Rule_Data  [0..1]  Element containing all Asset Pooling Rules   
top
 

Response Element: Put_Asset_Pooling_Rule_Response

Root element for the Response on the Put operation.
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Asset_Pooling_Rule_Reference  Asset_Pooling_RuleObject  [0..*]  References to all Asset Pooling Rules   
top
 

Asset_Pooling_Rule_Data

part of: Put_Asset_Pooling_Rule_Request
Element containing all Asset Pooling Rules
 
Parameter name Type/Value Cardinality Description Validations
Asset_Pooling_Rule_Replacement_Data  Asset_Pooling_Rule_Replacement_Data  [0..*]  Element containing asset pooling rule replacement data. 
Validation Description
Either Spend Category or Item must be specified.   
Use another ID for the Asset Pooling Rule or unset the Add Only attribute. An Asset Pooling Rule Rule already exists for the ID [ID].  The Put Asset Pooling Rule web service cannot be used to edit an existing rule; it can only add rules, or replace all rules. 
Rule order must be unique.   
 
top
 

Asset_Pooling_Rule_Replacement_Data

part of: Asset_Pooling_Rule_Data
Element containing asset pooling rule replacement data.
 
Parameter name Type/Value Cardinality Description Validations
Asset_Pooling_Rule_ID  string  [0..1]  This is a unique reference identifier to the set of asset pooling rules.   
Asset_Pooling_Rule_Order  string  [0..1]  Used to define the order of the rules (ascending).   
Company_Reference  OrganizationObject  [0..*]  Reference to existing companies or company hierarchies to which the asset pooling rule applies. 
Validation Description
One or more companies for a rule for Spend Category ([spend category]) have a company currency that does not match the currency specified.   
 
Spend_Category_or_Hierarchy_Reference  Spend_Category_or_HierarchyObject  [0..*]  Reference to existing spend categories or spend category hierarchies to which the asset pooling rule applies. 
Validation Description
Invalid Spend Category. This spend category cannot be tracked in Business Assets   
 
Items_Reference  Item_DescriptorObject  [0..*]  Reference to existing item to which the asset pooling rule applies. 
Validation Description
One or more items is invalid because it does not belong to a trackable Spend Category.   
 
Currency_Reference  CurrencyObject  [0..1]  Reference to an existing currency to which the asset pooling rule applies. This is required if Less Than Amount is specified. 
Validation Description
Currency is required when Unit Cost Less Than is specified.   
 
Quantity_Greater_Than  decimal (22, 2)   [1..1]  The quantity above which the asset pooling rule applies. Quantity must be greater than zero. 
Validation Description
Quantity must be greater than zero.   
The amount entered has too many digits beyond the decimal point.   
 
Unit_Cost_Threshold  decimal (26, 6)   [0..1]  The amount below which the asset pooling rule applies. 
Validation Description
Unit Cost cannot be negative   
 
Validation Description
Either Spend Category or Item must be specified.   
Use another ID for the Asset Pooling Rule or unset the Add Only attribute. An Asset Pooling Rule Rule already exists for the ID [ID].  The Put Asset Pooling Rule web service cannot be used to edit an existing rule; it can only add rules, or replace all rules. 
Rule order must be unique.   
top
 

OrganizationObject

part of: Asset_Pooling_Rule_Replacement_Data
 
Parameter name Type/Value Cardinality Description Validations
@Descriptor  string  [1..1]  Display information used to describe an instance of an object. This 'optional' information is for outbound descriptive purposes only and is not processed on inbound Workday Web Services requests.   
ID  OrganizationObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

OrganizationObjectID

part of: OrganizationObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Company_Reference_ID, Cost_Center_Reference_ID, Custom_Organization_Reference_ID, Organization_Reference_ID, Region_Reference_ID  [1..1]  The unique identifier type. Each "ID" for an instance of an object contains a type and a value. A single instance of an object can have multiple "ID" but only a single "ID" per "type".   
top
 

Spend_Category_or_HierarchyObject

part of: Asset_Pooling_Rule_Replacement_Data
 
Parameter name Type/Value Cardinality Description Validations
@Descriptor  string  [1..1]  Display information used to describe an instance of an object. This 'optional' information is for outbound descriptive purposes only and is not processed on inbound Workday Web Services requests.   
ID  Spend_Category_or_HierarchyObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

Spend_Category_or_HierarchyObjectID

part of: Spend_Category_or_HierarchyObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Resource_Category_Hierarchy_ID, Spend_Category_ID  [1..1]  The unique identifier type. Each "ID" for an instance of an object contains a type and a value. A single instance of an object can have multiple "ID" but only a single "ID" per "type".   
top
 

Item_DescriptorObject

part of: Asset_Pooling_Rule_Replacement_Data
 
Parameter name Type/Value Cardinality Description Validations
@Descriptor  string  [1..1]  Display information used to describe an instance of an object. This 'optional' information is for outbound descriptive purposes only and is not processed on inbound Workday Web Services requests.   
ID  Item_DescriptorObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

Item_DescriptorObjectID

part of: Item_DescriptorObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Catalog_Item_ID, Catalog_Load_Item_ID, Expense_Item_ID, Purchase_Item_ID, Sales_Item_ID, Supplier_Item_ID  [1..1]  The unique identifier type. Each "ID" for an instance of an object contains a type and a value. A single instance of an object can have multiple "ID" but only a single "ID" per "type".   
top
 

CurrencyObject

part of: Asset_Pooling_Rule_Replacement_Data
 
Parameter name Type/Value Cardinality Description Validations
@Descriptor  string  [1..1]  Display information used to describe an instance of an object. This 'optional' information is for outbound descriptive purposes only and is not processed on inbound Workday Web Services requests.   
ID  CurrencyObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

CurrencyObjectID

part of: CurrencyObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Currency_ID, Currency_Numeric_Code  [1..1]  The unique identifier type. Each "ID" for an instance of an object contains a type and a value. A single instance of an object can have multiple "ID" but only a single "ID" per "type".   
top
 

Asset_Pooling_RuleObject

part of: Put_Asset_Pooling_Rule_Response
 
Parameter name Type/Value Cardinality Description Validations
@Descriptor  string  [1..1]  Display information used to describe an instance of an object. This 'optional' information is for outbound descriptive purposes only and is not processed on inbound Workday Web Services requests.   
ID  Asset_Pooling_RuleObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

Asset_Pooling_RuleObjectID

part of: Asset_Pooling_RuleObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Asset_Pooling_Rule_ID  [1..1]  The unique identifier type. Each "ID" for an instance of an object contains a type and a value. A single instance of an object can have multiple "ID" but only a single "ID" per "type".   
top
 

OrganizationReferenceEnumeration

part of: OrganizationObjectID
Base Type
string
top
 

Spend_Category_or_HierarchyReferenceEnumeration

part of: Spend_Category_or_HierarchyObjectID
Base Type
string
top
 

Item_DescriptorReferenceEnumeration

part of: Item_DescriptorObjectID
Base Type
string
top
 

CurrencyReferenceEnumeration

part of: CurrencyObjectID
Base Type
string
top
 

Asset_Pooling_RuleReferenceEnumeration

part of: Asset_Pooling_RuleObjectID
Base Type
string
top