Woocommerce function

Job ID: 30835289

Budget: $30 – $250 USD

I need a wp function to change the product sku inside the admin order page to a custom value, sku - order number. The product sku in the admin order page is saved as metadata in the wordpress database, so the function should dynamically change all these values to product sku - order number. The function should always work and apply to old orders as well.
Related categories: PHP JavaScript WordPress MySQL WooCommerce