Documentation

sale.persontype.getFields

sale.persontype.getFields()

The method adds payer type fields.

Returned fields:

Field Description
idPayer type ID.
lidSite page ID.
namePayer type name.
codePayer type code.
sortSorting.
activeActive state flag.

Parameters

No parameters.

Examples

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


© «Bitrix24», 2001-2022
Up