onCreatePallets uses validation on the productionform before fetching all into a associtive array