Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

sales parm table in packing list sales order

(0) ShareShare
ReportReport
Posted on by 35

Hello everyone 

I want to make the packing slip date no one can make edit and the user cannot change the date of the transection date and take the day date automatic 

bandicam-2021_2D00_07_2D00_07-11_2D00_33_2D00_53_2D00_208.jpg

  • Muhammedkhaled Profile Picture
    35 on at
    RE: sales parm table in packing list sales order

    Thank you A lot

  • Verified answer
    greengrimms Profile Picture
    1,400 on at
    RE: sales parm table in packing list sales order

    Hi Muhammed,

    In order to achieve this, add the following code to run() method on SalesEditLines form in order to disable input from the user:

    salesParmTable_ds.object(fieldNum(SalesParmTable, TransDate)).allowEdit(false);

    Also, add the following code in init() method of the SalesParmTable datasource in order to assign today's date to the field:

    SalesParmTable.TransDate = today();
     

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,302 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,108 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans