Documentation

sale.tradeBinding.getFields

sale.tradeBinding.getFields()

The method returns fields of orders from external sources.

Returned fields:

Field Description
idList entry ID.
xmlIdEntry external ID.
externalOrderIdNumber of order in external source (specified by external system).
orderIdNumber of order with the system.
tradingPlatformIdNumber of trade platform.
tradingPlatformXmlIdTrade platform ID.
paramsField that can store additional information.

Parameters

No parameters

Examples

BX24.callMethod(
    'sale.tradeBinding.getFields', 
    {}, 
    function(result)
    {
        if(result.error())
            console.error(result.error().ex);
        else
            console.log(result.data());
});


© «Bitrix24», 2001-2024