cancel
Showing results for 
Search instead for 
Did you mean: 

Problem update quantity on a Sales Order using SDK

former_member362494
Participant
0 Kudos

Hi all

i encounter a problem , when updating a line of a sales order using sdk ( VB .net ) :

     oMatrix.Columns.Item("11").Cells.Item(Visorder+1).Specific.Value =  1.4

i tried to put a decimal value in quantity field ( 1.4 in my example above ) , but SAP round this quantity to the unit and i see "1" in the quantity fields instead of "1.4"

when i try to enter 1.4 directly ( not using sdk ) , it works

Can someone help me ?  ( version is 8.82 , French localisation )

thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Laurent,

Supposed to fill a string, with a dot decimal separated value i.e. "1.4"

APIs know nothing about localizations, they use only ANSI (dot decimal separated, year in the format CCYYMMDD, etc.).

Bonsoir Laurent,

Les APIs ne connaissent que les formats ANSI (dates sous la forme SSAAMMJJ, décimaux avec un . de séparattion et pas de séparateurs de milleirs, etc.).

Je ne sais pas comment tu as essayé de faire la mise à jour, mais l'EditText prend pour valeur une chaîne de caractères au format précité, soit "1.4".

Regards,

Eric

former_member362494
Participant
0 Kudos

You're right : i need to put a string variable "1.4" in the quantity field  and not a double as i defined in vb .

thanks  for help . problem solved

Merci de ton aide

Answers (0)