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 [Fieldriceratefield1c] Use:disc% Field Set as:$Lastdiscount:StockItem:$StockItemName ( MISTAKE - NOT FETCHING VALUE ) Width:15 Style:Normal Bold Italic Set always : Yes Type: Rate
@tejeet try this, maybe work for you, [Fieldriceratefield1] Use: Rate Price Field Set as:$LastDiscPrice:StockItem:$StockItemName Width:15 Style:Normal Bold Italic Set always : Yes Format : "Symbol,Forex" Type: Rate
or try this, [Fieldriceratefield1] Use: Amount Forex Field Set as:$LastDiscount:StockItem:$StockItemName Width:15 Style:Normal Bold Italic Set always : Yes Format : "Symbol,Forex" Type: Rate
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 )