Table of Contents

SMC - Webservice requests

Module SMC

Description

This module / table is used for requests from webservices. Request are stored in Json format. This request will be handled from SMCTSK, wo generates a pending item and SPTTSK.
STA hold the status of the request


Datafields

Name Description Data Type Len Dec. View lines View type Inst. Visible Codetable
INR Internal Unique ID Text 8 1 Edit Yes Public
FNC Function Text 250 1 Edit Yes Public
USR User Text 8 1 Edit Yes Public
STA Status Text 1 1 Edit Yes Public Embedded
CONSTM Content stream Stream 1 0 Source Yes Public
ERRSTM Error stream Stream 1 0 Source Yes Public
WRNSTM Warning stream Stream 1 0 Source Yes Public
INCDATTIM Datetime incoming Datetime 15 0 Unknown Yes Public
UPDDATTIM datetime update Datetime 15 0 Unknown Yes Public
OBJTYP Type of Object Text 6 1 Edit Yes Public
OBJINR INR of Object Text 8 1 Edit Yes Public
OWNREF Own reference Text 16 1 Edit Yes Public
AMENBR Amendment number Numeric 16 0 Edit Yes Public
ERGSTM Return stream Stream 1 0 Source Yes Public

Indices

Name Fields Properties
SMC_INR INR Unique
SMC_OBJTYP OBJTYP, OBJINR
SMC_OWNREF OWNREF
SMC_STA STA, INR

/


Lock

INR

Datafield Description and Properties


Datafield INR Internal Unique ID

Description

Unique internal ID of a record within the table. The INR is a text field, which is created by the requesting Web service. The field INR is used to maintain links from other tables into this table.

Helpinformation

Unique internal ID of a record within the table. The INR is a text field, which is created by retrieving the next valid entry from the counter of this table. The field INR is used to enable links from other tables to this table.

For contractdata the INR also links the two tables xxD and xxT as associated entries hold the same INR.


Datafield FNC Function

Description

Not used at this moment


Datafield USR Creating User

Description

This field holds the creating user of the SMC record

Helpinformation

This field contains the creating User.


Datafield STA Status of SMC record

Description

This field holds the actual status of the SMC record, defined in the embedded codetable.

Helpinformation

This field contains the status of the SMC record Possible values are I = Inserted W = Warning E = Error P = Processed C = SPT created

Codetable
Code Text
I Inserted
E Error
P Processed
C SPT created
W Warning

Datafield CONSTM Content of Webservoce request

Description

This fields holds the Json Content for the webservice request.

Helpinformation

This field contains the content of the Webservice request in Json format.


Datafield ERRSTM Errors from Webservice request

Description

This field holds the error message, if the Json cannot be processed.

Helpinformation

This field contains the error messages, if an error occurred during processing the webservice request. The status of the SMC record will be set to 'E'


Datafield WRNSTM Warnings from webservice request

Description

This stream holds the text from the warning panel, when there are warnings

Helpinformation

This field contains the warning messages if warnings occurred. The status of the SMC record will be set to 'W'


Datafield INCDATTIM Timestamp of creation of the SMC record

Description

This field holds the timestamp, when record was inserted

Helpinformation

This field contains the date and time, when the SMC record was created


Datafield UPDDATTIM Timestamp of the last update of the SMC record

Description

This field holds the timestamp, when the record was updated

Helpinformation

This field contains the date and time, when the SMC record was updated


Datafield OBJTYP Objecttype of SMC record

Description

Type of contract the entry is associated to.

Helpinformation

This field contains the object type of the object to which the SMC record belongs


Datafield OBJINR Object INR of SMC record

Description

INR to identify the object the entry is operating on. The table to be used is identified by OBJTYP.

Helpinformation

This field contains the INR of the object to which the SMC record belongs


Datafield OWNREF Reference number of object

Description

This field holds the ownref of the associated contract

Helpinformation

This field contains reference number of the object to which the SMC record belongs


Datafield AMENBR Number of Amendments

Description

This field is used to store the number of amendments made to the contract so far. This field is automatically updated from the relevant amendment transaction.

ServiceLayer can pick this information from the related SMC record / when processing the result i.e. for errors.

Helpinformation

This field is used to store the number of amendments made to the contract so far. This field is automatically updated from the relevant amendment transaction.


Datafield ERGSTM Return stream

Description

This fields holds the Json return content for the webservice request.