Best practices

Validate setup early

  • Wish List Setup requires the singleton key SETUP. Leave InsertAllowed = false after the record is created so users cannot add duplicates.

Keep barcode masks unique

  • If you enable barcodes, use a mask that does not collide with existing barcodes; LSC Wish List Logic raises WishListBarcodeExistsErr otherwise.

Subscribe to events

  • Leverage LSC Wish List Events (for example OnWishListLinesConfirmed, OnBeforeWishListLineCreate) to plug in custom business logic without modifying base code.

Monitor error logs

  • Web services write the response code and message to the request log via LSC Web Request Functions. Use this when supporting remote channels.

Control payload size

  • If channels expect more than 100 wish lists, subscribe to OnBeForeGetWishListSetMaxNumberOfLinesToRetrieve and increase MaxNoOfLines carefully to avoid large transfers.

Retention Policy

  • Use Microsoft Retention Policy module to clean up an old Wish List.
  • Add Wish List from the list of available tables and you get a predefined setup. This can be modified at will.