Codeunit 18090660 EOS049 Promo Management
Codeunit 18090660 EOS049 Promo Management
Methods
CalculateTotalDiscount
procedure CalculateTotalDiscount("Discount 1": Decimal; "Discount 2": Decimal; "Discount 3": Decimal) TotalDiscount: Decimal
Parameters / Return Value
- Discount 1 - Decimal
- Discount 2 - Decimal
- Discount 3 - Decimal
- Returns - Decimal
CreateSalesDiscount
procedure CreateSalesDiscount(var PromoHeader: Record "EOS049 Promo Header")
Parameters / Return Value
- PromoHeader Record "EOS049 Promo Header"
CheckPromoHeader
procedure CheckPromoHeader(var PromoHeader: Record "EOS049 Promo Header"): Boolean
Parameters / Return Value
- PromoHeader - Record "EOS049 Promo Header"
- Returns - Boolean
InsertSalesDiscLineItem
procedure InsertSalesDiscLineItem(var PromoLine: Record "EOS049 Promo Line"; var SalesDiscHeader: Record "EOS049 Sales Disc. Header"; LineNo: Integer; DiscountValue: Decimal; PromotionNo: Code[20])
Parameters / Return Value
- PromoLine - Record "EOS049 Promo Line"
- SalesDiscHeader - Record "EOS049 Sales Disc. Header"
- LineNo - Integer
- DiscountValue - Decimal
- PromotionNo - Code[20]
ExplodeProductCluster
procedure ExplodeProductCluster(var PromoHeader: Record "EOS049 Promo Header")
Parameters / Return Value
- PromoHeader Record "EOS049 Promo Header"
UpdateDescription
procedure UpdateDescription(var PromoHeader: Record "EOS049 Promo Header")
Parameters / Return Value
- PromoHeader Record "EOS049 Promo Header"
CopyPromo
procedure CopyPromo(var PromoHeader: Record "EOS049 Promo Header")
Parameters / Return Value
- PromoHeader Record "EOS049 Promo Header"
ShowPromoPriceItemToSelectFromCustomers
procedure ShowPromoPriceItemToSelectFromCustomers(CustomerFilter: Text; StartingDate: Date; var TempPromoDiscLineItemToSel: Record "EOS049 Promo D. Line Item Sel" temporary; var PromoHeader: Record "EOS049 Promo Header")
Parameters / Return Value
- CustomerFilter - Text[]
- StartingDate - Date
- TempPromoDiscLineItemToSel - Record "EOS049 Promo D. Line Item Sel"
- PromoHeader - Record "EOS049 Promo Header"
GetPromoPriceItemFromCustomers
procedure GetPromoPriceItemFromCustomers(var TempPromoDiscLineItemToSel: Record "EOS049 Promo D. Line Item Sel" temporary; CustomerFilter: Text; var SalesPriceHeaderList: Text; StartingDate: Date; ShowMode: Option All,OnlyUsable)
Parameters / Return Value
- TempPromoDiscLineItemToSel - Record "EOS049 Promo D. Line Item Sel"
- CustomerFilter - Text[]
- SalesPriceHeaderList - Text[]
- StartingDate - Date
- ShowMode - Option- All(0) ,- OnlyUsable(1)
CalcDeltaMonths
procedure CalcDeltaMonths(StartingDate: Date; EndingDate: Date) Months: Integer
Parameters / Return Value
- StartingDate - Date
- EndingDate - Date
- Returns - Integer
OnDeletePromotionGroup
procedure OnDeletePromotionGroup(PromotionGroup: Record "EOS049 Promotion Group")
Parameters / Return Value
- PromotionGroup Record "EOS049 Promotion Group"
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.