Inclusive GST Column is not visible in Users Login

Discussion in 'Free Source Codes' started by vishal.jayswal09, Jul 18, 2020.

         
  1. vishal.jayswal09

    vishal.jayswal09 New Member


    Hello Team,

    I have developed the Inclusive GST Rate Column in Invoice and it's working fine but when i log in users id and select sales voucher by using ALT + Enter and Print Invoice then Inclusive GST Rate Column is not print.

    Kindly help..

    below is the code.

    ;;--------------------------------------------------------------------------------------
    ;; Print Level
    ;;--------------------------------------------------------------------------------------

    [#Line: EXPINV Column1]


    Add :Right Fields : Before :EXPINV RateTitle : EXPINV INCTitle

    Local : Field : EXPINV INCTitle : Info : $$LocaleString:" Inclusive"
    Local : Field : EXPINV INCTitle : Invisible : NOt ##GRate

    [#Line: EXPINV Column2]


    Add : Right Fields : Before : EXPINV RateTitle : EXPINV INCTitle

    Local : Field : EXPINV INCTitle : Info : $$LocaleString:"Rate "

    Local : Field : EXPINV INCTitle : Delete : Border


    [Field: EXPINV INCTitle]

    Use : RateTitleField
    Info : "Inclusive"
    Border : Thin Left
    Align : Centre
    Style : Small

    [#Line: EXPINV InvDetails]


    Add : Right Fields : Before : EXPINV Rate : EXPINV IRate

    [Field : EXPINV IRate]

    Use : Number Field
    Align : Right
    Style : Small
    Set as : $InclusiveTaxValue
    Border : Thin Left
    Set Always : Yes

    [#Line: EXPSMP InvDetails]

    Add : Right Fields : Before : EXPINV Rate : EXPINV IRate
    [#Line: EXPINV AccDetails]

    Add : Right Fields : Before : EXPINV AccRate : EXPINV INCRate

    [Field :EXPINV INCRate]

    Use : Rate Price Field
    Align : Right
    Style : Small
    Set as : " "
    Format : "Symbol,Forex"

    Border : Thin Left

    [#Line: EXPINV Totals]

    Add : Right Fields : Before : EXPINV RateTotal : EXPINV IncRateTotal


    [Field : EXPINV IncRateTotal]

    Use : Rate Price Field
    Align : Right
    Style : Small
    Set as : " "
    Border : Thin Left



    ;;--------------------------------------------------------------------------------------
    ;; Simple Format
    ;;--------------------------------------------------------------------------------------



    [#Line: EXPSMP Column1]

    Add : Right Fields : Before : EXPINV RateTitle : EXPINV INCTitle

    Local : Field : EXPINV INCTitle : Info : $$LocaleString:" Inclusive"

    [#Line: EXPSMP Column2]

    Add : Right Fields :Before : EXPINV RateTitle : EXPINV INCTitle

    Local : Field : EXPINV INCTitle : Info : $$LocaleString:"Rate "
    Local : Field : EXPINV INCTitle : Delete : Border



    [#Line: EXPSMP AccDetails]

    Add : Right Fields : Before : EXPINV AccRate : EXPINV INCRate;, EXPINV AccRatePer, EXPINV AccDiscount, EXPINV AccAmount, EXPINV TCSAmount, EXPINV AccSRVTAmount, EXPINV SubTot


    [#Line: EXPSMP Totals]

    Add:RightFields : Before : EXPINV RateTotal : EXPINV IncRateTotal

    ;;--------------------------------------------------------------------------------------
    ;; End of File
    ;;--------------------------------------------------------------------------------------
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Your code has nothing to do with User ID login..........

    The Alt+Enter report is also different and Print Invoice is also a separate report....

    You need to add your fields to those two reports also.
     


  3. vishal.jayswal09

    vishal.jayswal09 New Member


    Hello Sir,

    Thank you for your guidance.

    Can you please shared the sample code, in which form i have to add these field?
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    The Alt+Enter report name is "VCH Display" ... Find the FORM and PART name... and add your fields there......

    You can find the name of the report, by starting TALLY in developer mode.

    Similarly based on your Invoice print, find the name of the Invoice print... and add your fields there too.
     


  5. vishal.jayswal09

    vishal.jayswal09 New Member


    Hello Sir,

    Thank you for your guidance.

    I have made the changes at ALT + Enter display voucher level but i can't find the print Form for the same.

    ;;--------------------------------------------------------------------------------------
    ;; Alt + Enter Display
    ;;--------------------------------------------------------------------------------------

    [#Line: VCH Display ColTitle1]

    Add : Right Field : Before : VCHDSP RateTitle : VCT

    [Field : VCT]

    Use : Short Name Field
    Set as : $$LocaleString:"INC Rate" ;;; Voucher display - Column Title
    Align : Centre
    Style : Small Bold
    Fixed : Yes
    Skip : Yes
    Width : 8
    Cells : 1


    [#Line: VCH Display InvDetail]

    Add : Right Field : Before : VCHDSP Rate: VC
    Local : Field : VC : Set as:($$Number:#VCHDSPRate * $(Stockitem,$stockitem).GSTDetails[First].StatewiseDetails[1, @@IsAnyState].RateDetails[1, @@IsIGST].GSTRate ) /100 + $$Number:#VCHDSPRate

    [Field: VC]
    Width : 8
    Style : Small
    Align : Right
    Set always : Yes
    Use : Number Field
    Storage : VC

    [System : UDF]

    VC : Number : 9003

    Kindly help for the same.
     


  6. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Why have you put Storage in the Field "VC", since it is only for display purpose??
     


  7. vishal.jayswal09

    vishal.jayswal09 New Member


    Hello Sir,

    It's Done
    Thank you
     


  8. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    :);) Good. You are learning fast.
     
    Last edited: Jul 21, 2020


  9. Anil hassani

    Anil hassani New Member


    Hello Dear, Can you please share full code
     


Share This Page