Hello, we are trying to integrate our Business Central to our local Point Of Sale on server. We are in the planning stage. We selling in LOTS, but in business central we have to assign lot by selecting a line > goto Item Tracking  lines and then assign. 
I am unsure that how could we define a code so that when a sales is added in the local pos, it picks the lot on fifo basis automatically.
Any help would be highly appreciated...