[#Line : VoucherTypeName]
Add : Field : InvisibleVoucherTypeName
[Field: InvisibleVoucherTypeName]
Set As : #VoucherTypeName
Set Always : Yes
Invisible : Yes
;; Multi voucher printing report
[#Report: Multi Voucher Print]
Local : Collection : MSpecific Vouchers of Company : Filter : IsOfSelectedVchNo
Variable : VoucherNumberFrom,VoucherNumberTo
[#Part: MVP Print Common]
Add : Lines : After : SVToDate : VoucherNoFrom, VoucherNoTo
LOCAL: Field: VoucherTypeName : Set as :"SALES"
[Line : VoucherNoFrom]
Field : Medium Prompt,VoucherNoFrom
Local : Field : MediumPrompt :Info : "Voucher No.FromZero For All)"
Local : Field : MediumPrompt :Inactive : Not @@DisplayfromTo
[Field : VoucherNoFrom]
Use : NAME FIELD;Number Field
Modifies : VoucherNumberFrom
Inactive : Not @@DisplayfromTo
[Line : VoucherNoTo]
Field : MediumPrompt,VoucherNoTo
Local : Field : MediumPrompt :Info : "Voucher No.ToZero For All)"
Local : Field : MediumPrompt :Inactive : Not @@DisplayfromTo
[Field :VoucherNoTo]
Use : NAME FIELD;Number Field
Modifies : VoucherNumberTo
Set always : Yes
Inactive : Not @@DisplayfromTo
[System : Variable]
VoucherNumberFrom : 0
VoucherNumberTo : 0
[Variable : VoucherNumberFrom]
Type : String;NUMBER
volatile : Yes
[Variable :VoucherNumberTo]
Type : STRING;Number
Volatile : Yes
[System :Formula]
IsOfSelectedVchNo : If(@@AutoVchNumbering OR @@ManualVchNumbering) and (##VoucherNumberTo > 0)+
Then ($$IsSysName:##SVVoucherType OR $VoucherTypeName = ##SVVoucherType) +
AND ($$Number:$VoucherNumber >= $$Number:##VoucherNumberFrom +
AND $$Number:$VoucherNumber <=$$Number:##VoucherNumberTo)Else+
If (@@AutoVchNumberingOne OR @@ManualVchNumbering) and (##VoucherNumberTo = 0) Then+
$$IsSysName:##SVVoucherType OR $VoucherTypeName = ##SVVoucherType Else+
$$IsSysName:##SVVoucherType OR $VoucherTypeName = ##SVVoucherType
AutoVchNumberingOne : $NumberingMethod:VoucherType:#InvisibleVoucherTypeName = $$SysName:Automatic
DisplayfromTo : @@AutoVchNumberingOne OR @@ManualVchNumbering
ManualVchNumbering : $$IsSysNameEqual:Manual:$NumberingMethod:VoucherType:##SVVoucherType
;[#Form: Multi Vch Print]
; Delete: Option:MInvoice
; Add : Option: MMc MULTI Invoice : $$IsSales:$Vouchertypename ;;; AND $$Vouchertypename Contains "SALES"
;[!Form: MMc MULTI Invoice]
; Use: MMC INVOICE
/*
Delete: Options
; Delete: Parts
; Delete: Bottom Parts
Add : Parts : InvTit,mmTop,InvNo, mmBody ;;,MMBottom
Add : Bottom Parts : MMBottom
Height : 100% Page
Width : 100% Page
Space Top : 0
Space Bottom: 0
Space Right: 1
Page Break: dsp clpage break,mmcoppagebreak
Local: Part:dsp clpage break : Height: 4
*/
No comments:
Post a Comment