HELP NEEDED - LAST DISCOUNT TDL - LAST DISCOUNT % IS NOT FETCHING

Discussion in 'Free Source Codes' started by tejeet, Sep 5, 2019.

    
  1. tejeet

    tejeet Member


    DEAR SIR,

    HELP NEEDED - I HAVE DEVELOP LAST DISCOUNT TDL , BUT I AM NOT ABLE TO FETCH LAST DISCOUNT DURING SALES ENTRY, SO PLEASE RECTIFY / CORRECT MY CODES , SO THAT PARTY LAST DISCOUNT IS FETCHED DURING SALES ENTRY, MY CODES ARE AS FOLLOWS : -


    ;=========Last discount during the Sales Entry===============;

    [#Form:stock summary]

    [#Field: SSBatchName]

    [#Form:comprehensive invoice]

    [#Field: VCH rate]
    Sub Form:ItemlastSale1C

    [#Field:VCHBATCH rate]
    Sub Form:ItemlastSale1C

    [Report: Itemlastsale1c]
    Form: Itemlastsale1c

    [Form: ItemlastSale1c]
    No Confirm: yes
    Part: ItemlastSale1C

    [Part: Itemlastsale1c]
    Line: Itemlastsale1c

    [Line: Item last Sale1c]
    Field: Itemselect1c, Priceratefield1c

    [Field: Itemselect1c]
    Use:Name Field
    Set as:"Last Party Discount :"
    Color:Blue
    Style:Times New Roman
    Skip:Yes

    [Field:priceratefield1c]
    Use:disc% Field
    Set as:$Lastdiscount:StockItem:$StockItemName ( MISTAKE - NOT FETCHING VALUE )
    Width:15
    Style:Normal Bold Italic
    Set always : Yes
    Type: Rate
     

    Attached Files:

    ONKAR likes this.


  2. ONKAR

    ONKAR Active Member


    @tejeet try this, maybe work for you,

    [Field:priceratefield1]
    Use: Rate Price Field
    Set as:$LastDiscPrice:StockItem:$StockItemName
    Width:15
    Style:Normal Bold Italic
    Set always : Yes
    Format : "Symbol,Forex"
    Type: Rate
     


  3. ONKAR

    ONKAR Active Member


    or try this,

    [Field:priceratefield1]
    Use: Amount Forex Field
    Set as:$LastDiscount:StockItem:$StockItemName
    Width:15
    Style:Normal Bold Italic
    Set always : Yes
    Format : "Symbol,Forex"
    Type: Rate
     


  4. tejeet

    tejeet Member


    sorry sir, your both suggestion is not working , party last discount with that respective item is not fetching , it is not fetching discount % which we have offered their is mistake in following 2 lines , so please correct -

    Use: disc% Price Field ( please correct it should be disc % column from sales )
    Set as:$LastDiscPrice:StockItem:$StockItemName ( please correct it should be last disc % for stock item with respective to party )
     


Share This Page