This topic contains 3 replies, has 0 voices, and was last updated by darrenhillconsulting 6 years, 10 months ago.

  • Author
    Posts
  • #18168

    darrenhillconsulting

    So, a bit of an odd one, but sounds simple. In a nutshell, I want to set the Lot Number on new Item Fulfillments to the ‘first’ available Lot Number. That’s it?

    Any ideas? Can I do a getField, and grab the value of the first option and use it to setValue?
    This is a cached copy. Click here to see the original post.

  • #18169

    MChammaTX

    Not sure exactly about using the select options but you can run a search on lot numbers within the item, and get the lowest internal id that has inventory. I’ve done something similar before to get the first expiring lot.

  • #18170

    Olivier Gagnon NC

    Yeah I am pretty sure that’s the only way you can do it. You’ll need to execute a search and pick out however you define the “first” Lot Number to be.

  • #18171

    darrenhillconsulting

    Fair enough gents. Thanks!!

You must be logged in to reply to this topic.