Emaze Auction: Fees for Seller-Created Lots
DELETE FROM Fee WHERE lotID = #lotCount#
The fees for the following lot IDs were deleted:
#Form.deleteFeeLotID#
You did not check the checkbox to verify your delete request. Please back up, check the checkbox, and re-submit the form.
UPDATE Fee
SET insertionFee = 0,#Form.insertionFee#,
boldFee = 0,#Form.boldFee#,
featuredCategoryFee = 0,#Form.featuredCategoryFee#,
featuredHomepageFee = 0,#Form.featuredHomepageFee#,
commissionFee = 0,#Form.commissionFee#,
insertionFeePaidDateTime = NULL,#CreateODBCDateTime(CreateDateTime(Form.insertionFeePaidDateTimeYYYY, Form.insertionFeePaidDateTimeMM, Form.insertionFeePaidDateTimeDD, 12, 00, 00))#,
commissionFeePaidDateTime = NULL,#CreateODBCDateTime(CreateDateTime(Form.commissionFeePaidDateTimeYYYY, Form.commissionFeePaidDateTimeMM, Form.commissionFeePaidDateTimeDD, 12, 00, 00))#,
insertionFeeInvoicedDateTime = NULL,#CreateODBCDateTime(CreateDateTime(Form.insertionFeeInvoicedDateTimeYYYY, Form.insertionFeeInvoicedDateTimeMM, Form.insertionFeeInvoicedDateTimeDD, 12, 00, 00))#,
commissionFeeInvoicedDateTime = NULL#CreateODBCDateTime(CreateDateTime(Form.commissionFeeInvoicedDateTimeYYYY, Form.commissionFeeInvoicedDateTimeMM, Form.commissionFeeInvoicedDateTimeDD, 12, 00, 00))#
WHERE lotID = #Form.lotID#
The fee for lot #Form.lotID# and seller #Form.username# has been updated.
SELECT Fee.lotID, Fee.commissionFee, Lot.lotCloseQueue, Bid.bidPrice, Bid.bidQuantityWin
FROM (Bid INNER JOIN Lot ON Bid.lotID = Lot.lotID) INNER JOIN Fee ON Bid.lotID = Fee.lotID
WHERE (Fee.commissionFeeFinal <> 1 OR Fee.commissionFeeFinal IS NULL) AND Bid.bidWin = 1
ORDER BY Fee.lotID
SELECT Fee.lotID, Fee.commissionFee, Buy.buyPrice, Buy.buyQuantity, Lot.lotCloseQueue,
Fee.insertionFee, Fee.boldFee, Fee.featuredCategoryFee, Fee.featuredHomepageFee
FROM (Buy INNER JOIN Lot ON Buy.lotID = Lot.lotID) INNER JOIN Fee ON Buy.lotID = Fee.lotID
WHERE Fee.commissionFeeFinal <> 1 OR Fee.commissionFeeFinal IS NULL
Seller-Created Lot Fees
Order by: name (+)
name (-)
name (+)
name (-)
name (+)
name (-)
name (+)
name (-)
open time (+)
open time (-)
close time (+)
close time (-)
time created (+)
time created (-)
Seller
Insertion
Commission
Lot Name
Lot Opens
Lot Closes
Lot Created (ID)
SELECT Fee.lotID, Fee.lotName, Fee.insertionFee, Fee.boldFee, Fee.featuredCategoryFee, Fee.featuredHomepageFee,
Fee.commissionFee, Fee.commissionFeeFinal, Member.firstName, Member.lastName, Member.email, Member.username,
Fee.insertionFeePaidDateTime, Fee.commissionFeePaidDateTime, Fee.lotType
FROM Fee INNER JOIN Member ON Fee.userID = Member.userID
WHERE Fee.commissionFeeFinal = 0 OR Fee.commissionFeeFinal IS NULL
ORDER BY #order#
There are no open seller-created lots with fees at this time.
SELECT Member.userID, Member.username, Member.firstName, Member.lastName, Member.email,
Sum(Fee.insertionFee) AS SumOfInsertionFees, Sum(Fee.boldFee) AS SumOfBoldFees,
Sum(Fee.featuredCategoryFee) AS SumOfFeaturedCategoryFees,
Sum(Fee.featuredHomepageFee) AS SumOfFeaturedHomepageFees,
Sum(Fee.commissionFee) AS SumOfCommissionFees
FROM Member INNER JOIN Fee ON Member.userID = Fee.userID
GROUP BY Member.userID, Member.firstName, Member.lastName, Member.email, Member.username
ORDER BY Member.lastName, Member.firstName