Skip to main content
Solved

Migration Job : create a unicity check and a block

  • January 24, 2024
  • 1 reply
  • 85 views

Forum|alt.badge.img+5
  • Sidekick (Partner)
  • 18 replies

Hello everyone,

I need to create a migration job for customer orders. My customer would like a unicity check to be performed on the field CUSTOMER_PO_NO when the job is launched.  

If the value already exists on IFS, the line that should be imported by the job should be blocked. 

 

 

Is it possible to add this control and blocking directly to the migration job? Knowing that, the field is optional. 

 

 

Best answer by FlorianTauber

Hey there,

if I got you right: Yes, it is possible.

I assume you’ll have a migration job with procedure “MIGRATE_SOURCE_DATA” for migrating those values from your “CREATE_TABLE_FROM_FILE”-job.

Looking at your screenshots you’ve added a column DUMMY_1 for checking the existence / uniqueness of the customer order line / planning to do so?

If so, you can add the column DUMMY_1 to the conditions at the Method_List_TAB.

Please refer to https://docs.ifs.com/techdocs/22r1/030_administration/050_data_management/050_data_migration/070_references/020_tips_and_tricks/tipsandtricksmethodconditions/#condition_on_source_column. “Condition on Source Column”.

I know the docs are for IFS Cloud, but it’s the same within IFS Apps 10 and below.

Hope this helps.

Otherwise: Pls add more information.

 

BR

Florian

FLEXiCODE GmbH

View original
Did this topic help you find an answer to your question?

1 reply

FlorianTauber
Do Gooder (Partner)
Forum|alt.badge.img+5
  • Do Gooder (Partner)
  • 27 replies
  • Answer
  • January 24, 2024

Hey there,

if I got you right: Yes, it is possible.

I assume you’ll have a migration job with procedure “MIGRATE_SOURCE_DATA” for migrating those values from your “CREATE_TABLE_FROM_FILE”-job.

Looking at your screenshots you’ve added a column DUMMY_1 for checking the existence / uniqueness of the customer order line / planning to do so?

If so, you can add the column DUMMY_1 to the conditions at the Method_List_TAB.

Please refer to https://docs.ifs.com/techdocs/22r1/030_administration/050_data_management/050_data_migration/070_references/020_tips_and_tricks/tipsandtricksmethodconditions/#condition_on_source_column. “Condition on Source Column”.

I know the docs are for IFS Cloud, but it’s the same within IFS Apps 10 and below.

Hope this helps.

Otherwise: Pls add more information.

 

BR

Florian

FLEXiCODE GmbH


Reply


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