How to add field value in QR Code part?

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

    

  1. Dear Experts,
    i am trying to add field value in QR code part, QR Code not taking it when generated.
    Please help me over this, my manual QR code is almost ready just stuck at this point.

    QR Code : ( "upi://pay?pa="+ #name +"&pn="+ #FirstName + "%" + #MiddleName + "%" + #LastName ) : True

    above one QR code field value
    please have look on it.
     



  2. Dear Expert,
    please help me in this query

    i feel that i am doing mistakes in setting functions or system formula..
     


  3. balajimg

    balajimg Active Member


    without the code, difficult to analyse, seems all ok.
     



  4. Sir have sent you code, please have look on it

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


    [Part:Qrcodepart]
    Line : Empty
    QR Code : ("upi://pay?pa="+#upiid+"&pn="+#firstname+"%20"+#middlename+"%20"+#lastname) : True
    Width : 20% screen
    Height : 20% screen
    Local:Field:Form Sub Title:Info:$$Localestring:"Howdy"
    Local:Field:Medium Prompt:Width:25
    Invisible:NOT @@EnableQRCode


    [#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


    [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
     


  5. shubham sancheti

    shubham sancheti New Member


    Hii Rajesh,

    try this

    QR Code : ("upi://pay?pa="+$UpiIDs:Company:##SVCurrentCompany+"&pn="+$firstname:Company:##SVCurrentCompany+"&am="+$$String:$amount+"&tn=Bill No. "+$$String:$voucherNumber) : True

    Thanks and Regards,
    CA. Shubham Sancheti
    Sherlock Tradelink Pvt. Ltd.
     


Share This Page