RetailListing::removeUnpublishedListings Method

When the catalog is republished will call this method to set the end date of previously published listings to the new start date of the catalog.

Syntax

client server public static void removeUnpublishedListings(
    CatalogRefRecId _catalogId, 
    date _endDateTime, 
    RetailTmpListingToKeep _tmpListingsToKeep, 
    RetailTmpPreAction _preactionTable)

Run On

Called

Parameters

  • _endDateTime
    Type: date
    The new end time for these listings.
  • _preactionTable
    Type: RetailTmpPreAction Table
    The temp table that holds the list of replication actions that will be processed by the caller.

Remarks

When the user republishes a catalog, we want to have the previous listed products expire before new listings get in effect.

See Also

Reference

RetailListing Table