{QuantityDiscount} {ValueDiscount}
#IF(#COUNT(#Shop.PriceLists)==0)

{Notification}

{CreatePriceListsInfo}
{CreatePriceListsLink}
#ENDIF #IF(#FormError)

{InputError}

#IF(#FormErrors.Reason.INTERVAL_EXISTS)

{IntervalExists}

#ELSE

{PleaseCorrectErrors}

#ENDIF
#ENDIF #IF(#DELETE)

{AcceptAction}

#ENDIF
#IF(#COUNT(#Shop.PriceLists)!=0)
#IF(#DEFINED(#PriceQuantity) AND #PriceQuantity != 1) #ENDIF

{ListPrice} #IF(#Shop.InputTaxModel)({Gross})#ELSE({Net})#ENDIF

#LOOP(#Shop.Currencies) #LOCAL("CurPrice", #FORMAT(#FUNCTION("LISTPRICE", #Object, #CurrencyID, #Shop.InputTaxModel, 1),"money")) #IF(#CurPrice) #ENDIF #ENDLOCAL #ENDLOOP
#CurPrice

{Pricequantity}

#PriceQuantity[float] #OrderUnit.NameOrAlias
#IF(NOT #SuperProduct OR #HasSubOwnPrices)
#IF(#DELETE) #LOOP(#DeleteQuantities) #ENDLOOP #ENDIF

#LOCAL("Product", #Object) #LOOP(#SelectedPriceLists) #ENDLOOP #IF(#COUNT(#SelectedPriceLists)==1) #ELSIF(NOT #DEFINED(#SelectedPriceLists)) #ENDIF #IF(#DELETE) #LOOP(#DeleteQuantities) #LOOP(#PriceInfos) #ENDLOOP #IF((#COUNT(#PriceInfos)) == 1) #ENDIF #ENDLOOP #ELSE #LOOP(#PriceInfoQuantities) #LOOP(#PriceInfos) #WITH_ERROR(#FormError AND (#DEFINED(#FormErrors.Form.SaveQuantityPrices))) #ENDWITH_ERROR #ENDLOOP #IF(#COUNT(#PriceInfos)==1) #ELSIF(#COUNT(#PriceInfos) EQ "") #ENDIF #ENDLOOP ="1")class="NewEntry" #ENDIF#ENDIF> #WITH_ERROR(#FormError AND (#DEFINED(#FormErrors.Form.SaveQuantityPrices))) #ENDWITH_ERROR #LOOP(#SelectedPriceLists) #WITH_ERROR(#FormError AND (#DEFINED(#FormErrors.Form.SaveQuantityPrices))) #ENDWITH_ERROR #ENDLOOP #IF(#COUNT(#SelectedPriceLists)==1) #ELSIF(NOT #DEFINED(#SelectedPriceLists)) #ENDIF #ENDIF
{Quantity}
#IF(#IsEffective) #ELSE #ENDIF (#Currency.Symbol)
{Bulkprices} {Discount} {Bulkprices} {Discount}
#Quantity[float] #OrderUnit.NameOrAlias #Currency.Symbol %
#Quantity[float] #OrderUnit.NameOrAlias #Currency.Symbol %
#IF(#COUNT(#SelectedPriceLists)>="1") #OrderUnit.NameOrAlias #ENDIF #Currency.Symbol % {NoListSelected}{NoListSelected} {NoListSelected}
#ENDLOCAL
#IF(#DELETE) #ELSE #IF(NOT #SuperProduct OR #HasSubOwnPrices) #IF(#COUNT(#PriceInfoQuantities)) #ENDIF #ENDIF #ENDIF

{Marker} {ExplainHasQuantityPrices}

#ENDIF #ENDIF #IF(#COUNT(#Shop.PriceLists)!=0 AND (NOT #SuperProduct OR #HasSubOwnPrices))

#IF(#DELETE) #ENDIF #IF(#COUNT(#Shop.PriceLists)!=0) #IF(NOT #SuperProduct OR #HasSubOwnPrices) #LOCAL("Product", #Object) #LOOP(#SelectedPriceLists)#IF(#ItemNo==0) #ENDIF#ENDLOOP #IF(NOT #DEFINED(#SelectedPriceLists)) #ENDIF #LOOP(#SelectedPriceLists) #IF(#ItemNo == 0) #IF(#DELETE) #LOOP(#DeleteObjects) #ENDLOOP #ELSE #LOOP(#ValueDiscounts) #WITH_ERROR(#FormError AND #DEFINED(#FormErrors.Form.SaveValueDiscounts)) #ENDWITH_ERROR #ENDLOOP #WITH_ERROR(#FormError AND #DEFINED(#FormErrors.Form.SaveValueDiscounts)) #ENDWITH_ERROR #ENDIF #ENDIF #ENDLOOP #IF(NOT #DEFINED(#SelectedPriceLists)) #ENDIF
{Value}
#IF(#IsEffective) #ELSE #ENDIF (#Currency.Symbol)
{Discount}
#Value[money] %
#Value[money] %
#Currency.Symbol %
{NoListSelected}
#ENDLOCAL #ENDIF
#IF(#DELETE) #ELSE #IF(NOT #SuperProduct OR #HasSubOwnPrices) #IF(#COUNT(#ValueDiscounts)) #ENDIF #ENDIF #ENDIF

{Marker} {ExplainHasValueDiscounts}

#ENDIF
#ENDIF
#IF(NOT #DELETE AND NOT #INPUT.PopUp AND #FUNCTION("MENU_COUNT", "RelatedTopic") > 0)

{RelatedTopics}

#ENDIF #IF(#INPUT.PopUp)
#ENDIF #IF(NOT #SuperProduct OR #HasSubOwnPrices) #ENDIF