Mutations
copyPurchaseOrderLine
Copies a line item from a purchase order.
MUTATION
copyPurchaseOrderLine(input: CopyPurchaseOrderLineInput!): CopyPurchaseOrderLineArguments
input
required
Returns
purchaseOrderLine
reorderedPurchaseOrderLines
Mutation
mutation CopyPurchaseOrderLine($input: CopyPurchaseOrderLineInput!) {
copyPurchaseOrderLine(input: $input) {
purchaseOrderLine {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
LastSessionId
_AttributedPartsCount
_AttributedUsersCount
_AttributesCount
_CommentsCount
}
reorderedPurchaseOrderLines {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
LastSessionId
_AttributedPartsCount
_AttributedUsersCount
_AttributesCount
_CommentsCount
}
}
}Variables
{
"input": {
"purchaseOrderLineId": "id"
}
}Response
{
"data": {
"copyPurchaseOrderLine": {
"purchaseOrderLine": {
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"LastSessionId": "string",
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1,
"_AttributesCount": 1,
"_CommentsCount": 1
},
"reorderedPurchaseOrderLines": [
{
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"LastSessionId": "string",
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1,
"_AttributesCount": 1,
"_CommentsCount": 1
}
]
}
}
}Was this page helpful?
⌘I
Mutation
mutation CopyPurchaseOrderLine($input: CopyPurchaseOrderLineInput!) {
copyPurchaseOrderLine(input: $input) {
purchaseOrderLine {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
LastSessionId
_AttributedPartsCount
_AttributedUsersCount
_AttributesCount
_CommentsCount
}
reorderedPurchaseOrderLines {
Attributes {
Created
Etag
LastSessionId
Updated
_IonValueCount
_ValueCount
}
LastSessionId
_AttributedPartsCount
_AttributedUsersCount
_AttributesCount
_CommentsCount
}
}
}Variables
{
"input": {
"purchaseOrderLineId": "id"
}
}Response
{
"data": {
"copyPurchaseOrderLine": {
"purchaseOrderLine": {
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"LastSessionId": "string",
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1,
"_AttributesCount": 1,
"_CommentsCount": 1
},
"reorderedPurchaseOrderLines": [
{
"Attributes": [
{
"Created": "value",
"Etag": "string",
"LastSessionId": "string",
"Updated": "value",
"_IonValueCount": 1,
"_ValueCount": 1
}
],
"LastSessionId": "string",
"_AttributedPartsCount": 1,
"_AttributedUsersCount": 1,
"_AttributesCount": 1,
"_CommentsCount": 1
}
]
}
}
}