Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Trying to open a Sales Order under a Purchase Order

Posted on by

When in a purchase order, under the Order line>Drop Shipment>Sales order, why is it when you open the Sales order you cannot edit it? Instead you have to go into Sales orders and open it from there. Is there a way to open the sales order and edit from the purchase order?

*This post is locked for comments

  • MattParlane Profile Picture
    MattParlane on at
    RE: Trying to open a Sales Order under a Purchase Order

    Thanks for the info. This makes sense as like stated above I am not able to change it by just editing it.

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Trying to open a Sales Order under a Purchase Order

    You need to go for following changes with development license.

    Page 54 > Purchase Order SubForm > Function OpenSpecOrderSalesOrderForm

    Comment following line.

    SalesOrder.EDITABLE := FALSE;

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Trying to open a Sales Order under a Purchase Order

    Form is opening in EDITABLE False mode (via code) and hence user would not be able to Edit sales order via Edit button (Button would be grey out).

    41236.1.PNG

  • Suggested answer
    dqin Profile Picture
    dqin 15 on at
    RE: Trying to open a Sales Order under a Purchase Order

    The Edit button is also non-editable in the opened sales order page.

  • Suggested answer
    Alex Chow Profile Picture
    Alex Chow 4,481 on at
    RE: Trying to open a Sales Order under a Purchase Order

    Instead of making modifications, why not just ask the user to click on the Edit button?

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Trying to open a Sales Order under a Purchase Order

    This is standard Drop Shipment Functionality.

    As you are aware, in drop shipment functionality both Purchase Order & Sales Order are linked and hence it is not ideal that you change the Sales Order, as soon as you create the Purchase Order.

    This would have some implication and hence better you take cautious call and edit the sales order from Sales Order screen only.

    Also, you might have different user for both the operations and hence it would not be ideal to change these details after PO creation.

    If at all needed, you need to do following changes.

    Page 54 > Purchase Order SubForm > Function OpenSpecOrderSalesOrderForm

    Comment following line.

    SalesOrder.EDITABLE := FALSE;

    I am sure, you would have development access to do this modification in development area.

  • Suggested answer
    dqin Profile Picture
    dqin 15 on at
    RE: Trying to open a Sales Order under a Purchase Order

    In purchase order->Order Line->Drop Shipment->Sales Order, it is opened with Editable =False, so, purchase user can only view the sales order and can't edit it. If in your case, the purchase user is allowed to edit sales order,we can make a customization to make the sales order opened with Editable =True.  It needs a quick code change.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans