How to Deactivate Stock Item from Tally.ERP 9, How to Hide Stock Item from Tally.ERP 9, Free TDL
How to Deactivate Stock Item from Tally.ERP 9, How to Hide Stock Item from Tally.ERP 9, Free TDL
How to Disable / De-activate Stock Item from List at the time of Entry
(Free Tally.ERP9 and Tally Prime TDL)
There is a situation sometimes you cannot delete Stock Item which is already used in the voucher from Tally.ERP 9 or Tally Prime software and you want to remove that Stock Item from the list so that it is not wrongly selected during entry.
Or there is a situation where some old items that are discontinued now those you can Disable / De-activate from the List at the time of new Transaction.
And there comes the need to Disable or De-activate that stock item from the list. The below code will help you in doing so.
We will show you both with or without customization.
To view the benefits of this customization.
Go to Gateway of Tally > Voucher > Sales.
As you can see below Screenshot you can see 4 GB Pendrive Item in the List,
Now as 4 GB Pendrive Item is no more in the deal so We have to Disable or De-activate that stock item from the list.
Now after applying this customization you will get an option to Disable or De-activate that stock item in the Item alteration screen as per the below screenshot.
After Disable or De-activate that stock item let's check by making a new transaction,
As per the below screenshot you can see now we are not getting those Disable or De-activated stock items in the list at the time of Sales Entry,
You can also get a separate report for a list of Disabled or De-activated stock items list as per the below Screenshot from the Gateway of Tally.
To Configure the TDL file :
Step 1. Download TDL file,
Step 2. Open your Tally.ERP9 Software And Press F12 on your keyboard,
Step 3. Go to Product and Features,
Step 4. Press F4 to manage local tdl
Step 5. Provide Full Path of the TDL file with Name and Extension,
Note: Files extensions which can be attached to Tally.ERP9 software are .tcp , .tdl, .txt
Step 6. If you see tdl loaded on the below screen it means you have successfully attached the code.
Step 7. Open your company in which you want to disable or de-activate Stock Item.
Step 8. At Gateway of Tally Screen ( Main Screen after opening Tally.ERP9 Software). Go to Inventory Info.
Step 9. Select Stock Item then select Alter then from the drop-down list select the stock item which you want to disable/de-activate.
Step 10. You will find one new option "De-Activate this Stock Item ?" turn that option to YES and your stock item will get disabled from Tally.ERP9 software.
Note:- By doing this you are only hiding the stock item from the list but it will be there in your Tally.
Actual Tally Data & all the data related to it will still be there in the main Data folder.
To Actually delete that stock item from your Tally Data you will need to delete all the vouchers related to that stock item which you want to delete or Edit those voucher and select different Item in place of that stock item and then Tally.ERP9 software will allow you to delete that Stock Item.
Code :
[#Menu: Gateway of Tally]
Add: Key Item: "De-Activated Item Report" :D : Display: Turn off StockItem List
[Report : Turn off StockItem List]
Form : Turn off Item
Family : $$Translate:"Turn- off Stock Item List"
[Form : Turn off Item]
Use : DSP Template
Part : Turn off Item
Height : 100% Screen
Width : 100% Screen
Delete : Bottom Button
Delete : Button
Local : Button : DSPAutoColumns : Inactive : Yes
Local : Button : ReportConfig : Inactive : Yes
Local : Button : FilterButton : Inactive : Yes
Local : Button : ValueButton : Inactive : Yes
Local : Button : RelReports : Inactive : Yes
Local : Button : Inv Reports : Inactive : Yes
Local : Button : Acct Reports : Inactive : Yes
[Part : Turn off Item]
Part : Turn off Item Title,Turn off Item Name
Vertical : Yes
Border : Thin Box
[Part : Turn off Item Title]
Line : Turn off Item Title
[Line : Turn off Item Title]
Field : Turn off Item SNo,Turn off Item Name,Turn off Item Group,Turn off date,Turn off Item Reason
Local : Field : Default : Align : Centre
Local : Field : Default : Style : Normal Bold
Local : Field : Turn off Item SNo : Set as : "S.No"
Local : Field : Turn off Item Name : Set as : "Turn- off Stock Item List"
Local : Field : Turn off Item Reason : Set as : "Reasons"
Local : Field : Turn off date : Set as :"Turn- off Date"
Local : Field : Turn off Item Group: Set as : "Under Group"
Border : Thin Bottom
[Part : Turn off Item Name]
;;Height : 95% Screen
Line : Turn off Item Name
Repeat : Turn off Item Name : NSTurn offItem
Scroll : Vertical
CommonBorder : Yes
Float : No
[Line : Turn off Item Name]
Field : Turn off Item SNo,Turn off Item Name,Turn off Item Group,Turn off date,Turn off Item Reason
Option : Alter on Enter
[Field : Turn off Item SNo]
Use : Name Field
Set as : $$Line
Style : Normal
Width : 10% Screen
Align : Centre
Border : Thin Right
[Field : Turn off Item Name]
Use : Name Field
Set as : $Name
Width : 30% Screen
Align : Left
Style : Normal
Alter : StockItem
Variable : StockItemName
Border : Thin Right
[Field : Turn off Item Reason]
Use : Name Field
Set as : $NDAReason:StockItem:$StockItemName
Width : 20% Screen
Align : Left
Space Left : 1% Screen
Style : Normal Italic
[Field: Turn off date]
Use : Name Field
Set as : $NSSActDate:StockItem:$StockItemName
Width : 20% Screen
Align : right
Space Left : 1% Screen
Style : Normal Italic
Border : Thin Right
[Field : Turn off Item Group]
Use : Name Field
Set as : $Parent:StockItem:$StockItemName
Width : 20% Screen
Align : Centre
Space Left : 1% Screen
Style : Normal
Border : Thin Right
[Collection : NSTurn offItem]
Type : StockItem
Fetch : Name
Filter : NSSFilter1
[#Part: STKI Desc]
Add : Lines : NDeact
[Line : NDeact]
Fields : Medium Prompt, NActive, Simple Field, NActDate, NDAReason
Local : Field : Medium Prompt : Info : $$LocaleString:"Do you want Turn- off ?:"
Local : Field : Simple Field : Info : " On : "
Local : Field : Color : Red
Local : Field : Simple Field : Skip : Yes
Invisible : Not $$IsCmpOwner
[Field : NActive]
Use : Logical Field
Storage : NSSActive
Set Always : Yes
[Field : NActDate]
Use : Uni Date Field
Storage : NSSActDate
Set as: if $NSSActive="yes" then $$value else ""
Set Always : Yes
SkipOn : NOT $NSSActive
[Field : NDAReason]
Use : Voucher Narration Field
Storage : NDAReason
Set as: if $NSSActive="yes" then $$value else ""
Set Always : Yes
SkipOn : NOT $NSSActive
[System : Formula]
NSSFilter : $NSSActive:StockItem:$Name = "No"
NSSFilter1 : Not $NSSActive:StockItem:$Name = "No"
[#Collection : Vch Stock Item Extract]
Filter : NSSFilter
[System : UDF]
NSSActive : Logical : 901
NSSActDate : Date : 902
NDAReason : String : 903
;;End of the Code
Comments
Post a Comment