This documentation supports the 19.02 version of Asset Management.

To view the latest version, select the version from the Product version menu.

Update_PurchaseLineItem

This operation supports the update of an existing purchase line item, and updates to related children work information and return records. The qualification entered determines which purchase line items are updated. Only child records related to the parent can be updated. In addition, children work information and return records can also be created.

The following table lists the input values for the parent level of the Update_PurchaseLineItem operation and maps to the AST:PurchaseLineItemInterface form.

Input field values

DB field on interface form

Displayed on web services

Notes

Qualification

AR System qualification required.

Unit Price/currencyValue

UnitPriceAmount

Unit Price/currencyCode

UnitPriceCurrencyCode

Taxable

Taxable

Quote Number

QuoteNumber

QuoteDesc

QuoteInfo

EstimatedReceivingDate

DateToReceive

Notes to Purchasing

NotesToPurchasing

Notes to Supplier

NotesToSupplier

Cost Center

CostCenter

Accounting Code

AccountingCode

Project Number

ProjectNumber

Budget Code

BudgetCode

Attachment1/attachmentName

DetailsAttachment1Name

Attachment1/attachmentData

DetailsAttachment1Data

Attachment1/attachmentOrigSize

DetailsAttachment1OrigSize

Received Qty

ReceivedQty

The following table lists input values for the child level of the Update_PurchaseLineItem operation and maps to the AST:PurchaseRequisitionWorkLog form.

Input field values

DB field on form

Displayed on web services

Notes

InstanceId

WorkInfoInstanceID

If a new Instance ID is provided (one that is not in the database), a new work information record will be created. If existing instance Id is provided the matching work information record will be updated.

Purchase Line Item Instance ID

SourceInstanceID

This is the foreign key, purchase line item Instance ID, which the work information record is linked to. Required if creating a new work information record.

Work Log Type

WorkInfoType

Required if creating a work information record. Supported values are: Detailed Clarification, Purchase Requisition Task, General Information, Email System and Paging System.

Work Log Submit Date

WorkInfoDate

Required if creating a work information record.

Communication Source

WorkInfoSource

Required if creating a work information record. Supported values are: Email, Fax, Phone, Voice Mail, Walk In, Pager, System Assignment, Web and Other.

Description

WorkInfoSummary

Required if creating a work information record.

Detailed Description

WorkInfoNotes

Required if creating a work information record.

Secure Work Log

WorkInfoLocked

Required if creating a work information record. Supported values are: "Yes" or "No."

View Access

WorkInfoViewAccess

Required if creating a work information record. Supported values are: "Internal" or "Public."

z2AF Work Log01/attachmentName

WorkInfoAttachment1Name

Optional if creating a work information record.

z2AF Work Log01/attachmentData

WorkInfoAttachment1Data

Optional if creating a work information record.

z2AF Work Log01/attachmentOrigSize

WorkInfoAttachment1OrigSize

Optional if creating a work information record.

z2AF Work Log02/attachmentName

WorkInfoAttachment2Name

Optional if creating a work information record.

z2AF Work Log02/attachmentData

WorkInfoAttachment2Data

Optional if creating a work information record.

z2AF Work Log02/attachmentOrigSize

WorkInfoAttachment2OrigSize

Optional if creating a work information record.

z2AF Work Log03/attachmentName

WorkInfoAttachment3Name

Optional if creating a work information record.

z2AF Work Log03/attachmentData

WorkInfoAttachment3Data

Optional if creating a work information record.

z2AF Work Log03/attachmentOrigSize

WorkInfoAttachment3OrigSize

Optional if creating a work information record.

The following table lists input values for the child level of the Update_PurchaseLineItem operation and maps to the AST:PurchaseReturn form.

Input field values

DB field on form

Displayed on web services

Notes

Instanceid

Instanceid

If a new Instance ID is provided, a purchase return will be created and this is the typical usage. If existing Instance ID is provided updates can be made.

Line Item Instance ID

LineItem InstanceID

Purchase line item Instance Id is required.

Type

Type

Required field "Replace" and "Return."

RMA Number

RMANumber

Required field

Quantity to Return

QuantityToReturn

Required field

Reason for Return

ReasonForReturn

Required field

The following table lists output values for the parent level of the Update_PurchaseLineItem operation from the AST:PurchaseLineItemInterface form.

Output field values

DB field on form

Displayed on web services

Notes

InstanceId

InstanceID

Unique identifier for each updated purchase line item.

The following table lists output values for the child level of the Update_PurchaseLineItem operation from the AST:PurchaseRequisitionWorkLog form.

Output field values

DB field on form

Displayed on web services

Notes

InstanceId

WorkInfoInstanceID

Unique identifier for each updated or added work information record.

The following table lists output values for the child level of the Update_PurchaseLineItem operation from the AST:PurchaseReturn form.

Output field values

DB field on form

Displayed on web services

Notes

Instanceid

ReturnsInstanceID

Unique identifier for each updated or added purchase return.

Was this page helpful? Yes No Submitting... Thank you

Comments