This function return the warehouse for the defined arguments
WareHouseRule(ItemCode,DocType,WhsCode,FromWhsCode,CardCode,PrjCode,QCId)
Return
Rule (true/false)
WhsCode
BinCode
ProductionLine