Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Split order on inventory transaction

Posted on by Microsoft Employee

Hello everyone 

I want to split order on inventory transaction when input Split quantity > Packing quantity but less than 40 , 60 ,80 , .....

EX1   Split quantity = 25 

result

 Record 1 = 20 Full

 Record 2 = 5 Bit

EX2  Split quantity = 45 

result

Record 1 = 40 Full

                     Record 2 = 5  Bit

 2018_2D00_06_2D00_25_5F00_13_2D00_41_2D00_40.png              2018_2D00_06_2D00_25_5F00_13_2D00_47_2D00_13.png

Please tell me for coding  x++ 

Best Regard ,

Chanathip Thakonnawamongkol 

*This post is locked for comments

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Split order on inventory transaction

    Dear Crispin John Augustine

         Thank you

    Best Regard,

    chanathip

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Split order on inventory transaction

    How to use  InventTrans.updateSplit()

    thanks,

    Chanathip

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Split order on inventory transaction

    Dear  Crispin John Augustine

            I want to give auto split

       EX1   Split quantity = 25

      result

         Record 1 = 20 Full

         Record 2 = 5 Bit

    but now

      EX2   Split quantity = 25

        result

         Record 1 = 25 bit

    Regard ,

    Chanathip

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,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans