Lock The export path in tally

Discussion in 'Free Source Codes' started by swetal, Jun 19, 2020.

    
  1. swetal

    swetal New Member


    Hi Sir , I want help to lock the data path for export from tally
    can someone help me how can we do this

    Regards

    Swetal
     


  2. RakeshGupta

    RakeshGupta New Member


    Hi every One,
    i wants to export pdf a particular path this path line i use in company level
    when i check log then i got right path but when i export then pdf file go to tally instalation path
    my code is

    [Function: Export PDF DignDoc]

    Local Formula : SysDate : $$SysInfo:SystemDate
    Variable : FileName : String
    Variable : MasterSno : String: ""
    Variable : DefPath : String


    aa1 : Set : SVCopyIndex : ##Count
    000 : SET : SVExportLocation : @@SetDSPath;$(AppINIConfig, "AppINIConfig").ExportPath
    as:Log:##SVExportLocation
    001 : Set : SVOpenFileAfterExport : No
    010 : SET : SVExportFormat : $$SysName:pDF
    011 : Set : MasterSno : if Not $$IsEmpty:$VoucherNumber then $VoucherNumber else (if not @@EmptyMasterId then $MasterID else $Cmpvchid:Company:##SVCurrentCompany)
    015 : SET : SVExportFormatVar : $$SysName:pDF
    020 : Set : MasterSno : if not @@EmptyMasterId then $MasterID else $Cmpvchid:Company:##SVCurrentCompany
    ;021 : Set : SVPrintCopy : ##Count
    022 : SET : SVPrintFileName : $$String:##SVVoucherType+$$String:##MasterSno+$$String:##Count+".pdf"
    030 : EXPORT REPORT : . : TRUE
    ; 056 : Call : GetDSValue

    [System: Formulas]

    SetDSPath : $VCHFileSource:Company:##SVCurrentCompany
     


Share This Page