Skip to main content
Question

How to insert customer order headers and line items in the same migration job

  • October 28, 2025
  • 5 replies
  • 56 views

Forum|alt.badge.img+1
  • Do Gooder (Partner)
  • 3 replies

I'd like to know how to register new customer order headers and line items in the same migration job.

I have tried this and confirmed that adding CUSTOMER_ORDER and CUSTOMER_ORDER_LINE to the "Method List" tab allows me to update them all at once.

 

However, when I try to insert both the header and line items, I get the error "DEVELOPER_ERROR_03: Most likely a usage definition is wrongly defined for LU: [CustomerOrder] in table RM_ACC_USAGE_TAB, internal exception: [Ex_Get_Id]."

 

5 replies

Guzik
Do Gooder (Customer)
Forum|alt.badge.img+3
  • Do Gooder (Customer)
  • 23 replies
  • November 7, 2025

hello ​@IWANBE ,

it not so easy when it comes to the details.

the general rule is to use CUSTOMER_ORDER only ones for the header (on New Master)

 

in the Method Attribute of CUSTOMER_ORDER_LINE, you need to refer to the 3rd step when the header is created:

 

regards,

Kajetan


Forum|alt.badge.img+5
  • Sidekick (Customer)
  • 47 replies
  • November 12, 2025

Hello ​@Guzik

Could you share a more in depth view of the datamigration job you share in your screenshot please?

 


Forum|alt.badge.img+5
  • Sidekick (Customer)
  • 47 replies
  • November 12, 2025

I have tried this but was unable to make it work : 

 

 


Guzik
Do Gooder (Customer)
Forum|alt.badge.img+3
  • Do Gooder (Customer)
  • 23 replies
  • November 13, 2025

Hello ​@N.GEORGI ,

The error message you got suggests that a header has not been created and a line is missing an order no. Please check last info and check if the 10th step has been executed without errors. 

To make it easier I attached a zip file that contains following jobs:

1_IMPORT_CO

2_M_CO

There is also CO_import.csv that you can save to your FNDMIG directory

Please process *.ins files using “FNDMIG_IMPORT_SERVER” job or similar 

 

Let me give you some more details:

2_M_CO first runs 1_IMPORT_CO, but you can disable it:

 

the 1_IMPORT_CO uploads CO_import.csv from FNDMIG directory, but you can change it to OnClient if more convenient

Please adjust the site (Contract), SKU (Part no)  to your settings 

 

2_M_CO - creates header, lines and charges. It is now set up to use charge type 406 in company PL01, so please adjust to your env.

Enjoy!

Regards,

Kajetan

 

 


Forum|alt.badge.img+5
  • Sidekick (Customer)
  • 47 replies
  • November 13, 2025

@Guzik thank you verry much