Want to customize Stock Ledger Entry

I have added 3 fields in Stock Ledger Entry. I want to set that fields using an other app (For customization purpose). How can I set those 3 fields from other app without affecting the existing fields ? I want to make an entry of that field on submitting the “Purchase Receipt” and “Purchase Invoice”.

1 Like

add doc_events hook for Purchase Receipt and Purchase Invoice.

in the function, get_doc the related stock ledger entries and set values.