Hi,
I am developping an application to create customers and suppliers from external data using B1H Service Layer.
Creating customer works fine but creation of suppliers failed :
{
"error" : {
"code" : -5002,
"message" : {
"lang" : "en-us",
"value" : "An account with the same code already exists [OCRD.CardCode] , '1061'"
}
}
}
Problem no carcode exist with this code in database.
Json used :
{"CardCode":"1061","CardName":"HORO QUARTZ","CardType":"cSupplier","Currency":"EUR","CompanyPrivate":"cCompany","LanguageCode":"22",
"DebitorAccount":"40190000"}
Has someone idea about the cause ?
Thank you