Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Data flow from post shipment to posted sales shipments

Posted on by Microsoft Employee

Hello ..

Will anyone suggest me that when we post shipment ,then posted sales shipments are created.In which codeunit,table or page ,the coding of this functionality is done.Also how dat aflows from post shipments to posteed sales shipments?

Thanks ..

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Data flow from post shipment to posted sales shipments

    My requirement is"With a single click on Post shipment, sales invoice automatically gets created in the system"....(only simple sales invoice not posted sales invoice)

    I am going with the approach of restricting posting in the codeunit 80,means if i can restrict th posting of invoice,so that only invoice gets created in the sales invoice.

    Hope i am making clear to yousuggestions plz..

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: Data flow from post shipment to posted sales shipments

    I am little confused what you are trying to achieve, if the Invoice is false when you post then it will not create Invoice or Invoice Lines. You can select just ship while posting or in the codeunit 80 you just need to set the Invoice Boolean to falsee.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Data flow from post shipment to posted sales shipments

    Hiii..Plz suggest how can i stop the posting of sales invoice header and sales invoice line or which function should be restricted to Stop their posting(only posting).

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Data flow from post shipment to posted sales shipments

    Actually i have to create sales invoice without posting invoice that means when i post shipment ,automatically sales invoice gets created.i am going with the approach that i will restrict the posting of sales invoice in Codeunit 80 .But not able to do that as m new to Nav so.Here i need help.

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: Data flow from post shipment to posted sales shipments

    Yes it is the same for the Invoice, What are you trying to achieve ?

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Data flow from post shipment to posted sales shipments

    Actually i have to do it only by using Codeunit 80,,as of i cant create field for this. I want to restrict the functionality that is posted sales invoice.

  • Suggested answer
    Amol Salvi Profile Picture
    Amol Salvi 18,694 on at
    RE: Data flow from post shipment to posted sales shipments

    Create field id same in both the tables and system will transfer it using  TRANSFERFIELDS

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Data flow from post shipment to posted sales shipments

    Thanks..

    Will we do same for sales invoice also.? as invoice to posted sales invoice..

  • Suggested answer
    Suresh Kulla Profile Picture
    Suresh Kulla 43,745 on at
    RE: Data flow from post shipment to posted sales shipments

    Check codeunit 80 and NAV uses TRANSFERFIELDS to transfer the field values from Sale Header to Sales Shipment Header and Sales Line to Sales Shipment Line.

  • Suggested answer
    Rafael B. Profile Picture
    Rafael B. 715 on at
    RE: Data flow from post shipment to posted sales shipments

    Hi Aastha Malhotra,

    Please, take a look at codeunit 80. In this codeunit you can see how system transforms your sales orders to posted sales shipments.

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