banner banner Skip to main content

Posts

Showing posts from October, 2016

Update Stock Master During Sales Transaction

If you want to update stock master at the time of sales transaction then you have to use bellow process. Step 1:- Add UDF in stock master. Which value needs to update. Step 2:- Add UDF in Sales Entry in ALLINVENTORYENTRIES. Step 3:- Write a function on sales form Accept and update the master bellow code will be help you. [#Line: EI ColumnOne] add : option :EI ColumnOne22 :@@issales [!Line: EI ColumnOne22] add : right field : before:VCH QtyTitle:yen [#Line: EI InvInfo] add : option :opSalesorder1x :@@issales [!Line: opSalesorder1x] Add : right field : before:VCH BilledQty:yen2 [field :yen] use : Short Name Field width : 1 inch align : centre skip : yes Setas : "Kacha" [field :yenx] use : Short Name Field width : 1 inch align : centre skip : yes Setas : "Type" [field :yen2] use : amount Field width : 1 inch align : centre Storage:rt1 Set Always: yes [field :yen2a] use : amount Field width : 1 inch align : centre St...

Variables, Buttons and Keys

Variables, Buttons and Keys Introduction   A Variable is a storage location or an entity. It is a value that can change, depending on the conditions or on the information passed to the program. The actions in TDL can be delivered in three ways: by activating a Menu Item, by pressing a Key or by activating a Button . The definitions of both Buttons and Keys are the same, but at the time of deployment, Keys differ from Buttons. Variable In TDL, a Variable is one of the important definitions, since it helps to control the behaviour of Reports and their contents. Variables assume different values during execution and these values affect the behaviour of the Reports. A Variable definition is similar to any other definition.   Syntax [Variable : Variable Name] Attribute : Value A Variable should be given a meaningful name which determines its purpose. Attributes of a Variable The attributes of a Variable determine its nature and behaviour. Some of the widely used a...