help needed

Discussion in 'Free Source Codes' started by panam, Oct 18, 2020.

    
  1. panam

    panam Member


    dear experts,
    i need help in code to hide ledger current balance in purchase and sales voucher screens

    [#Line: EI PartyLimit]
    Invisible:line: EI CurrentBalance :yes
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Just deactivate from F12 config............. why travel from Mumbai to Delhi via Africa ??
     
    panam likes this.


  3. panam

    panam Member


    dear Amit sir , my purpose was different.
    As per your aswer if i diasble it in F12, the ledeger balance will be disable. but due to this, The tdl code: "today's total sales " will not work if the Leger balance is not yes
     


  4. sandip kumar

    sandip kumar New Member


    ;;try this

    [#part :EI BaseInfo]
    Add:Line:After: EI Consignee:totsales
    [line : TotSales]
    Invisible : Not $$IsSales:##SVVoucherType
    Field : Simple Prompt, Amount Field
    Local : Field : Simple Prompt : Info : $$LocaleString:"TotalSales:"
    Local : Field : Simple Prompt : Width :10
    Local : Field : Amount Field : Set as : @@TrsTotSales
    Local : Field : Amount Field : width :10
    Local : Field : Amount Field : color :Black
    Local : Field : Amount Field : style:small Bold
    Local : Field : default :Skip:Yes



    [System : Formula]

    TrsTotSales :($$FromValue:$Date:$$ToValue:$Date:$CreditTotals:Group:$$GroupSales)+($$FromValue:$Date:$$ToValue:$Date:$CreditTotals:Group:$$GroupDuties)

    ;;Now you can deactivate from F12 config
     
    sanju1975 and panam like this.


  5. panam

    panam Member


    Thank u very much Mr Sandeep kumar for your valuable time and help to rectify this code.
    Now it is working fine.
     


  6. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Ask for help ---- only if needed........

    I am observing, you tend to ask question without understanding the codes. Initially it is difficult, but once you gain knowledge you will be able to find the CAUSE of your problems on your own.

    So first you must give yourself proper time to Rectify on your own, before asking for help. In this manner you can learn faster. Also, if and when the solutions has been given, you must compare the solution with your code, understand what is different and why it has been done in such manner. So you can learn better.
     
    sanju1975, panam and psr like this.


  7. panam

    panam Member


    yes, Amit sir i am a baby in this forum. as per you guidance and support from you and other members i am learning things. i will improve further to understand the things well.
     


Share This Page