Skip to Content
0

Service Layer Error Code -10: Enter a valid value in \"Whse\" field [0-0] .

Apr 06 at 02:44 PM

56

avatar image
Former Member

I am creating an Inventory Transfer document based on an Inventory Transfer Request, by code, and the service layer is giving me the following error: Error Code -10: Enter a valid value in \ "Whse \" field [0-0 الرسالة].

If I remove the code from the section that tells you to copy the Inventory Transfer Request, It create the Inventory Transfer correctly, but do not relate the documents.

The variables WarehouseCode and FromWarehouseCode have the correct Warehouse data.

which could be this error and how we can solve it?

objInvTransItem.BaseType = "1250000001" ;

objInvTransItem.BaseEntry = Convert.ToInt32 (ITRDocEntry);

objInvTransItem.BaseLine = Convert.ToInt16 (ITRBaseLine);

Any ideas,I appreciate your comments.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

avatar image
Former Member Apr 30 at 08:24 AM
0

I have the same problem. Have you found any solutions to add this document, without using the DI API? thank you

Share
10 |10000 characters needed characters left characters exceeded