Warehouse shipment is required for...

AlveusAlveus Member Posts: 44
Hi!

I needed to arrange so that quantity to ship wouldn't fill in automatically. I found a way to do so by setting the require shipment to yes. But when i do so i get a message that Warehouse shipment is required for... and i think this is because we don't use warehouse management. Is there a way to fix this? Or is there any other way to set the quantity to ship to manual?

Regards

Comments

  • lubostlubost Member Posts: 627
    There are not such setting. You have to change a bit the code in OnValidate trigger on Quantity field in sale order lines table.
  • nunomaianunomaia Member Posts: 1,153
    Qty. To ship it's not filled if you are using Warehouse Receipt functionality.

    In you configuration you must change InitQtyToShip function or OnValidate trigger in Quantity.
    Nuno Maia

    Freelance Dynamics AX
    Blog : http://axnmaia.wordpress.com/
  • AlveusAlveus Member Posts: 44
    where do i find the function?
  • nunomaianunomaia Member Posts: 1,153
    it's in sale order lines table :wink:
    Nuno Maia

    Freelance Dynamics AX
    Blog : http://axnmaia.wordpress.com/
  • nunomaianunomaia Member Posts: 1,153
    When I said "In you configuration" I was referring your current setup.
    The function is in table code.

    Sorry for explaining wrong.
    Nuno Maia

    Freelance Dynamics AX
    Blog : http://axnmaia.wordpress.com/
  • ssinglassingla Member Posts: 2,973
    ???
    CA Sandeep Singla
    http://ssdynamics.co.in
  • mukshamuksha Member Posts: 274
    If you are not using warehouse management then please do not tick on the require shipment or receipt. For achieving your requirement you have to touch the code on sales line table. Please check the code on validat of the quantity to ship and outstanding quantity.
    Mukesh Sharma
  • AlveusAlveus Member Posts: 44
    Hi!

    Thanks for the help guys. Qty to ship onactivate is empty. Is that the way it should be?
  • nunomaianunomaia Member Posts: 1,153
    Can you explain better ?
    Nuno Maia

    Freelance Dynamics AX
    Blog : http://axnmaia.wordpress.com/
  • AlveusAlveus Member Posts: 44
    I mean if i check the c/al code for the table sales line and column quantity to ship the onvalidate function is empty. There is no code.
  • lubostlubost Member Posts: 627
    When you open the code window, there exist a lot of functions - you only need skip down (PageDown key).
  • nunomaianunomaia Member Posts: 1,153
    It's not in "quantity to ship" but in quantity
    Nuno Maia

    Freelance Dynamics AX
    Blog : http://axnmaia.wordpress.com/
  • ethishreeethishree Member Posts: 2
    Hello All,

    If i give Value in field Quantity as 5 in Sales order then i send for post as shipment then error occurred as nothing to post.

    then in Qty to ship as 5 then error occurred as warehouse shipment required for line no 1000
    so plz help me out what is this error defines.
Sign In or Register to comment.