Skip to main content

Notifications

Supply chain | Supply Chain Management, Commerce
Unanswered

SalesAgreementGenerateReleaseorder Form need a remark field

(1) ShareShare
ReportReport
Posted on by 1,883
 Hi Experts,
 
I need to add remark field in SalesAgreementGenerateReleaseOrder. This Form has SalesCreateReleaseOrderTableTmp data source. I added a field in SalesCreateReleaseOrderTableTmp as well as in SalesTable table.
 
I think adding remark field in SalesCreateReleaseOrderTableTmp is not best way because this is inMemory and entity link with it.
 
Most of or all fields value are coming to SalesCreateReleaseOrderTableTmp and SalesCreateReleaseOrderLineTmp from SalesTable and SalesLine.
 
How to do it.
 
My objective is to get remark field text to Sales order confirmation report.
 
Please guide me how to achieve it.
 
Thanks,
Faiz
  • SalesAgreementGenerateReleaseorder Form need a remark field
    Hi Faiz,
     
     
    You use the Sales Agreement Release Orders to generate a release order, which, in this case, is a sales order.  
    So the values needs to flow from the form, to the order, to the journal, and finally to the report.
     
    Here is how I would have done it:
     
    • Add  the field on the temp table (SalesCreateReleaseOrderTableTmpand SalesTable.
    • Create a CoC on SalesAutoCreate_ReleaseFromAgreement() to store the field value on SalesTable from SalesCreateReleaseOrderTableTmp.
    • Add the field to the order confirmation journal (CustConfirmJour), and create a CoC on CustConfirmJour.initFromSalesTable() to journalize the value.
    • Use the field on CustConfirmJour in your customized report.
    If you are working with external reports, always try to journalize the values you are sending to externals.

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

News and Announcements

Announcing Category Subscriptions!

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans