Get the reference of sale order in delivery note

Hello,

I want to get the reference of dependent sale order from the particular delivery note into my code.

Can anyone suggest me?

Thank You.

@Chandresh_Thakkar,

Sales Order reference is stored in the items table so you will need to iterate the Items table to get the sales orders

e.g. [row.against_sales_order for row in doc.items] where doc is Delivery Note document

1 Like

Great.

Thank You so much.