Search This Blog

Wednesday, 12 July 2023

Print Batch Mfg Date Expiry Date

 [#Field: default]

Add : Tooltip : $$DescName


[#Collection: Sales VoucherDetails]

Use : Print Config Tmpl

Add : Object: After : SAWithBatches:BatchNoline,MfgDateLine,ExpiryDateine


[Object: BatchNoline]

Use : Vch Output Configuration

Name : $$LocaleString:"Print Batch/Lot No."

Value : ##BatchNoline

Action : ConfigAction : Set : BatchNoline : NOT ##BatchNoline


[Object: MfgDateLine]

Use : Vch Output Configuration

Name : $$LocaleString:"Print Mfg Date"

Value : ##MfgDateLine

Action : ConfigAction : Set : MfgDateLine : NOT ##MfgDateLine


[Object: ExpiryDateine]

Use : Vch Output Configuration

Name : $$LocaleString:"Print Expiry Date"

Value : ##ExpiryDateine

Action : ConfigAction : Set : ExpiryDateine : NOT ##ExpiryDateine


[Variable: BatchNoline]

Persistent : Yes

Type : Logical

Default : No


[Variable: MfgDateLine]

Persistent : Yes

Type : Logical

Default : No


[Variable: ExpiryDateine]

Persistent : Yes

Type : Logical

Default : No


[System:UDF]

BatchNoline : Logical : 1001

MfgDateLine : Logical : 1002

ExpiryDateine : Logical : 1003


[System: Variables]

BatchNoline : No

MfgDateLine : No

ExpiryDateine : No


[#Line: EXPINV Column1]

Add : Right Fields : Before : EXPINV QtyTitle : BatchTitleFld4,MfgTitleFld4,ExpTitleFld4

Local : Field : BatchTitleFld4 : Use : Name Field

Local : Field : BatchTitleFld4 : Set as : "Batch No"

Local : Field : BatchTitleFld4 : Align : Center

Local : Field : BatchTitleFld4 : Border : Thin Left Right

Local : Field : MfgTitleFld4 : Use : Name Field

Local : Field : MfgTitleFld4 : Set as : "Mfg Date"

Local : Field : MfgTitleFld4 : Align : Center

Local : Field : MfgTitleFld4 : Border : Thin Left Right

Local : Field : ExpTitleFld4 : Use : Name Field

Local : Field : ExpTitleFld4 : Set as : "Expiry Date"

Local : Field : ExpTitleFld4 : Align : Center

Local : Field : ExpTitleFld4 : Border : Thin Left Right


[#Line: EXPINV InvDetails]

Add : Right Fields : Before : EXPINV Qty : BatchTitleFld4,MfgTitleFld4,ExpTitleFld4

Local : Field : BatchTitleFld4 : Use : Name Field

Local : Field : BatchTitleFld4 : Set as : $BatchName

Local : Field : MfgTitleFld4 : Use : Name Field

Local : Field : MfgTitleFld4 : Set as : $MfdOn

Local : Field : ExpTitleFld4 : Use : Name Field

Local : Field : ExpTitleFld4 : Set as : $ExpiryPeriod


[#Line: EXPINV AccDetails]

Add : Right Fields : Before : EXPINV AccQty : BatchTitleFld3,MfgTitleFld3,ExpTitleFld3

Local : Field : Default : Delete : Border

Local : Field : BatchTitleFld3 : Invisible : NOT (@@IsSales OR @@IsCreditNote OR @@IsDelNote)

Local : Field : BatchTitleFld3 : Width : 5.5

Local : Field : MfgTitleFld3 : Invisible : NOT (@@IsSales OR @@IsCreditNote OR @@IsDelNote)

Local : Field : MfgTitleFld3 : Width : 5.5

Local : Field : ExpTitleFld3 : Invisible : NOT (@@IsSales OR @@IsCreditNote OR @@IsDelNote)

Local : Field : ExpTitleFld3 : Width : 5.5


[Field:BatchTitleFld3]

Width : 5.5

Border : Thin Left Right


[Field:MfgTitleFld3]

Width : 5.5

Border : Thin Left Right


[Field:ExpTitleFld3]

Width : 5.5

Border : Thin Left Right


[Field:BatchTitleFld4]

Width : 5.5

Invisible : NOT ##BatchNolineVar OR NOT (@@IsSales OR @@IsCreditNote OR @@IsDelNote)

Border : Thin Left Right


[Field:MfgTitleFld4]

Width : 5.5

Invisible : NOT ##MfgDateLineVar OR NOT (@@IsSales OR @@IsCreditNote OR @@IsDelNote)

Border : Thin Left Right


[Field:ExpTitleFld4]

Width : 5.5

Invisible : NOT ##ExpiryDateineVar OR NOT (@@IsSales OR @@IsCreditNote OR @@IsDelNote)

Border : Thin Left Right


[#Line: EXPINV Totals]

Add : Right Fields : Before : EXPINV ActualQtyTotal : BatchTitleFld4,MfgTitleFld4,ExpTitleFld4

No comments:

Post a Comment

Voucher Authorisation

 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Alt + F12  Authorisation Button Re...