I used the code below to populate the data associated with the client when creating it. In the customer table, the B2B fields are filled with the information entered, however, when entering the customers' ERP Primavera tab on the Trans tab. Electronics when selecting in the eTrans Communication does not appear the associated information. The clientModel is a class of mine in which the properties with data of an xml data for the creation of clients in which the UsaTTE property is a Boolean indicates that the client uses Electronic Transactions. What's missing in this code section?
if (clienteModel.UsaTTE)
{
cliente.set_B2BTrataTrans(true);
cliente.set_B2BEnderecoEnvio("[email protected]");
cliente.set_B2BEnderecoMail(clienteModel.Email);
cliente.set_B2BDocDownload(true);
cliente.set_IdB2BFormato("YET");
}