Skip to main content
Dynamics 365 Community / Forums / Finance forum / Reservation Creating S...
Finance forum
Answered

Reservation Creating Sales Order Using X++

editSubscribe (0) ShareShare
ReportReport
Posted on by 708
Hi Folks,
 
I'm creating a sales order using X++, apparently everything is ok, but when going to check the reservation, always is 1.00 and I don't know why. For the next example, the quantity of the order line is 12.00, but as I mentioned, the order reservation is just 1.00.
 
The sales order:
 
////
 
 
The reservation:
 
////
 
Please your help.
 
Thanks
 
 
 
 
Attachments
  • Verified answer
    Israel Gonzalez Profile Picture
    Israel Gonzalez 708 on at
    Reservation Creating Sales Order Using X++
    Hi Ramit,
     
    Invent unit and sales unit are the same. If the sales order is created manually, works ok.

    Finally I found the trouble (an update on SalesLine).

    Thanks
     

  • Suggested answer
    Ramit Paul Profile Picture
    Ramit Paul 18,188 Super User on at
    Reservation Creating Sales Order Using X++
    Hi,
     
    One things coming to my mind is- check the inventory unit setup and the sales order unit, if SO unit is different than the inventory unit, it might show the converted unit in on hand.
     
    If everything is same, try to check if this is happening the same while creating manually, if not, it might be some code issue.
     

Helpful resources

Quick Links

New Blog Features Released!

Check out the new community blog features for viewers and authors…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,080 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,601 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Featured topics

Product updates

Dynamics 365 release plans