web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Business Central forum

Auto create Assembly order

(0) ShareShare
ReportReport
Posted on by 425

Hello Team,

Item is setup "Assembly Policy" as "Assemble-to-order".When i enter an item on Sales order and enter qty, system creates Assembly Order(automatically).

But when i insert data on Sales Line through code.System does not creates Assembly Order(automatically). I am using the same item.

Please suggest.

Categories:
I have the same question (0)
  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,296 Super User 2026 Season 1 on at

    Did you fill in and validate "Qty. to Assemble to Order" ?

  • Manish Ratan Profile Picture
    425 on at

    Yes, i tried this. But no success.

  • Suggested answer
    Teddy Herryanto (That NAV Guy) Profile Picture
    14,296 Super User 2026 Season 1 on at

    You may need to debug and see what is happening. when you validate that field, it should call a function called AutoAsmToOrder and create the Assembly Order for you. there may be something that prevent it from calling it.

    or maybe you can call the function manually.

  • ManishS Profile Picture
    86 on at

    Can you show your code.

  • Manish Ratan Profile Picture
    425 on at

    Used AutoAsmToOrder, hard luck. Have debugged the same and have found that it is actually hitting the given function. But system is not creating Assembly order.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans