Pals,
I got an error message when trying to fill the Prod. Order No. filed in Purchase Line.
The error message is : "Division by zero <next line> 1 / 0"
Sometime the second line is 6 / 0 , 4 / 0.
Can somebody give me a clue what I have done wrong causing this error?
Thank you.
Kind regards, Joe Marselo | see my NAV blog
joemarselo.wordpress.com | twitter
@joemarselo 0
Comments
Use the Debugger to catch the error. I think that you have a non-standard code.
in Variable box:
the Rec value of "Qty. per Unit of Measure" = 0
and the xRec value of "Qty. per Unit of Measure" = 1
of course it's resulting an error Division by zero.
in Call Stack box, it pointing at:
Table 337 Reservation Entry\Qty. per Unit of Measure - OnValidate()
so, the problem that I still can't find out,
why the Rec value can contain "0"?
where that value is assigned to Rec var?
](*,) :?: 8-[
Thanx all.
http://ssdynamics.co.in
fordewind: what are you trying to tell me?
ssingla: are you sure?
in fact, there are some of PO lines having a Prod. Order No. and Prod. Order Line No. i can enter it manually.
however, the MRP --- either by Order Planning or Planning Worksheet --- will not update this Purchase Line-Prod. Order No. & Prod. Order Line No..
instead, it will add up lines in Reservation Entries table to register the reservation of component, can be Reservation, Tracking, Surplus or Prospect.