Tally Chapter 188 TDL for PRINT Batch details in Invoice By Rajiv Mishra Computer Class
Few lines of this code is missing.
Pls Watch the full video to get full coding.
Option : TAXINCLU : @@IsSales Or @@IsPurchase
[!Line : TAXINCLU]
Add : Left Fields : After : EXPINV DescTitle : TAXINC
Local : Field : TAXINC : Info : "Batch"
Local : Field : TAXINC : Width : 4
Local : Field : TAXINC : Align : Center
[#Line: EXPINV InvDetails]
Option : EB EXPINV InvDetails : @@IsSales
[!Line : EB EXPINV InvDetails]
Add : Left Fields : After : EXPINV Desc : TAXINC
[Field : TAXINC]
Use : Simple Field
Align : Right
Set as : $BatchName
Border : Thin Left
Width : 4.5
Skip : YES
Option : TAXINCLUD : @@IsSales
[!Line : TAXINCLUD]
Add : Left Fields : After : EXPINV DescTitle : TAXINCL
Local : Field : TAXINCL : Info : "Exp"
Local : Field : TAXINCL : Width : 4.5
Local : Field : TAXINCL : Align : Center
[#Line: EXPINV InvDetails]
Option : WEB EXPINV InvDetails : @@IsSales
[!Line : WEB EXPINV InvDetails]
Add : Left Fields : After : EXPINV Desc : TAXINCL
[Field : TAXINCL]
Use : Simple Field
Align : Right
Set as : $Expiryperiod
Border : Thin Left
Width : 4.5
Skip : YES
Option : TAXINCLUDE : @@IsSales
[!Line : TAXINCLUDE]
Add : Left Fields : After : EXPINV DescTitle : TAXINCL
Local : Field : TAXINCU : Set As : "Mfg"
Local : Field : TAXINCU : Width : 4
Local : Field : TAXINCU : Align : Center
[#Line: EXPINV InvDetails]
Option : WEBS EXPINV InvDetails : @@IsSales
[!Line : WEBS EXPINV InvDetails]
Add : Left Fields : After : EXPINV Desc : TAXINCU
[Field : TAXINCU]
Use : Simple Field
Align : Right
Set as :$MfDon
Border : Thin Left
Width : 4
Skip : YES
;;-------------- Expity-----------
[#Line: EI ColumnOne]
Option : TlyErp EI ColumnOne : Yes
[#Line: EI ColumnTwo]
Option : TlyErp EI ColumnOne : Yes
[#Line: EI ColumnOneRate]
Option : TlyErp EI ColumnOne : Yes
[!Line : TlyErp EI ColumnOne]
Add : Right Fields : Before : VCH QtyTitle : TlyErp VCH BatchTitle, TlyErp VCH MfgTitle, TlyErp VCH ExpTitle
[Field: TlyErp VCH BatchTitle]
Set as : $$LocaleString:"Batch No"
Style : Small Bold
Align : Centre
;Border : Double Sub Column Titles : If @@IsJobOrdersOn OR @@IsExciseSupplementaryInv Then No Else $DiffActualQty AND NOT @@IsPhysStock AND NOT @@IsStockJrnl
Skip : Yes
Fixed : Yes
;Width : if (@@HasMfgDateSet OR @@IsPhysStock) then 9 else @@VCHBatchNameWidth
Inactive : NOT @@HasBatchWise
[Field: TlyErp VCH MfgTitle]
Set as : $$LocaleString:"Mfg. Date"
Style : Small Bold
Align : Centre
;Border : Double Sub Column Titles : If @@IsJobOrdersOn OR @@IsExciseSupplementaryInv Then No Else $DiffActualQty AND NOT @@IsPhysStock AND NOT @@IsStockJrnl
Skip : Yes
Fixed : Yes
;Width : if (@@HasExpiryDate OR @@IsPhysStock) then 9 else @@VCHBatchNameWidth
Inactive : NOT @@HasBatchWise
[Field: TlyErp VCH ExpTitle]
Set as : $$LocaleString:"Exp. Date"
Style : Small Bold
Align : Centre
;Border : Double Sub Column Titles : If @@IsJobOrdersOn OR @@IsExciseSupplementaryInv Then No Else $DiffActualQty AND NOT @@IsPhysStock AND NOT @@IsStockJrnl
Skip : Yes
Fixed : Yes
;Width : if (@@HasMfgDateSet OR @@IsPhysStock) then 9 else @@VCHBatchNameWidth
Inactive : NOT @@HasBatchWise
;; ------------------------------------------------------------- ;;
[#Line: EI InvInfo]
Option : TlyErp EI InvInfo : @@issales
[#Line: CI InvInfo]
Option : TlyErp EI InvInfo : @@issales
[!Line : TlyErp EI InvInfo]
Add : Right Fields : Before : VCH BilledQty : TlyErp VCH BatchName, TlyErp VCH MfgDate, TlyErp VCH ExpDate
[Field : TlyErp VCH BatchName]
Use : Batch Name Field
Align : Centre
Style : Small
Set as : $BatchName
;Width : if (@@HasMfgDateSet OR @@IsPhysStock) then 9 else @@VCHBatchNameWidth
Inactive : NOT @@HasBatchWise
Color : @@SV_VCHCOLOR
Background : Black
[Field : TlyErp VCH MfgDate]
Use : Short Date Field
Align : Centre
Style : Small
Set as : $MfdOn
;Width : if (@@HasMfgDateSet OR @@IsPhysStock) then 9 else @@VCHBatchNameWidth
Inactive : NOT @@HasBatchWise
Color : @@SV_VCHCOLOR
Background : Black
[Field : TlyErp VCH ExpDate]
Use : Due Date Field
Align : Centre
Style : Small
Set as : $ExpiryPeriod
;Width : if (@@HasMfgDateSet OR @@IsPhysStock) then 9 else @@VCHBatchNameWidth
Inactive : NOT @@HasBatchWise
Color : @@SV_VCHCOLOR
Background : Black
टिप्पणियाँ
एक टिप्पणी भेजें