Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

Issue Archive Job custom fields

Posted on by 352
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.
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 64,449 Super User on at
    Issue Archive Job custom fields
    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
    Manuel Lozada 352 on at
    Issue Archive Job custom fields
    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.
  • Manuel Lozada Profile Picture
    Manuel Lozada 352 on at
    Issue Archive Job custom fields
    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.
  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 51,235 Super User on at
    Issue Archive Job custom fields
    Please paste the text from "Show details" in your error.
  • YUN ZHU Profile Picture
    YUN ZHU 64,449 Super User on at
    Issue Archive Job custom fields
    Except for some special fields, the standard uses the TransferFields method, so are the ids different?
     
    Thanks.
    ZHU
  • gdrenteria Profile Picture
    gdrenteria 5,251 Super User on at
    Issue Archive Job custom fields

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 288,513 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,862 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans