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)

Custom field in Sales Quotation header needs to go to Sales Order

(0) ShareShare
ReportReport
Posted on by 75

Hello all. I created a custom field in the SalesQuotationTable table and also in the SalesTable table. I added the field to both associated forms. Both behave as expected. 

The two fields are SalesTable.EventId and SalesQuotationTable.EventId

Now what I need to do is be able to populate the value into the Sales Order when a Sales Quotation is confirmed. I was poking around in the SalesQuotationEditLinesForm_Sales_Confir class. But I am not sure what I am looking for. 

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Ajit Profile Picture
    8,788 on at

    Did you check this class 'SalesQuotationEditLinesForm'?

    SalesQuotationEditLinesForm     linesForm;

    linesForm = SalesQuotationEditLinesForm::construct(DocumentStatus::Confirmation);

    linesForm.initParmSalesQuotationTable(salesQuotationTable);

    Check that initParmSalesQuotationTable method.

  • michael.j Profile Picture
    75 on at

    I did look that one over. I suppose I was looking for something that said what the fields in the SalesQuotationTable equalled in the SalesTable. I don't do much work in X++, so I am a little lost.

  • michael.j Profile Picture
    75 on at

    That definitely looks like it would work. I appreciate your response.

    I ended up reusing the field that is native in both SalesQuotation and SalesTable tables. CustomerRef. I should have done that to begin with.

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 39

#2
Michel ROY Profile Picture

Michel ROY 14

#3
imran ul haq Profile Picture

imran ul haq 8

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans