Hi Maco Mels,
Managed to find the cause and the solution for this problem.
Yes. I am mapping the Vendor Item No. to a custom field in Sales CRM. I used the altpgen to generate the Sales crm table extension. The external type was somehow set as 'Text' for the field.
There was not any error shown in VSC but just that the data was not synced. After many hours of trial and error, I managed to find that the problem was with the ExternalType. When I changed from Text to String then it started to sync. The below code is for the field with correct ExternalType.
field(10199;new_bcvendorcode;Text[100])
{
ExternalName = 'new_bcvendorcode';
ExternalType = 'String';
Description = '';
Caption = 'BC Vendor Code';
}
Thanks and regards.