Skip to Content

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

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)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Jan 06, 2017 at 12:40 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 09, 2017 at 10:17 AM

    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

    Add comment
    10|10000 characters needed characters exceeded