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 :
Business Central forum

How to save custom field in posted shipment page

(0) ShareShare
ReportReport
Posted on by

Hi everyone,

I have create some field by extend the sales shipment header table and posted shipment page. However, after I edit the field on the posted shipment page. The field will be wipe out after I click the "edit" but the shipment method field will be saved. Does anyone know how to save these custom field that I created on posted shipment page?  Thanks in advance.WeChat-Screenshot_5F00_20180911183309.pngWeChat-Screenshot_5F00_20180911183329.pngWeChat-Screenshot_5F00_20180911183521.pngWeChat-Screenshot_5F00_20180911183536.png

Categories:
  • Suggested answer
    Stefano Demiliani Profile Picture
    37,172 Most Valuable Professional on at

    Normally in the Posted Sales Shipment page, OnModify trigger there is this standard code:

    CODEUNIT.RUN(CODEUNIT::"Shipment Header - Edit",Rec);

    EXIT(FALSE);

    You can save only the fields listed in the OnRun trigger in this codeunit.

  • Community Member Profile Picture
    on at

    Thanks for you reply. I debug through the "Shipment Header - Edit" and found it will only update 3 field. So I create another page to store the user define fields. One more question. I noticed that the normal environment(Online  trial) and local container sandbox could not edit posted shipment page. The Edit action is disabled. I could only edit the page at online sandbox environment. Is that because I'm using a trial version or missing a certificate. Or I have set certain permission to modify sales shipment header table? Thank you so 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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Business Central

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans