How to create a field named ‘Created from’ in Sales invoice where i want to get the created from Doc number.Eg:If the Sales invoice is created from Sales order i want to display the field Sales order number.If the Sales invoice is created from Delivery Note i want to display the field Delivery Note number ,none if no connection.
@Fathima Please Check The Sales Invoice Item Table row last portion showcase the reference name which doctype from the sales invoice is created show checkout from that
Delivery Note
Sales Order
There is no option like this in my sales invoice.I just want it like if the Sales Invoice created from Sales Order then it want to automatically shows Sales order number.If the Sales Invoice created from Delivery Note in the same field it want automatically shows Delivery Note number.
@Fathima To add a custom field in your sales invoice and display the sales order and delivery note from the child table reference in the sales invoice item table, you can use a custom client script. Additionally, you need to add a custom field in the sales order item child table. This solution will assist you effectively.