Dear Experts Please suggest how to print company wise Print Company's Second Address & Contact Detail in Sales Invoice. Need correction in this TDL [#Part : DBLLINE Narration] Add : Line : After : EXPINV Jurisdiction : Inadd [Line : Inadd] Field : simplefield Local : Field : simplefield : info : "Head Office : XXX Street, India, www.xxx.com Mob: 000000000, E-mail: tdl@.com" Local : Field : simplefield : style : smallbold Local : Field : simplefield : width : 100 % Screen Local : Field : simplefield : background : Black Local : Field : simplefield : align : center Local : Field : simplefield : Fullwidth : yes Local : Field : simplefield : color : White Local : Field : simplefield : skip : yes Local : Field : Short Prompt: Invisible : NOT $$InPrintMode ;;Invisible : Not $$IsSales:$Vouchertypename [#Part: EXPINV Jurisdiction] Invisible : No Add : Line : At Beginning : Inadd [#Line: EXPINV Jurisdiction] Invisible : $$IsEmpty@Jurisdiction
THIS IS BY DEFAULT IN TALLY. NO TDL IS REQUIRED. JUST GO TO COMPANY ACCOUNTING FEATURES. HERE MAINTAIN MULTIPLE ADDRESS FOR COMPANY. NOW AT SALES VOUCHER. PRESS CTRL+P AND IN TITLE. YOU CAN CHANGE SECOND ADDRESS.
Dear Experts: Every time customer did not press alt+P alt Alt+T goto titling and change the address type. Once i fixed the Address in voucher type and get the address in printout i try the storage but i did not get the address in printout,Please solve the problem [#Part: VTYP BehaviourMain] Add: Lines :At End :VtyaddLin [Line :VtyaddLin] Field :Medium Prompt,VtyaddLin Local :Field :Medium Prompt :Set as :"company Address" [Field :VtyaddLin] Use :NameField Set as :$VtyaddLin Storage :VtyaddLin Set Always :Yes Table : CmpAddrType, Primary Show Table : Always [System :UDF] VtyaddLin :String :1009 Thanks with regards
;; For printing ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; [#Part: EXPINV InvoiceCompGen] Delete : Line : EXPINV InvoiceCompGen Lines : Bank Line Add:Line:EXPINV InvoiceCompGen [Line : Bank Line] Field : BOName Field ;;, Short Name Field Space Top : 0.5 [Field: BOName Field] Set as : "Branch Address : " + $Acname:Company:##SVCurrentcompany + " " + $Acname1:Company:##SVCurrentcompany Full Width : Yes Align : Centre Border : Thin Box ;; For Branch Address Storage;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; [#Part: CMP Indian Statutory] Add : Bottom Part : Before : CMP Statutory Buttons : CMP NCLPerc [Part : Cmp NclPerc] Line : NclPerc [Line : NclPerc] Field : short Prompt,Acname, simple Prompt,Acname1 Local : Field : short Prompt : Width : @@normalwidth Local : Field : simple Prompt : Width : @@normalwidth Local : Field : Short Prompt : Info : $$Localestring:"Branch Address :" Local : Field : Simple Prompt : Info : $$Localestring:"Branch address 2 :" [Field : Acname] Use : NAME Field Storage : Acname STyle : Normal Color : Blue [Field : Acname1] Use : NAME Field Storage : Acname1 STyle : Normal Color : Blue [sYSTEM : udf] Acname:string:401 Acname1:string:501
To get the address in printout please add the codes as under [#Report : GST Printed Invoice Print : SVAddressToPrint : ($(VoucherType, ##SVVoucherType).VtyaddLin) [#Part: VTYP BehaviourMain] Add: Lines :At End :VtyaddLin [Line :VtyaddLin] Field :Medium Prompt,VtyaddLin Local :Field :Medium Prompt :Set as :"company Address" [Field :VtyaddLin] Use :NameField Set as :$VtyaddLin Table : CmpAddrType, Primary Show Table : Always Set always : Yes Storage : VtyaddLin Set Always : Yes [System :UDF] VtyaddLin :String :1009
in this above code [#Report : GST Printed Invoice Print : SVAddressToPrint : ($(VoucherType, ##SVVoucherType).VtyaddLin) is not working
Gone through all the thread , still I didn't understand which address to print. I mean at company level Or Ledger level multiaddress? Pls elaborate I will give the solution.