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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How insert a new line in SalesLine from Wmsjournaltrans?

(0) ShareShare
ReportReport
Posted on by 578

Good day!

I need insert a line from this table, there is some method??

I need that the lines added to a return order, are written on the original sales order ...., to later calculate the amounts pending delivery. I read the lines from a journal.


Or when registering a Journal, at what time do you write in salesline?

Thanks in advance

*This post is locked for comments

I have the same question (0)
  • Sukrut Parab Profile Picture
    71,735 Moderator on at

    Can you please explain  your scenario ? I understand that you are creating return order and want to copy those line . If you have all the data you need to insert in salesLine what problem you are facing ?

  • ismaelivan Profile Picture
    578 on at

    Gracias Sukrut, yes, I currently copy field by field, but I want to know if there is any method that does it from the Widjournaltrans recid, for example createfromwmsjournal or similar

  • Verified answer
    Sukrut Parab Profile Picture
    71,735 Moderator on at

    You can search in AOT if such a method exist , I do not see anything like that . Basically you are doing the same thing which standard method will do for you. SalesLine has method call createFromSalesQuotationLine which does the same thing  if you want to take a look at it as a reference

  • ismaelivan Profile Picture
    578 on at

    Thanks, i found SalesLine::findInventTransId(WMSJournalTrans.InventTransId), It works for me, because basically I want to copy a line to another order. Thank Very Much

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 16

#2
GiacomoRovai Profile Picture

GiacomoRovai 4

#3
Douglas Noel Profile Picture

Douglas Noel 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans