Загрузка...

Tally TDL: Validate Sales Rate Against Purchase Price with Warning Message Custom Control in Voucher

Learn how to create a custom TDL (Tally Definition Language) control that automatically checks if the sales rate entered in a voucher is below a threshold based on the last purchase price of the stock item.

In this video, we:

Create a custom control field for VCH Rate and VCHBATCH Rate.

Use $$IsSales, $$VchRate, and $LastPurcPrice to conditionally apply validation.

Show an error message if the rate is lower than 5% above the last purchase price.

📌 Useful for businesses that want to avoid selling below cost or minimum profit margin.

✅ Topics Covered:

TDL Control Field

System Formula in TDL

Rate Validation in Tally

Custom Sales Checks

💡 Ideal for TDL developers and business users wanting to enhance internal control in Tally ERP.

FREE CODE :-

[#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)

#tallytdl #tdltutorial #tdlcustomization #salesratevalidation #tdlcontrolfield #tallycustomization #tdlratecheck #tallyvouchercheck #purchasepricecheck #tallydeveloper #tallyerp #tdltraining #tallytips #vouchercontrol #tdlcode

Видео Tally TDL: Validate Sales Rate Against Purchase Price with Warning Message Custom Control in Voucher канала ANURAG TIWARI
Страницу в закладки Мои закладки
Все заметки Новая заметка Страницу в заметки