Hello friends... I m new here and New to TDL I want to Print Original, Dublicate or Triplicate copy separately in sales invoice, Where user can select which copy he want to print. Suppose I want to Print only the Triplicate copy of a Sales Invoice. Any TDL code for this? Thanks in Advance
[Field: Copy Field] FullWidth : Yes Set As : If @IsExciseOn AND @@IsSales AND @IsExciseVchType Then @@ExciseSet Else @NonTaxInvSet IsExciseOn : @@IsIndian AND $$IsExciseOn AND $$IsInventoryOn:$$CurrentCompany IsExciseVchType : $$Owner:$$FilterCount:LedgerEntries:IsLedDutyHeadExcise > 0 NonTaxInvSet : If @@GetCopyNum = 1 Then @Original Else + If @@GetCopyNum = 2 Then $$LocaleString:"(Duplicate)" Else + If @@GetCopyNum = 3 Then $$LocaleString:"(Triplicate)" Else + If @@GetCopyNum = 4 Then $$LocaleString:"(Quadruplicate)" Else $$LocaleString:"(Extra Copy)" Original : If @@IsIndianVATVch AND $IsTaxInvoice:VoucherType:$VoucherTypeName Then $$LocaleString:"Original - Buyer's Copy" + Else $$LocaleString:"(Original)" Style : Small Italic Align : Right use method as per your requirement
Thank you so much sir... the code u write ..is showing perfectly working on erp 9... but still unable to print the costume copy which I want to print. .. let me show u some screen shots.. I want something like this both for tax and retail invoice. any Idea?
Hello friends... I want to Print "Original - Buyer's" , Duplicate or Triplicate copy separately in sales invoice, Where user can select which copy he want to print. Suppose I want to Print only 1 copy , than it should print "Original - Buyer's", if i select 2 copies ,than it should print first copy as "Original - Buyer's" & on second copy "duplicate , if i select 3 copies , than it should print "Original - Buyer's" on first copy, on second - "duplicate & on 3rd copy "Triplicate: copy of a Sales Invoice. if Any TDL code for this? codes given is not working for 1 copy, when i select 1 copy it does not print any thing - not "original - buyers copy " Thanks in Advance