Automatic delete empty lines coming from quote to order

drlopezdrlopez Member Posts: 4
Hi
I have following situation.The customer creates quotes with manny empty lines between the items ,this for practical personal use.
When he convert it to an order , the empty lines are of course still present.Now, he is a little bit lazy to remove the empty lines manually.
He wants them automatically disapears when he convert the quote to an order.

Anny suggestions ? Options somewhere in a codeunit ?


Thanks in advance

Comments

  • nunomaianunomaia Member Posts: 1,153
    In codeunit 86 - Sales-Quote to Order

    You have a line
    SalesOrderLine := SalesQuoteLine;
    

    Insert an IF condition to only copy not empty lines.
    Nuno Maia

    Freelance Dynamics AX
    Blog : http://axnmaia.wordpress.com/
  • krikikriki Member, Moderator Posts: 9,110
    Even better : put a SalesQuoteLine.SETFILTER(Description,'<>%1',''); before the SalesQuoteLine.FIND.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.