Hello Everyone I tried to Display Bank Date in Voucher when we are in display mode but not getting. Please check & reply Thanks [#Part : VCHTitle2Right] Add : Line : After : VCH WeekDay : VkBankDate [Line : VkBankDate] Right Field : VkBankDate Invisible : (@@IsPurchase Or @@IsSales Or @@IsDebitnote or @@IsCreditnote OR @@Isjournal or @@IsSaleorder or @@Ispurchaseorder) [Field : VkBankDate] Fields : Short Prompt, Simple Field Local : Field : Short Prompt : Info : $$localestring:"Bank Date " Local : Field : Short Prompt : Color : Black Local : Field : Short Prompt : Width : 10 Local : Field : Short Prompt : Invisible : $$InCreateMode Local : Field : Simple Field : Use : Short Date Field Local : Field : Simple Field : Type : Date : Forced Local : Field : Simple Field : Set as : If $$InCreateMode OR $$InDuplicateMode Then "" Else $BankersDate Local : Field : Simple Field : Set Always : Yes Local : Field : Simple Field : Width : 10 Local : Field : Simple Field : Invisible : $$InCreateMode Local : Field : Simple Field : Align : Left Local : Field : Simple Field : Skip : Yes Local : Field : Simple Field : Style : Normal Bold Local : Field : Simple Field : Background : White Color : Blue
Try this. Local : Field : Simple Field :Set As : IF Not $$IsEmpty$AllLedgerEntries[-1].BankAllocations.BankersDate) THEN + ($AllLedgerEntries[-1].BankAllocations.BankersDate) ELSE ($AllLedgerEntries[1].BankAllocations.BankersDate)