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
- _catalogId
Type: CatalogRefRecId Extended Data Type
The catalog id of the listings affected.
- _endDateTime
Type: date
The new end time for these listings.
- _tmpListingsToKeep
Type: RetailTmpListingToKeep Table
The temp table that holds the list of modified 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.