LOGICAL FILED

Discussion in 'Free Source Codes' started by DEEPAK B, Jan 22, 2023.

    
  1. DEEPAK B

    DEEPAK B Member


    Hi

    Below is the code in the sales part I just want to that if the logical field is "Yes" then it should go to 1 number as shown in the image else if "No" then it should cursor should go to 2 number

    Code:
    [Part:VchGstno]
        Line        : Logical OptGst, Vchlineinfo
        Border        : Thin Bottom
        Background    : Light Orange
       
    [Line:Logical OptGst]
        Field: Medium Prompt,OptGst
        Local: Field : Medium Prompt: Info: "Do you want to Search GSTIN"
        Local: Field : Medium Prompt: Width: 25
        [Field: OptGst]
            Use            : Logical Field
            Set always  : Yes
            Color        : @@ColorCond
            Set as      : No
     

    Attached Files:



  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    use SKIP with condition.........
     


  3. DEEPAK B

    DEEPAK B Member


    Sir I am not able to find what condition code
    I know its a single line function but I am not able to do it can you help
     


  4. Rohit Khedar

    Rohit Khedar Member


    Use in GSTIN Field
    Skip : If #OptGst = No Then yes else No
     
    DEEPAK B likes this.


  5. DEEPAK B

    DEEPAK B Member


    Thanks Rohit Bhai Its done my Program is ready now to operate and I have completed my work I would like to thanks to all the Guru's specially Amit Sir, Bipin Sir, Sattam Sir, Rohit Sir,

    Once again thanks
     
    SURAJ PRAJAPATI likes this.


  6. dinesh2005

    dinesh2005 New Member


    hello amit sir,
    pls help me in last sold item price for particular ledger not showing in tally prime while sales invoice ,

    below tdl working in tally erp 9 but in tally prime not working pls help to correct code

    ;;;;;; Stock Query Button While selecting Item master ;;;;;

    [#Field: VCHACC StockItem]
    Option : VCHACC StockItemSales : @@IsSales
    [!Field : VCHACC StockItemSales]
    ; On : Focus : Yes : Display : Item Stock Query
    On : Accept : Yes : Display : Item Stock Query ;;ItemVchStockQuery ;
    On : Accept : Yes : Field Accept

    [#Field: VCHINV StockItem]
    ;Option : VCHACC StockItemSalesINV : @@IsSales
    On : Accept : Yes : Display : Item Stock Query ;;ItemVchStockQuery ;;
    On : Accept : Yes : Field Accept
    [!Field : VCHACC StockItemSalesINV]
    ;On : Focus : Yes : Display : Item Stock Query
    On : Accept : Yes : Display : Item Stock Query ;;ItemVchStockQuery ;;
    On : Accept : Yes : Field Accept


    [#Form: Item Stock Query]
    Delete : Parts : STQ Names, STQ Item Details, STQ Item Narration, STQ Item Description
    Delete : Parts : STQ StatInfo
    Delete : Part : STQ ExtraInfo
    Local : Part : STQ PurcSales Info : delete : Part : STQ PurcInfo
     


  7. SURAJ PRAJAPATI

    SURAJ PRAJAPATI New Member


    sir please provide this code not for sales
     


  8. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Instead of Display : Item Stock Query ....

    Just REPLICATE the whole of Form:Item stock Query with your own name, keep all the variable and parameters the same and just simply use the PART that you need.
     


  9. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Also instead of Displaying the whole FORM ...just add a FIELD in the Sales Voucher Entry screen and bring forth the Last Sale Price of that Ledger for that StockItem.

    This already covered in a separate thread recently.... search and find it.
     


Share This Page