Menu

I wanna to mark delete at a orderline.

2005-02-08
2013-03-07
  • Nobody/Anonymous

    Hi, Richard

    If I want to mark delete at a orderline. Then orderHead.save , that orderline is deleted.

    How can I do?

    Anya

     
    • Richard Banks

      Richard Banks - 2005-02-08

      Simple

      orderhead.lines.remove(orderline)
      orderline.delete()
      orderhead.save()

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.