Cost Center Details in Tally Invoice

Discussion in 'Free Source Codes' started by RAJESH BHANUSHALI, Apr 21, 2021.

    

  1. Dear Experts i want to show Cost Center details in Tally Invoice please help me over this.
    As i am fresher in this unable to figure out how to initiate the coding for this.

    I want one help for Enabling or Disabling TDL from Tally Shop but i am not successful in it. following is the code for it.

    [#Part:CMP TallyShop F11]
    Add:part:after:CMP TallyShopFeaturesTitle:Qrcodeconfig
    [Part:Qrcodeconfig]
    Line:Qrenableconfig

    [Line:Qrenableconfig]
    Space Top:0.2
    Field:MediumPrompt,Qrlogic
    Local:Field:MediumPrompt:Set as:$$LocaleString:"Enable Qr code?"
    [Field:Qrlogic]
    Use:Logical Field
    Set as:No
    Show Table:Always
    Storage:QRCode

    [System:UDF]
    QRCode:Logical:1010

    Please guide me in this.
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Your code is correct. What seems to be the problem?
     



  3. Sir, its seems that logic of this portion is not working properly.

    Since, whether i am pressing "yes" or "no" it's always active
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Above code is correct.......... but you need to specify that condition ---- on the report or PART, which you need.
     


  5. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    e.g.
    [System : Formula]
    EnableQRCode : $QRCode:Company:##SVCurrentCompany

    [Part : AdditionalInfo]
    Line : =====so and so ========
    Local : Field : Form Sub Title : Info : $$LocaleString:"howdy"
    Local : Field : Medium Prompt : Width : 25
    Invisible : NOT @@EnableQRCode
     



  6. Thank You sir, 2nd Query has been Solved

    will you please guide me how to add cost center details in invoice???
     


  7. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    compute the value in the Collection and then call for that in your added Field.
     



  8. OK sir will try that

    Sir i have one more query, while specifying the Field Value in UPI Id for QR generate, upi id not coming in QR code

    i have used it as follow

    QR Code : ( "upi://pay?pa="+ $upiids + "&pn="+ $FirstName + "%" + $MiddleName + "%" + $LastName ) : Yes
     


  9. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    This one...beyond my expertise. Either wait for other members to reply or browse through other POSTS on QRCode, and am sure you will get your solution.
     



  10. Thank You sir,

    Today i have done search for almost 6-8 hours but still not getting any solutions.

    May be i am new so unable to underatand properly

    Hope fully, some fellow experts will explain me...

    Sir if you don't mind can i send you code??
    Please will check it where iam lacking...
     


  11. Devendra_Rawat

    Devendra_Rawat Well-Known Member


    Is it only ????


    '% '
    or '%20'
     




  12. Rubazi

    Rubazi New Member


    Try this:


    [#Form:Comprehensiveinvoice]
    Add:parts:At Beginning:Qrcodepart



    [Part:Qrcodepart]
    Line : Empty
    QR Code : ("upi://pay?pa="+$UpiIDs:Company:##SVCurrentCompany+"&pn="+$firstname:Company:##SVCurrentCompany+"%20"+$middlename:Company:##SVCurrentCompany+"%20"+$lastname:Company:##SVCurrentCompany) : True
    ;QR Code : ("http://www.rubazi.com") : True
    Width : 20% screen
    Height : 20% screen
    Local:Field:Form Sub Title:Info:$$Localestring:"Howdy"
    Local:Field:Medium Prompt:Width:25
    Invisible: NOT @@EnableQRCode
    ;Print BG: red


    [#Part:CMP TallyShop F11]
    Add:part:after:CMP TallyShopFeaturesTitle:Qrcodeconfig

    [Part:Qrcodeconfig]
    Line:Qrenableconfig

    [Line:Qrenableconfig]
    Space Top:0.2
    Field:MediumPrompt,Qrlogic
    Local:Field:MediumPrompt:Set as:$$LocaleString:"Enable Qr code?"
    [Field:Qrlogic]
    Use:Logical Field
    Set as:No
    Show Table:Always
    Storage:QRCode
    Sub Form: Sub_Form:$$Value="yes"

    [Report : Sub_Form]
    Form : Sub_Form


    [Form : Sub_Form]
    Part : Sub_Form
    Width : 20% screen
    Height : 20% screen
    Background:Light Blue

    [Part : Sub_Form]
    Line : QRDetails, UpiID, FirstName, MiddleName, LastName
    [Line : QRDetails]
    Field : QRDetails
    Space Bottom:0.5 cm

    [Field : QRDetails]
    Set as : "Enter UPI ID Details"
    Align : Center
    Full Width:Yes
    Read Only:Yes
    Skip: Yes

    [Line : UpiID]
    Field : MediumPrompt, UpiID
    Local : Field : Mediumprompt : Set as:"UpiID :"
    Space Bottom:0.1 cm

    [Field : UpiID]
    Use : Name Field
    Storage : UpiIDs
    Set Always:Yes
    Set as:$Name
    Storage: UpiIDs


    [Line : FirstName]
    Field : MediumPrompt, FirstName
    Local : Field : Mediumprompt : Set as:"FirstName :"
    Space Bottom:0.1 cm

    [Field : FirstName]
    Use : Name Field
    Storage : FirstName
    Set Always:Yes


    [Line : MiddleName]
    Field : MediumPrompt, MiddleName
    Local : Field : Mediumprompt : Set as:"Middle Name :"
    Space Bottom:0.1 cm

    [Field : MiddleName]
    Use : Name Field
    Storage : MiddleName
    Set Always:Yes


    [Line : LastName]
    Field : MediumPrompt, LastName
    Local : Field : Mediumprompt : Set as:"Last Name :"
    Space Bottom:0.1 cm


    [Field : LastName]
    Use : Name Field
    Storage : LastName
    Set Always:Yes


    [System:UDF]
    QRCode:Logical:2010
    UpiIDs:String:2020
    FirstName:String:2030
    MiddleName:String:2040
    LastName:String:2050

    [System : Formula]
    EnableQRCode : $QRCode:Company:##SVCurrentCompany
     



  13. T
    Thank you sir for your reply, but its still not working

    main problem is that in QR Code this field value are not coming.
     


  14. Rubazi

    Rubazi New Member


    IMAGE.png
     



  15. thank you for your help..
    problem solved, i have replaced with my code it got started.

    will you please tell me where i was lacking below part
    QR Code : ("upi://pay?pa="+$UpiIDs:Company:##SVCurrentCompany+"&pn="+$firstname:Company:##SVCurrentCompany+"%20"+$middlename:Company:##SVCurrentCompany+"%20"+$lastname:Company:##SVCurrentCompany) : True

    i have tried compared and change accordingly then also didn't worked out, so i have replaced the code
     


  16. ASHOK

    ASHOK Member


    Sir ji B2C QRCODE ME GST NO BHI HONA HAI AS PER GSTN OR AUTO AMOUNT BHI
     



  17. it's just basic version.

    there more version available which you can compile.
    Basically i have prepared it for personal use, small scale industry to which QR Code compliance is not available.
     


Share This Page