Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Public Function BarCodeInput(ByVal vBarCode As String, ByVal vRootFunctionName As String, ByVal vFamily As String, ByVal vActor As String) As Boolean
  2. Try
  3. Dim lBarCodeStd As String = BarCodeStandarization(vBarCode) ' aki estandarizo el CB (quitar espacios, poner mays, etc...)
  4. .
  5. 'aki llama a la función que toque del TFT_FUNCTION pasando como primer parámetor le CB Standarizado
  6. _WorkItemManager.loadTFunction(String.Format("{0}{1}", vRootFunctionName, lBarCodeStd.Length), vActor, vFamily, lBarCodeStd)
  7. Return True
  8. Catch ex As Exception
  9. MsgBox(String.Format("Source: {0}, Error Num: {1}, Error Desc: {2}", "BarCodeInput", Err.Number, ex.Message))
  10. Return False
  11. End Try
  12. .
  13. .
  14. .
  15. En TFT_FUNCTION he creado dos llamadas a una dll (que de momento me he inventado) con:
  16. * TF_CODE01=TAI, TF_CODE02=BarCodeInput8, TF_NAME01=Functon name:Tratamiento Operarios, etc...
  17. * TF_CODE01=TAI, TF_CODE02=BarCodeInput16, TF_NAME01=Functon name:Functon name:Tratamiento Entidades, e
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement