<eConnectProcessInfo>

Additional information

The <eConnectProcessInfo> XML node overrides enables you to change settings for completing transactions. Each eConnect schema includes the <eConnectProcessInfo> XML node.

Element name

Data type

Description

ConnectionString

string

Override the default connection string.

ProcTimeOut

string

Specifies the number of seconds to use before a transaction time out cccurs. Use this field to override the default timeout value for transactions that are expected to take longer than 6 minutes to complete.

The <eConnectProcessInfo> node should always follow the transaction type node. The following XML document example uses the ConnectionString element of the <eConnectProcessInfo> node to make inventory changes in two different company databases. The first SMInventoryItemSiteType transaction type assigns item number 256 SDRAM to the location 0095 of the TWO company. The second SMInventoryItemSiteType assigns the item number 128 SDRAM to the 0095 location of the TEST company.

<eConnect xmlns:dt="urn:schemas-microsoft-com:datatypes">
    <SMInventoryItemSiteType>
        <eConnectProcessInfo>
            <ConnectionString>
                Integrated Security=SSPI;
                Persist Security Info=False;
                Initial Catalog=TWO;
                Data Source=machinename
            </ConnectionString>
        </eConnectProcessInfo>
        <taItemSite>
            <ITEMNMBR>256 SDRAM</ITEMNMBR>
            <LOCNCODE>0095<LOCNCODE>
        </taItemSite>
    </SMInventoryItemSiteType>
    <SMInventoryItemSiteType>
        <eConnectProcessInfo>
            <ConnectionString>
                Integrated Security=SSPI;
                Persist Security Info=False;
                Initial Catalog=TEST;
                Data Source=machinename
            </ConnectionString>
        </eConnectProcessInfo>
        <taItemSite>
            <ITEMNMBR>128 SDRAM</ITEMNMBR>
            <LOCNCODE>0095</LOCNCODE>
        </taItemSite>
    </SMInventoryItemSiteType>
</eConnect>