Embedded Attachments in Predefined Outbound Purchase Order Messages

Outbound purchase order attachments can be at the header, line, and schedule level.

These tables list the predefined OAGIS 10.1 message definitions for outbound purchase orders including, process, change, and cancel with the XPath expression for the embedded attachments.

This table lists the XPath expressions for the predefined OAGIS_10.1_PROCESS_PO_COLLAB_MSG_OUT and OAGIS_10.1_CHANGE_PO_COLLAB_MSG_OUT message definitions:

Message Definition

OAGIS_10.1_PROCESS_PO_COLLAB_MSG_OUT and OAGIS_10.1_CHANGE_PO_COLLAB_MSG_OUT

Level

Header

Attachment Element XPath

/CollaborationMessage/BusinessObjectDocument

/DataArea/PurchaseOrder/PurchaseOrderHeader/Attachment

Embedded Attachment location in the attachment element

/EmbeddedDataBinaryObject

File Identifier location in the attachment element

NA

File Name location in the attachment element

/FileName

File Type location in the attachment element

/FileTypeCode

File Size location in the attachment element

/FileSizeQuantity

Level

Line

Attachment Element XPath

/CollaborationMessage/BusinessObjectDocument

/DataArea/PurchaseOrder/PurchaseOrderLine/Attachment

Embedded Attachment location in the attachment element

/EmbeddedDataBinaryObject

File Identifier location in the attachment element

NA

File Name location in the attachment element

/FileName

File Type location in the attachment element

/FileTypeCode

File Size location in the attachment element

/FileSizeQuantity

Level

Schedule

Attachment Element XPath

/CollaborationMessage/BusinessObjectDocument/DataArea/PurchaseOrder

/PurchaseOrderLine/PurchaseOrderSchedule/Attachment

Embedded Attachment location in the attachment element

/EmbeddedDataBinaryObject

File Identifier location in the attachment element

NA

File Name location in the attachment element

/FileName

File Type location in the attachment element

/FileTypeCode

File Size location in the attachment element

/FileSizeQuantity

This table lists the XPath expressions for the OAGIS_10.1_CANCEL_PO_COLLAB_MSG_OUT message definition:

Message Definition

OAGIS_10.1_CANCEL_PO_COLLAB_MSG_OUT

Level

Header

Attachment Element XPath

/CollaborationMessage/BusinessObjectDocument

/DataArea/PurchaseOrder/PurchaseOrderHeader/Attachment

Embedded Attachment location in the attachment element

/EmbeddedDataBinaryObject

File Identifier location in the attachment element

NA

File Name location in the attachment element

/FileName

File Type location in the attachment element

/FileTypeCode

File Size location in the attachment element

/FileSizeQuantity

This table lists the XPath expressions for the OAGIS_10.1_PROCESS_PO_OUT message definition:

Message Definition

OAGIS_10.1_PROCESS_PO_OUT

Level

Header

Attachment Element XPath

/ProcessPurchaseOrder/DataArea/PurchaseOrder

/PurchaseOrderHeader/Attachment

Embedded Attachment location in the attachment element

/EmbeddedDataBinaryObject

File Identifier location in the attachment element

NA

File Name location in the attachment element

/FileName

File Type location in the attachment element

/FileTypeCode

File Size location in the attachment element

/FileSizeQuantity

Level

Line

Attachment Element XPath

/ProcessPurchaseOrder/DataArea/PurchaseOrder

/PurchaseOrderLine/Attachment

Embedded Attachment location in the attachment element

/EmbeddedDataBinaryObject

File Identifier location in the attachment element

NA

File Name location in the attachment element

/FileName

File Type location in the attachment element

/FileTypeCode

File Size location in the attachment element

/FileSizeQuantity

Level

Schedule

Attachment Element XPath

/ProcessPurchaseOrder/DataArea/PurchaseOrder

/PurchaseOrderLine/PurchaseOrderSchedule/Attachment

Embedded Attachment location in the attachment element

/EmbeddedDataBinaryObject

File Identifier location in the attachment element

NA

File Name location in the attachment element

/FileName

File Type location in the attachment element

/FileTypeCode

File Size location in the attachment element

/FileSizeQuantity

This table lists the XPath expressions for the OAGIS_10.1_CHANGE _PO_OUT message definition:

Message Definition

OAGIS_10.1_CHANGE _PO_OUT

Level

Header

Attachment Element XPath

/ChangePurchaseOrder/DataArea/PurchaseOrder

/PurchaseOrderHeader/Attachment

Embedded Attachment location in the attachment element

/EmbeddedDataBinaryObject

File Identifier location in the attachment element

N/A

File Name location in the attachment element

/FileName

File Type location in the attachment element

/FileTypeCode

File Size location in the attachment element

/FileSizeQuantity

Level

Line

Attachment Element XPath

/ChangePurchaseOrder/DataArea/PurchaseOrder

/PurchaseOrderLine/Attachment

Embedded Attachment location in the attachment element

/EmbeddedDataBinaryObject

File Identifier location in the attachment element

N/A

File Name location in the attachment element

/FileName

File Type location in the attachment element

/FileTypeCode

File Size location in the attachment element

/FileSizeQuantity

Level

Schedule

Attachment Element XPath

/ChangePurchaseOrder/DataArea/PurchaseOrder

/PurchaseOrderLine/PurchaseOrderSchedule/Attachment

Embedded Attachment location in the attachment element

/EmbeddedDataBinaryObject

File Identifier location in the attachment element

N/A

File Name location in the attachment element

/FileName

File Type location in the attachment element

/FileTypeCode

File Size location in the attachment element

/FileSizeQuantity

This table lists the XPath expressions for the OAGIS_10.1_CANCEL_PO_OUT message definition:

Message Definition

OAGIS_10.1_CANCEL_PO_OUT

Level

Header

Attachment Element XPath

/CancelPurchaseOrder/DataArea/PurchaseOrder

/PurchaseOrderHeader/Attachment

Embedded Attachment location in the attachment element

/EmbeddedDataBinaryObject

File Identifier location in the attachment element

N/A

File Name location in the attachment element

/FileName

File Type location in the attachment element

/FileTypeCode

File Size location in the attachment element

/FileSizeQuantity