Assign Business Central record id to a specific connection.
Enum "Provider ID RWU"
- Specifies the enum ID of RESTwithUS provider.Enum "Entity ID RWU"
- Specifies the enum ID of RESTwithUS entity.Integer
- Specifies the Entry No. of a connection.RecordID
- Specifies the record, that should be assigned to the connection.Text
- Specifies the description of RESTwithUS provider.Text
- Specifies the description of RESTwithUS entity.Integer
- Specifies the Entry No. of a connection.RecordID
- Specifies the record, that should be assigned to the connection.//Assign customer 10000 record to the connection with entry no. 1
Customer.GET('10000');
APIScriptRWU.MAPPING_INDEX_RECORDID(ProviderID::TestProvider,EntityID::TestProvider_Customer,1,Customer);
//Assing the record to connection by provider/entity description
APIScriptRWU.MAPPING_INDEX_RECORDID('Test Provider','Customer',1,Customer);