Tuesday, May 26, 2015

Over delivery of line is 100 percent, but the allowed over delivery is only 0 percent.

Q: I am getting the following error in AX 2009, how can I fix it?
"Over delivery of line is 100 percent, but the allowed over delivery is only 0 percent."

A:
Use the following script
static void fixPurchaseOrders(Args _args)
{
   PurchParmTable purchParmTable;
   PurchParmLine purchParmLine;
   ;
   ttsbegin;
   while select forupdate purchParmTable
       join forupdate purchParmLine
       where purchParmLine.ParmId == purchParmTable.ParmId
       && purchParmLine.TableRefId == purchParmTable.TableRefId
       && purchParmTable.PurchId == ""
       && purchParmTable.ParmJobStatus == ParmJobStatus::Waiting
       && purchParmTable.Ordering == DocumentStatus::Invoice
   if(purchParmTable.RecId || purchParmLine.RecId)
   {
       purchParmTable.delete();
       purchParmLine.delete();
   }
   ttscommit;

}

27 comments:

  1. Your blog is really awesome and I got some useful information from your blog. This is really useful for me. Thanks for sharing such a informative blog. Keep posting.
    Microsoft Dynamics AX Training | VMware Virtualization Online Training

    ReplyDelete
  2. Nice question. it will definitely enhance the knowledge related to microsoft dynamics ax erp solution and ms dynamics ax. Thanks for posting a good question blog. You can consult with MPG BIS for this type of errors.

    ReplyDelete
  3. Hello. It is a really interesting case, very nice one. Generally speaking your blog is full of useful and interesting cases, so good work. Thank You for posting this and sharing Your knowledge about ms dynamics .

    ReplyDelete
  4. This is one of the awesome and Important post.I like your blog description.

    Microsoft certification in mumbai

    ReplyDelete
  5. Brilliant piece of information,I had come to know about your web-page from my friend Harish, Chennai. I have read atleast 9 posts of yours by now and let me tell you, your webpage gives the best and the most interesting information. This is just the kind of information that I had been looking for and I would regularly watch out for the new posts! Thanx a million once again, Regards, AX consultant

    ReplyDelete
  6. This comment has been removed by the author.

    ReplyDelete
  7. Very helpful indeed, you just saved me from 1 week headache trying to resolve this

    ReplyDelete
  8. Great post! I am actually getting ready to across this information, It's very helpful for this blog.Also great with all of the valuable information you have Keep up the good work you are doing well.

    http://www.thinkittraining.in

    ReplyDelete
  9. Hi,
    your blog has a wonderful resource for the AX community and for me, Thank you for blogging and sharing of your knowledge.
    Oracle EBS training
    Thank you

    ReplyDelete
  10. Subscribe to learn this new technique in Ax . Give like comments and share
    https://youtu.be/8dXjRzSk910

    ReplyDelete
  11. Local Packers and Movers Bangalore List, Get Best Price Quotes, Compare Movers and packers Charges, Top, Local Household Shifting Services.Packers And Movers Bangalore

    ReplyDelete
  12. Local Packers and Movers Bangalore List, Get Best Price Quotes, Compare Movers and packers Charges, Top, Local Household Shifting Services.Packers And Movers Bangalore

    ReplyDelete
  13. The Best of the Blogs You have Mentioned here.
    MS Dynamics AX Online Training

    ReplyDelete
  14. Good blog information provided
    Sanjary Academy is the best Piping Design institute in Hyderabad, Telangana. It is the best Piping design Course in India and we have offer professional Engineering Courses like Piping design Course, QA/QC Course, document controller course, Pressure Vessel Design Course, Welding Inspector Course, Quality Management Course and Safety Officer Course.
    Piping Design Course in India­

    ReplyDelete
  15. I like this topic.This site has lots of advantage.I found many interesting things from this site. It helps me in many ways.Thanks for posting this again.
    BCOM 1st Year TimeTable 2020

    ReplyDelete
  16. Exploring in Yahoo I at last stumbled upon this website.

    VU BA second year

    ReplyDelete
  17. This site helps to clear your all query.mp bhoj ba 3rd year result
    dbrau ba 3rd year result This is really worth reading. nice informative article.

    ReplyDelete
  18. Amazing or I can say this is a remarkable article.

    B Com Part 2nd Admit card

    ReplyDelete
  19. Great insights on over-delivery of line production! It's fascinating to see how efficiency and precision play crucial roles in manufacturing processes. This concept is also highly relevant in digital marketing, where over-delivering on client expectations can significantly boost brand loyalty and engagement. Speaking of enhancing skills, I recently came across an excellent Advanced Digital Marketing Course In Noida By Digiperform that covers strategies for exceeding client expectations through targeted campaigns and advanced analytics. It's a must-check for anyone looking to elevate their marketing game.

    ReplyDelete
  20. Great insights on the importance of over-delivery and its impact on business success! It's fascinating how exceeding expectations can significantly enhance customer satisfaction and loyalty. This principle is crucial not just in business strategies but also in various other fields like digital marketing. For anyone interested in exploring how over-delivery can be applied in digital marketing strategies, I recommend looking into a comprehensive Advanced digital marketing course in delhi. Such courses offer valuable insights into leveraging customer expectations to drive business growth.

    ReplyDelete
  21. Join our Advanced Seo Courses In Delhi, designed for both beginners and professionals looking to enhance their SEO skills. Learn the latest on-page and off-page optimization techniques, keyword research, link building strategies, and how to rank websites higher on search engines like Google. With hands-on projects and expert guidance, you’ll master the art of driving organic traffic to any website.

    ReplyDelete