T4S4  18.2 C7549 A21431
Teamcenter Gateway for SAP S/4HANA API Reference
TPSAP::SALESORDER Namespace Reference

Functions

 getDetail OrderNumber ?ITEM? ?SDSCHEDULE? ?BUSINESS? ?PARTNER? ?ADDRESS? ?STATUS_H? ?STATUS_I? ?SDCOND? ?SDCOND_ADD? ?CONTRACT? ?TEXT? ?FLOW? ?BILLPLAN? ?CONFIGURE? ?CREDCARD? ?INCOMP_LOG? args
 Retrieves detailed information about an existing SAP sales order object. More...
 
 getExternalOrderNumber InternalNumber
 Retrieves the SAP external sales order id for a given SAP internal sales order id. More...
 
 getInternalOrderNumber ExternalNumber
 Retrieves the SAP internal sales order id for a given SAP external sales order id. More...
 
 getStatus OrderNumber
 Retrieves the object status for a given SAP sales order object. More...
 

Function Documentation

◆ getDetail()

TPSAP::SALESORDER::getDetail   OrderNumber ?ITEM? ?SDSCHEDULE? ?BUSINESS? ?PARTNER? ?ADDRESS? ?STATUS_H? ?STATUS_I? ?SDCOND? ?SDCOND_ADD? ?CONTRACT? ?TEXT? ?FLOW? ?BILLPLAN? ?CONFIGURE? ?CREDCARD? ?INCOMP_LOG? args  

Retrieves detailed information about an existing SAP sales order object.

Parameters
OrderNumber- Sales Order Number
ITEM
SDSCHEDULE
BUSINESS
PARTNER
ADDRESS
STATUS_H
STATUS_I
SDCOND
SDCOND_ADD
CONTRACT
TEXT
FLOW
BILLPLAN
CONFIGURE
CREDCARD
INCOMP_LOG
Returns
OK and global TCL array ::OrderResultDat or ERROR

References getInternalOrderNumber(), and TPSAP::getSessionLogChannel().

◆ getExternalOrderNumber()

TPSAP::SALESORDER::getExternalOrderNumber   InternalNumber  

Retrieves the SAP external sales order id for a given SAP internal sales order id.

Parameters
InternalNumberSAP internal sales order id
Returns
External number

References TPSAP::getSessionLogChannel().

◆ getInternalOrderNumber()

TPSAP::SALESORDER::getInternalOrderNumber   ExternalNumber  

Retrieves the SAP internal sales order id for a given SAP external sales order id.

Parameters
ExternalNumberSAP external sales order id
Returns
Internal number

References TPSAP::getSessionLogChannel().

Referenced by TPSAP::ORDERBOM::deleteBillOfMaterial(), getDetail(), getStatus(), and TPSAP::ORDERBOM::readBillOfMaterial().

◆ getStatus()

TPSAP::SALESORDER::getStatus   OrderNumber  

Retrieves the object status for a given SAP sales order object.

Parameters
OrderNumber
Returns
OK and global TCL array ::OrderResultDat or ERROR

References getInternalOrderNumber(), TPSAP::getSessionLogChannel(), and tpco_scanHEX16().