Work flow connection by naming serial

Hello dears
i need to get previous document number into the next one like

material request number into purchase order doctype and print

purchase order no into purchase receipt doctype and print

also purchase receipt no into purchase invoice doctype and print

so the number fetch automatically from doctype to the next one

how can i do this ??

The no. of previous document is generally added in the Item table. Just make that field Referene No./Material Request ID / Purchase Order ID / Purchase Receipt ID field (in the relevant document) visible in the Print Format.

@umair Done Sir ! :wink:

Thanks.

If you used ERPNext and liked it, please refer us on these sites.

https://www.capterra.com/p/164441/ERPNext

http://alternativeto.net/software/erpnext/

https://www.getapp.com/operations-management-software/a/iwebnotes/