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

Issue Archive Job custom fields

(1) ShareShare
ReportReport
Posted on by 373
Hi Community,
 
I created the same fields to transfer from Job to job archive, but when I try to archive this message appears: 
 
 
but these fields are the same in both tables. Do you know what is happening?
Job & Job Archive
 
 
 
If you know how I can fix it, I would appreciate it.
Thank you very much.
I have the same question (0)
  • Gerardo Rentería García Profile Picture
    26,425 Most Valuable Professional on at
  • YUN ZHU Profile Picture
    100,457 Super User 2026 Season 1 on at
    Except for some special fields, the standard uses the TransferFields method, so are the ids different?
     
    Thanks.
    ZHU
  • Suggested answer
    Mohana Yadav Profile Picture
    61,214 Super User 2026 Season 1 on at
    Please paste the text from "Show details" in your error.
  • Manuel Lozada Profile Picture
    373 on at
    There are the error details:
    The problem is the line  does not allow to populate our custom fields on job archive management codeunit, inclusive if you try to flow with the available event subscribers do not work. This is a system bug for our development.  The only solution that i have now, is emulate creating another codeunit with skip the transferfields but its wasting time because you need to adding all Job system and custom fields.
     
    In case, if you have another solution please let me know, I would appreciate it.
  • Manuel Lozada Profile Picture
    373 on at
    I tried to emulated the codeunit 5139 job archive management to skip the Jobarchive.transferfield(Job), it is work with my custom fields but the problem is Microsoft linked this command Jobarchive.transferfield(Job) with delete Job button. Therefore we can allow customize field from Job table ext to Job Archive table ext.
  • Suggested answer
    YUN ZHU Profile Picture
    100,457 Super User 2026 Season 1 on at
    Hi, I suspect your other customizations affect this, I tested it briefly and there was no problem. You can test it in a completely new environment.
     
    Thanks
    ZHU
  • Manuel Lozada Profile Picture
    373 on at
    Hi Yun Zhu thank you for your answer. I found the problem in this case to transfer field we need to have the same ID Number field to allow it.
     
    For example in your case ID 50000 for both fields.
  • Verified answer
    YUN ZHU Profile Picture
    100,457 Super User 2026 Season 1 on at

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 April Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,072 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,129 Super User 2026 Season 1

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 650 Most Valuable Professional

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans