Thank you for enlightening me a bit. I accept my question was vague. My actual problem was difficulty in understanding the flowchart that the Sales Post follows. Example - The Res. Jnl. - PostLine Codeunit follows like this -
Set the Dimensions, With Resource Journal Line, it generates next entry, checks the entries by a call to checkLine, then locks Resource Register, updates it, then it populates Resource Ledger Entries (Checks them where necessary), then inserts the entry, lastly copies Journal Line Dim values to the Ledger entry.
This is a quite simple process. As a beginner, I didn’t find difficulty following the codes to generate a flowchart out of it. A flowchart obviously helps in creation of the codes with very less pain because the process is already given, just the implementation is needed.
The same is difficult for me in case of Sales Post as it is a huge and multi functional codeunit. If you could provide me a simpler flow through the codeunit (as I examplified), then it would be very very helpful.
Thanks again for giving me an Idea of the Codeunit.