Show TOC

Background documentationInterface ITmxPurchaseOrder

 

Method name: GetPurchaseOrderDtl
  • Short Description

    Retrieves the purchase order detail.

  • Stored Procedure

    com_get_purchase_order_dtl

  • Functionality

    SAP POS retrieves the quantity based on the parameters Ponum (purchase order number) and Plunum (PLU number). You can use a call to get_QtyOrdered to retrieve the actual quantity amount.

  • Preconditions

    You must register TmxAPI.DLL.

  • Result

    HRESULT

Parameter Name

Parameter Type

Data Type

Ponum

IN

BSTR

Plunum

IN

BSTR

Method name: UpdatePurchaseOrder
  • Short Description

    Updates the purchase order.

  • Stored Procedure

    com_update_purchase_order

  • Functionality

    SAP POS updates the purchase order quantity based on the parameters Ponum (purchase order number) and Plunum.

  • Preconditions

    You must register TmxAPI.DLL.

  • Result

    HRESULT

Parameter Name

Parameter Type

Data Type

Ponum

IN

BSTR

Plunum

IN

BSTR

Qty

IN

VARIANT

Method name: InsertPurchaseOrder
  • Short Description

    Creates a new purchase order.

  • Stored Procedure

    com_insert_purchase_order

  • Functionality

    SAP POS creates a new purchase order and Inserts the inputs into the appropriate purchase order tables.

  • Preconditions

    You must register TmxAPI.DLL.

  • Result

    HRESULT

Parameter Name

Parameter Type

Data Type

Txnstatus

IN

BSTR

Txndate

IN

VARIANT

Orderdate

IN

VARIANT

Note

IN

BSTR

Manual

IN

BSTR

Transmitted

IN

BSTR

Modtime

IN

VARIANT

Overflag

IN

BSTR

Origin

IN

BSTR

Plunum

IN

BSTR

Method name: ValidatePurchaseOrderNumber
  • Short Description

    Validates the purchase order number.

  • Stored Procedure

    com_validate_purchase_order

  • Functionality

    SAP POS validates that records exist for the input purchase order number.

  • Preconditions

    You must register TmxAPI.DLL.

  • Result

    HRESULT

Parameter Name

Parameter Type

Data Type

Ponum

IN

BSTR