Same data in 'No.' field in Production BOM page.

Rajat_M
Rajat_M Member Posts: 34
Hello,

In 'Production BOM' page within the Lines fasttab whenever I entered a type 'Item' & a 'No.' which was already there it'll take it again. But it shouldn't be like this. The 'No.' field must not take the same numbers in subsequent entries.I test this by creating another primary key as 'No.' but it doesn't helped me.

Can anyone suggest me how should I proceed??

Thank You,

Answers

  • Jan_Veenendaal
    Jan_Veenendaal Member Posts: 206
    In my opinion it should definitely be possible to have the same item on different lines of a BOM.

    If in your case you do not want this, then you need customization to prevent the use of the same item; you should probably write some code in the OnValidate triggers of both the Type and No. fields in the Production BOM Line table - better yet: use events!

    DO NOT CHANGE THE PRIMARY KEY!
    Jan Veenendaal