Want to fetch a custom field between sales order/delivery note/invoice

Hello all,

I have created a custom field in sales and purchase order doctypes titled “Order Message”.


I have also created this same field in delivery notes/purchase receipts/and both purchase and sales invoice. The field has the same name, so I had assumed it would automatically fetch text from the Order field to the Receipt/Invoice field of the same name, but that does not seem to be the case. Do I need an explicit ‘Fetch From’ entry, even if the custom fields all have the same name?

Thank you

It usually fetches automatically. What is the “no copy” checkbox in the field ?

Hello,

The ‘No Copy’ was set to prevent the field from disappearing if it had no entry in it. However I will admit I do not fully understand what that setting does, disabling it does not seem to make the fields fetch.

my apologies, that does seem to fix the issue. However, it does not retroactively fix orders already in the system. will need to look into that

I’m glad to help. Usually, these changes do not apply retrospectively.

Try it once in python on mapped doc.it my fix the issue, by the way i fixed.