How to fetch Sales Order number in linked Delivery Note


I want to add a field to Delivery Note in which linked “Sales Order Number” with that “Delivery Note” should be fetched.

How can I achieve this.

I didn’t find any doctype in “fetch from” field.

How can we achieve this by client script?

Hi @lyf,

And if you create a Delivery Note from a Sales Order then Sale Order ID will automatically be set in the Sales Order Item level.

Please check it.

But if you want to set the Sales Order ID in Delivery Note, I think you should check the documentation.

Thank You!

1 Like


I want to access this child table field “Against Sales Order” value to WhatsApp notification.

May I know the syntax to use Child table field value ?