Dear All, I had Done the below code for controlling the Sales Price of Item not Less than Purchase Price with Profit Percentage (i.e 5% Profit) Here it is.... [#Field: VCH Rate] Option: VCH Rate1: $$IsSales:##SVVoucherType [!Field: VCH Rate1] Control : Msg1$$IsEmpty:$$VchRate OR $MSG2) [#Field: VCHBATCH Rate] Option: VCHBATCH Rate1: $$IsSales:##SVVoucherType [!Field: VCHBATCH Rate1] Control: Msg1$$IsEmpty:$$VchRate OR $MSG2) [System : Formula] MSG1: "Below price" MSG2:$$VchRate:<= ((($$Number:$LastPurcPrice:StockItem:$StockItemName * 5) / 100) + ($$Number:$LastPurcPrice:StockItem:$StockItemName))
Niraj u first learn TDL, after u come to this forum and start comment, another dont comment like this, u r fully unknown TDL programming.....
hello brother it is not hes foal t i think he is copy past the code when copy the code from this page it will make foaltin this line will converted to smiles instead of brackets Control : Msg1$$IsEmpty:$$VchRate OR $MSG2)
boss ...it will work only with some Items and Profit Ratio will be same bill cant Genarate above percentage Level..the price will be as per percentage ..
Hi everybody, This is an altered code from TDLExperts, I don't rember who made it, The item list shows Stock Quantity, Last Sale Price and MRP of the product . I hope he will forgive me ....
[#Field: VCH Rate] Option: VCH Rate1: $$IsSales:##SVVoucherType [!Field: VCH Rate1] Control : Msg1$$IsEmpty:$$VchRate OR $MSG2) [#Field: VCHBATCH Rate] Option: VCHBATCH Rate1: $$IsSales:##SVVoucherType [!Field: VCHBATCH Rate1] Control: Msg1$$IsEmpty:$$VchRate OR $MSG2) [System : Formula] MSG1: "Low Price" + $$NewLine+""+ $$NewLine+" Please Enter Correct Rate !!!" MSG2:$$VchRate:<= ($$Number:$LastPurcPrice:StockItem:$StockItemName /(1-0.05))
sir i am not expert, just changed the calculation only. Mr.Raju posted as markup calculation. Normally we are calculating profit from sale price (Markdown Basis).