Skip to main content
Question

Delete records using Data Migration


Forum|alt.badge.img+18

Is it possible to delete records from WORK_SCHED_ASSIGN using Data Migration and WORK_SCHED_ASSIGN_API.Remove__

 

Can anyone please advise how this is done.

 

 

 

6 replies

JULIAN
Hero
Forum|alt.badge.img+9
  • Hero
  • 75 replies
  • July 1, 2020

I would imagine it is. 
You add that in the method instead of just the api and view. And leave the new and modify ticks blank. 
 

i dont know which input it needs that paricular function though. 


RaviDeSilva
Do Gooder (Former Employee)
Forum|alt.badge.img+3
  • Do Gooder (Former Employee)
  • 10 replies
  • July 1, 2020

If I know more about your requirment, probably can come up with different solution.

From where do you get the list of records need to be deleted? From IFS or from a thirdparty system? Howmany records and how frequent? 


alanbclark
Sidekick (Partner)
Forum|alt.badge.img+7
  • Sidekick (Partner)
  • 60 replies
  • July 8, 2020

Crazy thought….

  1. Make a copy of WORK_SCHED_ASSIGN_API. For example, MY_WORK_SCHED_ASSIGN_API
  2. Edit the New__ procedure in the package to perform the Remove__ operations.

When you register the API and check the “New” box it would then call your removal code. It will take more editing, but can be done.

 


Forum|alt.badge.img+2
  • Do Gooder (Partner)
  • 9 replies
  • July 15, 2020
johnw66 wrote:

Is it possible to delete records from WORK_SCHED_ASSIGN using Data Migration and WORK_SCHED_ASSIGN_API.Remove__

 

Can anyone please advise how this is done.

It is possible to do that. You need to pass Objid, Objversion with the ‘DO’ as the action. specify the correct parameter to select the records you need to remove.

(I have sued in other APIs but on the exact API you have mentioned)

 

 


Forum|alt.badge.img+8
  • Sidekick
  • 79 replies
  • February 15, 2021

Which method (Procedure ) have to do done this job.

  Kindly let me know.

 


Forum|alt.badge.img+5
  • Do Gooder
  • 17 replies
  • February 15, 2021

Hey,

If you cant use standard procedure in migration job, consider using migration job+ custom view+event, below post might help

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings