POS Customer Receipt Receipt

hhhhhhhqat
Member Posts: 111
HI ..
i want some kindly help to customise a unction to print in POS receipt footer as the following :
1- specific items if Net Amount ( item 1 + item 2 = 100) the customer will get notice in the receipt to get coupon .
2- if net amount is 200 will get two coupon
So our mechanism: for every 100 from this two items , the customer will be entitled for 1 coupon printed on the receipt.
we already defined in item table fix value in one filed .
Urgent HELP pls..
Thanks
i want some kindly help to customise a unction to print in POS receipt footer as the following :
1- specific items if Net Amount ( item 1 + item 2 = 100) the customer will get notice in the receipt to get coupon .
2- if net amount is 200 will get two coupon
So our mechanism: for every 100 from this two items , the customer will be entitled for 1 coupon printed on the receipt.
we already defined in item table fix value in one filed .
Urgent HELP pls..
Thanks
0
Comments
-
So our mechanism: for every 100 from this two items , the customer will be entitled for 1 coupon printed on the receipt.
I hope you are using LS Retail.
You can configure the above scenario thru offers.Define particular items(1,2,3) under mix & match offer
Create item,link coupon data entry type to the item.Add this item also in offer.
Define amount based offer for the same.System will pop up the coupon(item) automatically while billing.
i hope this will solve your problem.Regards,
S.V.Sudhakar0 -
thanks for your reply .. but it seems not successfuly proccessed ...
i folllow the same but nothing come in screen0 -
can i have code to be printed in Receipt footer.0
-
i folllow the same but nothing come in screen
are you functional consultant/developer or end user ?can i have code to be printed in Receipt footer.
Can write code in "OPOS Print Utility" code unit.
I dont have ready made code available with me.Regards,
S.V.Sudhakar0 -
Hi
i am Using Nav 4.0 ... i am function consultant .. i know some codine .. i try to add the code in printing footer function .
if you can help me
thanks0 -
closed0
-
hhhhhhhqatclosed
Could you explain us how the issue got closed.
could you tell us what is the work around/solution for this ???Regards,
S.V.Sudhakar0 -
in Codeunit : POS print Utility
//////////////////////////////////////////////////////////////////////////////////////////////////////////
we add to function ( printsalesinfo) the following Code :
MarkCoupItem :='';
IF NOT SalesEntry."Return No Sale" THEN BEGIN
IF TempItem.GET(SalesEntry."Item No.") THEN BEGIN
TempItem.SETFILTER(TempItem."No.",SalesEntry."Item No.") ;
IF TempItem."Vendor No." IN THEN BEGIN
TempSaleAmt4Coupon :=TempSaleAmt4Coupon + SalesLineAmount;
MarkCoupItem :='*';
END;
CLEAR(TempItem);
END;
END;
then, in function (printpayminfo) we add the following code :
TempIntCoupon := ABS(TempSaleAmt4Coupon) DIV 50;
IF TempIntCoupan>0 THEN BEGIN
DSTR1 := '#L################# #R############### ';
Value[1] := Text150;
Value[2] := FORMAT(TempIntCoupon);
PrintLine(Tray,TCoupFormatLine(FormatStr(Value,DSTR1),FALSE,TRUE,FALSE,TRUE));
Value[1] := Text151;
Value[2] := FORMAT(FORMAT(ABS(TempSaleAmt4Coupon)));
PrintLine(Tray,TCoupFormatLine(FormatStr(Value,DSTR1),FALSE,TRUE,FALSE,TRUE));
PrintSeperator(Tray);
END;
//////////////////////////////////////////////////////////////////////////////////////////////////////////0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions