20 thoughts on “How to Add Discount Field in Stock Item master”
SIR,
your new lession discount in items running fine .
But it accepts discount in other companies whare Logical Field at Accounting features are Set to ” NO”
My file Names are Disc_main.txt, Item_mast.txt and Config_Discount.txt
However, there are some issues. Even when the Enable Discount Module is set to No, in Accounting Features, it is active in the Item Master. The discounts fed in the item are not saved when we go to edit of the item. Also there is no effect of the discounts saved in the invoice.
Regarding the discounts not saved in the item master, then there is an issue in your codes relating to the storage. So, please check the codes.
at field level if you had added a storage unit name as “Mystorage” then in the [system :udf ] you must define the mystorage : type and index number if you have the mismatch in the name of these two things then it won’t save.
Regarding the config level error, I will check that
Invoice level customisation we have not done yet so there won’t be any effect in the invoice.
A new chapters will be uploaded in the Month of December in this regard
regarding the discounts line are appearing in the in spite of the setting them no in the F11,
Please make a new subfolder in your dropbox give a short name like Disc and the move the 3 files related to the Disc project to that file and then include in the main file and assign that main file only to the Tally.ERP 9 and do let me know if you are still facing the issue.
hi sir,
i have done my stock item master level discount coding
but even if i mention in accounts feature the discount enable is set to NO,
still in the item master, the extra two additional lines are appearing and taking the input
plz look into the matter let me know where i done mistake in code
my files have been saved in the name of
ex1.txt for accounting feature modification
itemmaster.txt for two lines in item master
discmain.txt for combining both
I am not able to seen your project files in the Dropbox.
Please share the name of the Folder
I think your Dropbox folder name is Rajesh Kanna G and I can see only two files in that Folder which is hello.txt and mutlipleline projects.
If the Dropbox Folder name is same then Check if your Dropbox is syncing or not.
You can’t save your code in Tally Mentor’s folder. That is my special folder.
There are sub folders for every student in their names. Your folder name is Rajesh Kanna G.
Please save only in that folder and once you save there. I will review your codes.
Hello Chanchal,
Please organise your code file first project wise and move all files to its folder.Else it will be diffifcult for me to understand which file relates to which project.
Giridharan Varadharajan
Sir.
I have shared the following in my folder.
1.TDL Configuration Screen snap shot Loading the control file CMP Discount Main.txt file
2. snap shot of Accounting Features incorporating Enable Module
3. Snap shot of Stock Item Master incorporating Discount & Extra discount Percentage
Points to be noted is if we give Format:” No zero, Percentage” then in the output percentage is displaying. but if give coding as Format:” No Zero, No Percentage” then % symbol doesn’t appear.
TDS Codes of CMP Enable txt and CMP Item master txt is also shared.
for your kind information
Giridharan Varadharajan
Sir,
Iam Going on Pilgrimage Trip to Shirdi from 10.01.2018 to 16.01.2017.
During this period I will not participate in the Exercise.
For your information sir
This is code.
[#Part:CMP AccFeat Left]
Add:Line:cmpenabledis
;Background:red
[Line:cmpenabledis]
Field:Medium Prompt,cmdis
Local:Field:Medium Prompt:Info:$$LocaleString:”Enable Discount modual?”
Space Top:0.5
[Field:cmdis]
Use:logical field
Storage:dismod
Width:3
Max:3
Table:YesNotable
Show Table: On Error
Key:logical Toggle
;Style:Normal Bolt
Set as:if NOT $IsInvoicingOn then No else $$value
Set Always:Yes
Skip:NOT $IsInvoicingOn
Local: Field: medium prompt: Inactive: Not $IsDiscountModuleEnabled:Company:##SVCurrentCompany
Local: Field: STKI dis_field: Inactive: Not $IsDiscountModuleEnabled:Company:##SVCurrentCompany
[Field: STKI dis_field]
Use:number field
Format:”No Zero, no Percentge”
Color:red
Storage:STKI dis
Skip:No
SIR,
your new lession discount in items running fine .
But it accepts discount in other companies whare Logical Field at Accounting features are Set to ” NO”
My file Names are Disc_main.txt, Item_mast.txt and Config_Discount.txt
Ok, I will check that
I have completed the above project successfully
However, there are some issues. Even when the Enable Discount Module is set to No, in Accounting Features, it is active in the Item Master. The discounts fed in the item are not saved when we go to edit of the item. Also there is no effect of the discounts saved in the invoice.
Hello,
Regarding the discounts not saved in the item master, then there is an issue in your codes relating to the storage. So, please check the codes.
at field level if you had added a storage unit name as “Mystorage” then in the [system :udf ] you must define the mystorage : type and index number if you have the mismatch in the name of these two things then it won’t save.
Regarding the config level error, I will check that
Invoice level customisation we have not done yet so there won’t be any effect in the invoice.
A new chapters will be uploaded in the Month of December in this regard
Hello Mohammed Karjatwala,
regarding the discounts line are appearing in the in spite of the setting them no in the F11,
Please make a new subfolder in your dropbox give a short name like Disc and the move the 3 files related to the Disc project to that file and then include in the main file and assign that main file only to the Tally.ERP 9 and do let me know if you are still facing the issue.
hi sir,
i have done my stock item master level discount coding
but even if i mention in accounts feature the discount enable is set to NO,
still in the item master, the extra two additional lines are appearing and taking the input
plz look into the matter let me know where i done mistake in code
my files have been saved in the name of
ex1.txt for accounting feature modification
itemmaster.txt for two lines in item master
discmain.txt for combining both
Please provide me the TeamViewer Details.
Mr.Rana
Even I too facing the above same problem. I have kept my file in your folder in drop box. Please check.
Thanks
Okay, I will check that.
I am not able to seen your project files in the Dropbox.
Please share the name of the Folder
I think your Dropbox folder name is Rajesh Kanna G and I can see only two files in that Folder which is hello.txt and mutlipleline projects.
If the Dropbox Folder name is same then Check if your Dropbox is syncing or not.
I saved in your folder(tally mentors).File name is discmain.txt
You can’t save your code in Tally Mentor’s folder. That is my special folder.
There are sub folders for every student in their names. Your folder name is Rajesh Kanna G.
Please save only in that folder and once you save there. I will review your codes.
siri also facing same issue….even if in accounting features option is no..these two discount rows are shown in item master
i have save my codes in my dropbox named chanchal verma…plz check
Hello Chanchal,
Please organise your code file first project wise and move all files to its folder.Else it will be diffifcult for me to understand which file relates to which project.
Giridharan Varadharajan
Sir.
I have shared the following in my folder.
1.TDL Configuration Screen snap shot Loading the control file CMP Discount Main.txt file
2. snap shot of Accounting Features incorporating Enable Module
3. Snap shot of Stock Item Master incorporating Discount & Extra discount Percentage
Points to be noted is if we give Format:” No zero, Percentage” then in the output percentage is displaying. but if give coding as Format:” No Zero, No Percentage” then % symbol doesn’t appear.
TDS Codes of CMP Enable txt and CMP Item master txt is also shared.
for your kind information
Giridharan Varadharajan
Sir,
Iam Going on Pilgrimage Trip to Shirdi from 10.01.2018 to 16.01.2017.
During this period I will not participate in the Exercise.
For your information sir
Completed Successfully, Thank you
This is code.
[#Part:CMP AccFeat Left]
Add:Line:cmpenabledis
;Background:red
[Line:cmpenabledis]
Field:Medium Prompt,cmdis
Local:Field:Medium Prompt:Info:$$LocaleString:”Enable Discount modual?”
Space Top:0.5
[Field:cmdis]
Use:logical field
Storage:dismod
Width:3
Max:3
Table:YesNotable
Show Table: On Error
Key:logical Toggle
;Style:Normal Bolt
Set as:if NOT $IsInvoicingOn then No else $$value
Set Always:Yes
Skip:NOT $IsInvoicingOn
[System:UDF]
dismod:Logical:159
[#Part: STKI TaxDetails]
;Background:RED
Add:Line:STKI dis,SKTI extdis
[Line:STKI dis]
Field:Medium Prompt,STKI dis_field
Local:Field:Medium Prompt:Set As:”DISCOUNT(NEW)”
Local: Field: medium prompt: Inactive: Not $IsDiscountModuleEnabled:Company:##SVCurrentCompany
Local: Field: STKI dis_field: Inactive: Not $IsDiscountModuleEnabled:Company:##SVCurrentCompany
[Field: STKI dis_field]
Use:number field
Format:”No Zero, no Percentge”
Color:red
Storage:STKI dis
Skip:No
[Line:SKTI extdis]
Field:Medium Prompt,SKTI extdis_field
Local: Field:Medium Prompt :Set as:”Extra Disc”
Local: Field: medium prompt: Inactive: not $IsDiscountModuleEnabled:Company:##SVCurrentCompany
Local: Field: SKTI extdis_field: Inactive: not $IsDiscountModuleEnabled:Company:##SVCurrentCompany
[Field: SKTI extdis_field]
Use:number field
Format:”No Zero, no Percentge”
Color:red
Storage:SKTI extdis
Skip:No
[System:UDF]
STKI dis:Number:172
SKTI extdis:Number:173
Completed the project successfully. happy with the help receiving and tanks for the timely help from mahendrabhai