Customising a doctype like stock ledger entry

I want to customise a doctype like Stock Ledger Entry that display some informations but i wonder whats the doctype type and how to control it is it from hooks too like on_submit,on_validate or what thats a by making report ?

Hi @lmahdy1:

It’s depends on how deep your desired customization is …

  1. Customize your form
    Customizing DocTypes

  2. Check server and client script funcionality.
    Server Script
    Client Script

  3. Not enough? … try to override/extend controller methods.

Anyway, stock ledger entry is a really deep component of ERPNext stock & warehouse logic, so changing the behavior (without kill the kittie!) could be a little bit challenging.

Hope this helps.

1 Like

thank u