Topic: Splitting sales function and PO function
I noticed that for sales function: sales quotation, sales order, sales delivery, direct delivery, invoice, direct invoice are in one file. This also happen in PO. PO entry, PO receive item, direct GRN, supplier invoice, direct supplier invoice are all in one file.
I do believe this is really bad practice. This makes the file really complicated with too many if. This also make modifying functionality really troublesome because I always need to add if in my modification depend on transaction.
I hope this can be split into their own functionality. If there are similarity, some function should be created and can be used together rather than using many if then.