Service Directory > v31.2 > Financial_Management > Put_Basic_Sales_Item
 

Operation: Put_Basic_Sales_Item

This service operation will add or update Sales Items used as worktag values only. Basic Sales Item data includes Sales Item ID, Item Name, and optional Inactive attribute. Use the Put Sales Item web service to add or update Sales Items used for any type of financial transaction.


@ - 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_Basic_Sales_Item_Request

Element containing Sales Item reference for update and basic Sales Item data required when used as a worktag.
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
@Add_Only  boolean  [1..1]  Add Only Flag. Indicates that the service is an add only, not an update.   
Sales_Item_Reference  Sales_ItemObject  [0..1]  Reference to an existing Sales Item for update only purposes   
Sales_Item_Data  Basic_Sales_Item_Data  [1..1]  Sales Item Data 
Validation Description
Can not update an existing Sales Item with detail information to be a basic worktag only Sales Item.   
 
Validation Description
The Web Service is set to Add Only; but the Sales Item already exists.   
top
 

Response Element: Put_Sales_Item_Response

Element containing Put Sales Item Response Data
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Sales_Item_Reference  Sales_ItemObject  [0..1]  This is the reference id value of the sales item. If a value is provided for sales item, revenue category will default so it is recommended to provide a value for either sales item or revenue category but not both.   
top
 

Sales_ItemObject

part of: Put_Sales_Item_Response, Put_Basic_Sales_Item_Request
 
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  Sales_ItemObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

Sales_ItemObjectID

part of: Sales_ItemObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Sales_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
 

Basic_Sales_Item_Data

part of: Put_Basic_Sales_Item_Request
Element containing all Sales Item data for a Sales Item used as a basic worktag only
 
Parameter name Type/Value Cardinality Description Validations
Sales_Item_ID  string  [0..1]  Sales Item ID. This is the Sales Item unique identifier   
Item_Name  string  [1..1]  Free form text for a meaningful Sales Item Name 
Validation Description
Sales item name is already used.  Sales item name is already used. 
 
Inactive  boolean  [0..1]  Boolean to indicate a Sales Item that is Inactive.   
Validation Description
Can not update an existing Sales Item with detail information to be a basic worktag only Sales Item.   
top
 

Sales_ItemReferenceEnumeration

part of: Sales_ItemObjectID
Base Type
string
top