Sales Code Dataport "The length of the source exceeds the size of the destination buffer" error

Hi there,

I am running a dataport on Standard Sales Code. There is not a lot of information and althought I only run the dataport for the one field “Code”, I get the following error:

“The length of the source exceeds the size of the destination buffer” I have found salescodes that cause the error, but do not know why. An example would be:

C150+3100+2760+LOAD100
C150+3100+E250+LOAD100

The first code is fine but the highligted code is causing the error?

Thanks,

Marianne

Is that the actual text you are adding to the code field? Or are those variables that are holding values that are being combined to form the code field?

Either way you are trying to import something that is too long. Maybe you have some trailing spaces that you can’t see on the screen?

Hi Matt,

That is the actual text. I have checked the characters in excel and through nav and it is both under 30 characters with no extra spaces.

Thanks,

Marianne

The length of the Code field is only 10 in the standard database. Have you changed it?

Yes it is changed to 30 characters.