PurchaseOrdersServiceLines
Reads /serviceLines entries from the PurchaseOrders table.
Workday Resource Information
Retrieves a purchase order with the specified ID.Secured by: Process: Purchase Order - View, Process: Supplier Invoice (OLD)+TG, Process: Supplier Invoice - View, Self-Service: Purchase Order, Self-Service: Supplier Contact Tasks, View: Organization Purchase Order
Scope: Procurement, Supplier Accounts
Aggregate Fields
The connector represents the following fields as aggregates containing JSON text. Each of them conforms to their respective schema. Fields marked with an asterisk are required and must be included if their parent object is.
This information is derived from the Workday REST API specification which does not explicitly list all business rules and validations that apply to each object. More fields may be required than what is listed here.
Splits_Aggregate
[{ amount: Currency /* The amount on the purchase order transaction line split. */ descriptor: Text /* A preview of the instance */ id: Text /* Id of the instance */ location: { /* The location as a worktag. */ descriptor: Text /* A description of the instance */ href: Text /* A link to the instance */ *id: Text /* wid / id / reference id */ } memo: Text /* The memo for a purchase order line split. */ percent: Numeric /* The percentage for a purchase order line split. */ quantity: Numeric /* The quantity for the purchase order line split. */ worktags: [{ descriptor: Text /* A preview of the instance */ href: Text /* A link to the instance */ id: Text /* Id of the instance */ worktagType: { /* The worktag type. */ descriptor: Text /* A description of the instance */ href: Text /* A link to the instance */ *id: Text /* wid / id / reference id */ } }] }]
TaxRecoverability_Aggregate
[{ descriptor: Text /* A preview of the instance */ id: Text /* Id of the instance */ percentRecoverable: Numeric /* The tax recoverable percentage for tax recoverability. */ }]
Worktags_Aggregate
[{ descriptor: Text /* A preview of the instance */ href: Text /* A link to the instance */ id: Text /* Id of the instance */ worktagType: { /* The worktag type. */ descriptor: Text /* A description of the instance */ href: Text /* A link to the instance */ *id: Text /* wid / id / reference id */ } }]
Columns
Name | Type | Description |
Id [KEY] | String | Id of the instance |
PurchaseOrders_Id [KEY] | String | The Workday ID of the PurchaseOrders that contains this. |
AmountInvoiced_Currency | String | Supported for: SELECT. The total extended line amount of all invoice lines for the purchase order line. This field works with Goods and Service lines. The currency is the currency of the purchase order. (Currency name) |
AmountInvoiced_Value | Decimal | Supported for: SELECT. The total extended line amount of all invoice lines for the purchase order line. This field works with Goods and Service lines. The currency is the currency of the purchase order. (Value) |
AmountOrdered_Currency | String | Supported for: SELECT. The extended amount for the purchase order line. Excludes extended amounts on Tax Only Invoices. (Currency name) |
AmountOrdered_Value | Decimal | Supported for: SELECT. The extended amount for the purchase order line. Excludes extended amounts on Tax Only Invoices. (Value) |
AmountReceived_Currency | String | Supported for: SELECT. The total extended line amount of all receipt lines for the purchase order line. (Currency name) |
AmountReceived_Value | Decimal | Supported for: SELECT. The total extended line amount of all receipt lines for the purchase order line. (Value) |
DeliverTo_Descriptor | String | Supported for: SELECT. A description of the instance |
DeliverTo_Href | String | Supported for: SELECT. A link to the instance |
DeliverTo_Id | String | Supported for: SELECT. wid / id / reference id |
Descriptor | String | Supported for: SELECT. A preview of the instance |
DueDate | Datetime | Supported for: SELECT. The date when the purchase order line is due for delivery. This value is based on the creation date of the purchase order and lead time for the item. |
EndDate | Datetime | Supported for: SELECT. The end date for the simple service order line. |
ExtendedAmount_Currency | String | Supported for: SELECT. The extended amount for the purchase order line. Excludes extended amounts on tax only invoices. (Currency name) |
ExtendedAmount_Value | Decimal | Supported for: SELECT. The extended amount for the purchase order line. Excludes extended amounts on tax only invoices. (Value) |
ItemDescription | String | Supported for: SELECT. The line item description for the purchase order line. |
ItemName_Descriptor | String | Supported for: SELECT. A description of the instance |
ItemName_Href | String | Supported for: SELECT. A link to the instance |
ItemName_Id | String | Supported for: SELECT. wid / id / reference id |
Location_Descriptor | String | Supported for: SELECT. A description of the instance |
Location_Href | String | Supported for: SELECT. A link to the instance |
Location_Id | String | Supported for: SELECT. wid / id / reference id |
Memo | String | Supported for: SELECT. The line memo for the purchase order line. |
Prepaid | Bool | Supported for: SELECT. If true, the purchase order line is prepaid. |
Retention | Bool | Supported for: SELECT. If true, the purchase order line has retention. |
ShipToAddress_Descriptor | String | Supported for: SELECT. A description of the instance |
ShipToAddress_Href | String | Supported for: SELECT. A link to the instance |
ShipToAddress_Id | String | Supported for: SELECT. wid / id / reference id |
ShipToContact_Descriptor | String | Supported for: SELECT. A description of the instance |
ShipToContact_Href | String | Supported for: SELECT. A link to the instance |
ShipToContact_Id | String | Supported for: SELECT. wid / id / reference id |
SpendCategory_Descriptor | String | Supported for: SELECT. A description of the instance |
SpendCategory_Href | String | Supported for: SELECT. A link to the instance |
SpendCategory_Id | String | Supported for: SELECT. wid / id / reference id |
Splits_Aggregate | String | Supported for: SELECT. A JSON aggregate. The line splits on the purchase order line. Empty when the purchase order line doesn't have splits. |
StartDate | Datetime | Supported for: SELECT. The start date for the simple service order line. |
TaxApplicability_Descriptor | String | Supported for: SELECT. A description of the instance |
TaxApplicability_Href | String | Supported for: SELECT. A link to the instance |
TaxApplicability_Id | String | Supported for: SELECT. wid / id / reference id |
TaxCode_Descriptor | String | Supported for: SELECT. A preview of the instance |
TaxCode_Id | String | Supported for: SELECT. Id of the instance |
TaxRecoverability_Aggregate | String | Supported for: SELECT. A JSON aggregate. The tax recoverability percentage on a taxable purchase order line. |
Worktags_Aggregate | String | Supported for: SELECT. A JSON aggregate. The Worktags for the purchase order line. |
Buyer_Prompt | String | Accepts multiple inputs. Filters the purchase orders by buyer. Specify the Workday ID of the worker assigned as buyer on the purchase order. You can specify multiple buyer query parameters. |
Company_Prompt | String | Accepts multiple inputs. Filters the purchase orders by company. Specify the Workday ID of the company. You can specify multiple company query parameters. |
ExcludeCanceled_Prompt | Bool | If true, this method excludes the purchase orders with Canceled status. The default is false. |
ExcludeClosed_Prompt | Bool | If true, this method excludes the purchase orders with Closed status. The default is false. |
FromDate_Prompt | Date | Filters the purchase orders with document date on or after the specified date. Use the yyyy-mm-dd format. |
OrderFromConnection_Prompt | String | Accepts multiple inputs. Filters the purchase orders by supplier order-from connections. Specify the Workday ID of the order-from connection. You can specify multiple order-from connection query parameters. |
Status_Prompt | String | Accepts multiple inputs. Filters the purchase orders by status. Specify the Workday ID of the status. You can specify multiple status query parameters. |
SubmittedBy_Prompt | String | Accepts multiple inputs. Filters the purchase orders by the worker who submitted the purchase order. Specify the Workday ID of the worker. You can specify multiple submittedBy query parameters. You can use a returned id from GET /workers in the Staffing REST web service. |
Supplier_Prompt | String | Accepts multiple inputs. Filters the purchase orders by supplier. Specify the Workday ID of the supplier. You can specify multiple supplier query parameters. |
ToDate_Prompt | Date | Filters the purchase orders with document date on or before the specified date. Use the yyyy-mm-dd format. |