This topic contains 2 replies, has 0 voices, and was last updated by kshaffer 7 years, 9 months ago.

  • Author
    Posts
  • #4978

    kshaffer

    I need to create a search that will default the quantity available on drop ship items to 50 but leave everything else alone. In the Channel Advisor system I accomplish it with SELECTCASE(($dropshipitem =”T”),”50″, $CallForPrice = “T”,”0″,$quantity). I am trying to recreate that in Netsuite. I tried CASE WHEN {isdropshipitem}=T THEN โ€˜50โ€™ WHEN {custitem_call_for_price}=T THEN null ELSE {quantityavailable} END. This does not work. Does anyone have any suggestions on what else I try? Thanks much!
    This is a cached copy. Click here to see the original post.

  • #4979

    michoel

    You need to surround the string literals with quotation marks –

    Code:
    CASE WHEN {isdropshipitem} = ‘T’ THEN ’50’ WHEN {custitem_call_for_price} = ‘T’ THEN NULL ELSE {quantityavailable} END

  • #4980

    kshaffer

    Thank you, I will give this a try! Much appreciated.

You must be logged in to reply to this topic.