T4EA  18.2 C7549 A21431
Teamcenter Gateway for Enterprise Applications API Reference
T4EA::CUSTOM::SERVICES Namespace Reference

Namespaces

 DEMOERP
 

Functions

 checkConnection ?User? ?Password? ?System? ?ConnectString? ?Language? args
 Checks the connection. More...
 
 ofBIZservice Operation inputDict ?ConnectString? ?User? ?Password? ?Language?
 Calls the web service. More...
 
 ofBIZservice4BillOfMaterial Operation inputDict ConnectString User Password Language
 Calls the web service. More...
 
 ofBIZservice4Document Operation inputDict ConnectString User Password Language
 Calls the web service. More...
 
 ofBIZservice4getAssociatedProducts Operation inputDict ConnectString User Password Language
 Calls the web service. More...
 
 ofBIZservice4Product Operation inputDict ConnectString User Password Language
 Calls the web service. More...
 
 prepareStatus Status
 Handle service result and prepare status. More...
 

Function Documentation

◆ checkConnection()

T4EA::CUSTOM::SERVICES::checkConnection   ?User? ?Password? ?System? ?ConnectString? ?Language? args  

Checks the connection.

If any optional parameter is missing, the procedure will use the default values from EA connection handling.

Parameters
User(optional) EA User name
Password(optional) Password of the EA user
System(optional) the EA system to use
ConnectString(optional) the base URL of the EA system
Language(optional) Language to use for session
Returns
UNKNOWN or LOGON_OK or MISSING_LOGIN_DATA or LOGON_ERROR and error message

References T4EA::getLocalizationString(), T4X::CORE::getSessionLogChannel(), ofBIZservice(), T4X::CORE::storeMessage2(), and tpwrite().

◆ ofBIZservice()

T4EA::CUSTOM::SERVICES::ofBIZservice   Operation inputDict ?ConnectString? ?User? ?Password? ?Language?  

Calls the web service.

If any optional parameter is missing, the procedure will use the default values from EA connection handling.

Parameters
Operationname of the operation
inputDictthe TCL dict containing the parameters for the service call
ConnectStringbase URL of OFBiz system
User(optional) EA User name
Password(optional) Password of the EA user
Language(optional) Language to use for session
Returns
list of: OK and TCL dict resulting from payload - or - ERROR and error message

References T4EA::CONNECTION2EA::getCurrentEAInfo(), T4X::CORE::getSessionLogChannel(), and tpwrite().

Referenced by checkConnection(), T4EA::PROP::CUSTOM::MAPPING::displayOfbizFixedAsset(), T4EA::PROP::CUSTOM::MAPPING::displayOfbizProduct(), T4EA::QUERY::CUSTOM::MAPPING::executeQuery4OfbizProduct(), T4EA::PROP::CUSTOM::MAPPING::GetEAData_ProductAssociation(), and T4EA::GENOBJ::CUSTOM::OBJECT::IMPORT::getObjectInfo().

◆ ofBIZservice4BillOfMaterial()

T4EA::CUSTOM::SERVICES::ofBIZservice4BillOfMaterial   Operation inputDict ConnectString User Password Language  

Calls the web service.

Parameters
Operationname of the operation
inputDictthe TCL dict containing the parameters for the service call
ConnectString
User
Password
Language
Returns
list of: OK and TCL dict resulting from payload - or - ERROR and error message

References T4X::CORE::getSessionLogChannel(), T4X::SOA::performGenericWebServiceCall(), prepareStatus(), T4X::SOA::setProxy(), and tpwrite().

◆ ofBIZservice4Document()

T4EA::CUSTOM::SERVICES::ofBIZservice4Document   Operation inputDict ConnectString User Password Language  

Calls the web service.

Parameters
Operationname of the operation
inputDictthe TCL dict containing the parameters for the service call
ConnectString
User
Password
Language
Returns
list of: OK and TCL dict resulting from payload - or - ERROR and error message

References T4X::CORE::getSessionLogChannel(), T4X::SOA::performGenericWebServiceCall(), prepareStatus(), T4X::SOA::setProxy(), and tpwrite().

◆ ofBIZservice4getAssociatedProducts()

T4EA::CUSTOM::SERVICES::ofBIZservice4getAssociatedProducts   Operation inputDict ConnectString User Password Language  

Calls the web service.

Parameters
Operationname of the operation
inputDictthe TCL dict containing the parameters for the service call
ConnectString
User
Password
Language
Returns
list of: OK and TCL dict resulting from payload - or - ERROR and error message

References T4X::CORE::getSessionLogChannel(), T4X::SOA::performGenericWebServiceCall(), prepareStatus(), T4X::SOA::setProxy(), and tpwrite().

◆ ofBIZservice4Product()

T4EA::CUSTOM::SERVICES::ofBIZservice4Product   Operation inputDict ConnectString User Password Language  

Calls the web service.

Parameters
Operationname of the operation
inputDictthe TCL dict containing the parameters for the service call
ConnectString
User
Password
Language
Returns
list of: OK and TCL dict resulting from payload - or - ERROR and error message

References T4X::CORE::getSessionLogChannel(), T4X::SOA::performGenericWebServiceCall(), prepareStatus(), T4X::SOA::setProxy(), and tpwrite().

◆ prepareStatus()

T4EA::CUSTOM::SERVICES::prepareStatus   Status  

Handle service result and prepare status.

Parameters
Status
Returns
Status

References T4X::CORE::getSessionLogChannel(), and tpwrite().

Referenced by ofBIZservice4BillOfMaterial(), ofBIZservice4Document(), ofBIZservice4getAssociatedProducts(), and ofBIZservice4Product().