This code facilitates to link employee photograph to EMPLOYEE MASTER, the same can be fetched to PAY SLIP and EMPLOYEE PROFILE, both onscreen and prints. Button is created (F5) in PAY SLIP and EMPLOYEE PROFILE to display and hide photograph as per users requirements. Detailed screen captures are here, enjoy, thanks & regards to all - cks
i have down loaded the text and pasted in the folder. and its added in the local tdl but an error is shown . pls help
Sir, Same can we do for Sundry Debtors/Sundry Creditors ? If possible, Please provide code. Thanks in Advance
Hi Mr. Santhosh C Kurian, I want to attache image in Sales order voucher and also it's printout. I was Add a new field for image path in inventory level of the sales order voucher I can't get the image in print out please help me
HI SIR I HAVE PROBLEM WITH THIS TDL I AM USING TALLY ERP 9.1.1 ERROR. ATRIBUTE PeRIBUistent IS NOT VALID FOR VARIABLE KINDLY HELP ME MAKE CORRECTION PLZ THANKS
[*Part: Employee ParentInfo] Delete:Lines Left Part:InfoPart Right Part:StfImgPart [Part:InfoPart] Lines : Employee DisplayName, Employee Parent, Employee GrandParent, Employee ForPayroll, + Employee IsEmployeeGroup, Employee DateofJoin, PhotoLine Line : Employee Define Salary, Employee DeactivationDate, Employee ReasonsForLeaving Local : Field : Short Prompt : Width : @@NameWidth + 2 SpaceRight : 0.5 [LinehotoLine] Field:Short Prompt, StaffPhoto Local: Field: Short Prompt: Info:$$LocaleString:"Link Photograph:" Space Bottom: 0.25 [Field:StaffPhoto] Use:Name Field Storage:StaffPhoto [System:UDF] StaffPhoto:String:1020 [Part:StfImgPart] Line:StfImgLine Image:Staff Width: 20% Screen Height: 20% Screen Horizontal Alignment : Top Vertical:No [Resource: Staff] Source: $StaffPhoto Resource Type: Jpeg [Line:StfImgLine] Field:StfImgFld [Field:StfImgFld] Set as:"" ;;========================================================================================;; ;;Following Code is to add a button to show and hide photograph (variable definitions) - Krishna Kishore [#Form: Payslip] Add:ButtonhotoButton [KeyhotoButton] Key:F5 Action:Set:Show Photo:If ##ShowPhoto = "Display Photo" Then "Hide Photo" Else "Display Photo" Title:If ##ShowPhoto = "Display Photo" Then "Hide Photo" Else "Display Photo" [Variable:Show Photo] Type:String Persistent:Yes [System:Variable] Show Photoisplay Photo ;;==========================================================================================;; ;;Following Code is to fetch employee photograph in pay slip + ;; with an option to show and hide photograph both on screen and in print mode - Krishna Kishore [*Part: Payslip Emp Dtls] Optionayslip Emp Dtls With Photo:##ShowPhoto = "Display Photo" Optionayslip Emp Dtls Without Photo:##ShowPhoto = "Hide Photo" [!Partayslip Emp Dtls With Photo] Partsayslip Left Emp Dtls , Payslip Right Emp Dtls, EmpPhotoPart Localartayslip Left Emp Dtls:Width:40% Screen Localartayslip Right Emp Dtls:Width:40% Screen Synchronize:$$InPrintMode [!Partayslip Emp Dtls Without Photo] Partayslip Left Emp Dtls , Payslip Right Emp Dtls,Empty [Part:EmpPhotoPart] Line:EmpPhotoLine Space Left:0 Image:EmpPhoto Width: 20% Screen Height: 10% Screen Horizontal Alignment : Right Vertical:No [Resource: EmpPhoto] Source: $StaffPhoto:CostCentre:##CostCentreName Resource Type: Jpeg [Line:EmpPhotoLine] Field:EmpPhotoFld [Field:EmpPhotoFld] Type:String Set as:"" ;;======================================================================================;; ;;Following Code is to add hide/show button to Single Employee Profile + ;; along with to fetch photograph of the employee - Krishna Kishore [#Form: Single Employee Details] Add:ButtonhotoButton Addart:AfterSP AccTitlesrfPhtPart [PartrfPhtPart] Part:Empty, EmpPhotoPart, Empty Localart:Empty:Width:40% Screen Invisible:##ShowPhoto = "Hide Photo" ;;=========================================================================================;; ;;End of File