Help needed with bulk update, but between different DocTypes

Hello community. Here looking for a “how to” on a custom requirement.

So, we have a custom app that stores Incoterms (with multiple options) and we have about 3 thousand documents associated with it. We now want to use the “Terms and Conditions” of ERPNext moving forward. As well as update our old documents to use the Terms and Conditions.

Options inside the table are same for the time being :slight_smile:

Any help is appreciated, thanks guys! Stay safe and healthy.