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 :
Small and medium business | Business Central, N...
Answered

How to make field empty when the action "copy job" from job list ? any idea!!

(0) ShareShare
ReportReport
Posted on by

how we can make a field empty ex: starting date when we created a job from copying job

I have the same question (0)
  • Suggested answer
    Amit Baru Profile Picture
    3,037 on at

    Hi,

    Write code on Copy Job button for blank the Start Date field.

    Regards

    Amit Sharma

    www.erpconsultors.com

  • Suggested answer
    Nitin Verma Profile Picture
    21,788 Moderator on at

    Hi,

    If you want to pass the <Blank> value to your starting date field.

    "Starting Date" := 0D

    Thanks.

  • Verified answer
    Mohana Yadav Profile Picture
    61,186 Super User 2026 Season 1 on at

    you have to subscribe to OnAfterCopyJob publisher of Copy Job codeunit like below

    [EventSubscriber(ObjectType::Codeunit, Codeunit::"Copy Job", 'OnAfterCopyJob', '', false, false)]

       local procedure OnAfterCopyJob(var TargetJob: Record Job; SourceJob: Record Job);

       begin

           TargetJob."Starting Date" := 0D;

       end;

  • Community Member Profile Picture
    on at

    Thank you for the reply.

    but what I am looking is a  for a new created job some fields need to empty

    which has values in the original job.

    I have modified the action but I am still getting the same value in the original field.

  • Suggested answer
    Nitin Verma Profile Picture
    21,788 Moderator on at

    Hi,

    Please show your Action button's code how you did it

    Thanks.

  • Community Member Profile Picture
    on at

    Thank you all issue solved

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,850 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,045 Super User 2026 Season 1

#3
Dhiren Nagar Profile Picture

Dhiren Nagar 959 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans