Skip to Content
0

Error when adding a bom code to a sales quote using DI API B1 9.2

Jan 05, 2017 at 10:48 AM

155

avatar image

Hi

I wrote some code for a previous version of B1 8.82 which adds a bom code to a sales order

The customer has now upgraded to 9.2 and is getting the following error -

Specify "items per unit" greater than 0, inv1.NumPerMsr line 2

This error thing is strange as I only work on sales quotes or orders

I have tried running the code on some 9.2 data I have and it works fine

I am wondering if it is something wrong with their data

I have enclosed the small portion of code that adds the code

I wonder if anyone has any ideas please ?

Thanks

Andy

bomerror.txt

bomerror.txt (1.0 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Edy Simon Jan 06, 2017 at 12:40 AM
0

Have you check as per the error message :
Go to inventory master data for this item and under the Sales Tab, make sure the Item per sales Unit is not empty or 0 ?

Regards
Edy

Share
10 |10000 characters needed characters left characters exceeded
Andrew Brooker Jan 09, 2017 at 10:17 AM
0

Hi Edy

Sorry for the delay, I thought the system would email me with any answers

Yes checked that, it is set to 1

Any other ideas ?

Thanks

Andy

Share
10 |10000 characters needed characters left characters exceeded