Welcome to Marg Care - Marg ERP 9+

Home > Margerp > Self Designed Report > How to Generate Ledger Code on the basis of Party Name in Marg Software ?

How to Generate Ledger Code on the basis of Party Name in Marg Software ?
Ans.1

In Marg Software, if the user needs to Generate Ledger Code based on Party Name then it can be done easily.

  • Suppose the user needs to generate a Ledger Code with a starting 2 Characters 'AH' of Party Name.

In order to Generate Ledger Code on the basis of Party Name, the user needs to follow the below steps:

  • Now go to Masters > Marg Setups > Advance Features > Self Designed Reports.

  • In 'Report' option, the user will mention the name of the report as per the requirement.
  • Suppose mention 'A'.

  • Mention the description of the command as per the requirement.
  • Suppose mention 'Self Command'.

  • Click on 'Open Program'.

  • The user will type the command.
  • SELE ORDER
  • REPLACE ALL FAX2 WITH substr(PARNAM,1,2)+"0"+ALLTRIM(STR(RECNO()))
  • Press 'Ctrl+W' key.

  • Click on 'Run Program'.

After following above steps, the user can Generate Ledger Code on the basis of Party Name in Marg Software.


Submit Feedback