Ctrl+Enter and Enter in a Line

Discussion in 'Tally Developer' started by RajbhandariGopal, Dec 8, 2019.

    
  1. RajbhandariGopal

    RajbhandariGopal New Member


    Dear Export

    I have a line of stock item. I want to display stock item master in alter mode when i press Ctrl+Enter. I Also want to display a specific report in alter mode when i press Enter. Second option is working perfectly but first option doesn't work. When I press Ctrl+Enter is displays stock item master in create mode.

    Any solution ? Code is here

    Fields :DZ ItemSrNo, DZ Particular
    Right Field : DZ Brand Name, DZ Group, DZ LastPurCost, DZ LastPurDate, DZ WholeSale Price, +
    DZ MRP Price, DZ DarazPrice, DZ DiffMRP, DZ ClosingQty, DZ QtyInDaraz, DZ Remarks;, DZ RightLine

    Option : AlterOnEnter
    Height : 1.3
    Remove if: (#DZRemarks="" AND ##DZCfgQtyDiff) OR (#DZDiffMRP="" AND ##DZCfgRateDiff)


    Local : Field : Default : Style : Tiny Bold
    Local : Field : Default : Border : Thin Left
    Local : Field : DZ ItemSrNo : Set as : $$Line
    Local : Field : DZ Particular : Set as : $StockItemName
    Local : Field : DZ Brand Name : Set as : $BrandName
    Local : Field : DZ Group : Set as : $Parent
    Local : Field : DZ LastPurCost : Set as : $LastPurcPrice:StockItem:$StockItemName
    Local : Field : DZ LastPurDate : Set as : $LastPurcDate:StockItem:$StockItemName
    Local : Field : DZ WholeSalePrice: Set as : $FullPriceList[Last, $PriceLevel='Wholesale 1'].PriceLevelList[].Rate
    Local : Field : DZ MRP Price : Set as : $FullPriceList[Last, $PriceLevel='Wholesale 2'].PriceLevelList[].Rate
    Local : Field : DZ DarazPrice : Set as : $RateInDaraz
    Local : Field : DZ DiffMRP : Set as : $DiffMrp
    Local : Field : DZ ClosingQty : Set as : $ClosingBalance
    Local : Field : DZ QtyInDaraz : Set as : $QtyInDaraz:StockItem:$StockItemName
    Local : Field : DZ Remarks : Set as : If $QtyInDaraz>$ClosingBalance Then "Change Qty" Else ""


    [Field: DZ Particular]
    Use : Name Field ; DZ Name Field
    Width : 80 mms
    Alter : DarazStkMgmt
    Indent: 1
     


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    alter : stockitem
     


  3. RajbhandariGopal

    RajbhandariGopal New Member


    Dear Amit Sir

    It works for only one report. I am accessing different report " DarazStkMgmt" using this feature.
    But I also want to access stockItem master report in alter mode pressing Ctrl+Enter, same like in stock summery report. In stock summery report if we press Ctrl+Enter we can alter stock item master and if we press Enter we can go monthly summery of the selected stock item.

    Waiting for your suggestion

    Best Regards
    Gopal
     


  4. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    alter : stockitem
    display : DarazStkMgmt
     


Share This Page