Options

Whse. Receipt lines

Hello,

I have a function which when you re open a Purchase Order it deletes any Whse. Receipt Lines related to it. How ever I keep receiving this error.
ozfpt46k92o9.png

Here is my code..
722qpkvhrcb6.png

How can I alter the code to fix this error?

Thanks
65.PNG 33.7K
67.PNG 17.3K

Best Answer

Answers

  • Options
    archer89archer89 Member Posts: 337
    either use a second whs.rec.line variable to delete or use simply deleteall after the filter lines.
    best regards
    Franz Kalchmair, MVP
    Alias: Jonathan Archer

    please like / agree / verify my answer, if it was helpful for you. thx.
    Blog: http://moxie4nav.wordpress.com/
Sign In or Register to comment.