Created
October 30, 2019 19:47
-
-
Save xavierzwirtz/3975e4a071696bbf72329c3abb74eb74 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -r 7df128438c47 BirdDogFrameworkLayer/BirdDogSoftware.FrameWork/Connectors/Connectors/ServiceProConnector.vb | |
--- a/BirdDogFrameworkLayer/BirdDogSoftware.FrameWork/Connectors/Connectors/ServiceProConnector.vb Mon Oct 28 16:45:24 2019 -0500 | |
+++ b/BirdDogFrameworkLayer/BirdDogSoftware.FrameWork/Connectors/Connectors/ServiceProConnector.vb Wed Oct 30 14:46:46 2019 -0500 | |
@@ -2429,12 +2429,13 @@ | |
ElseIf inspectionId.HasValue Then | |
Dim inspectionItemNo = lineData.Item("ItemNumber").ToObject(Of String) | |
- Return Tuple.Create(Choice.Choice2(Of Integer, String)(inspectionItemNo), IItem.ServiceProTypes.Inspection) | |
+ If ItemNoExists(inspectionItemNo) Then | |
+ Return Tuple.Create(Choice.Choice2(Of Integer, String)(inspectionItemNo), IItem.ServiceProTypes.Inspection) | |
+ End If | |
ElseIf serviceTechId.HasValue Then | |
Return Tuple.Create(Choice.Choice1(Of Integer, String)(serviceTechId.Value), IItem.ServiceProTypes.ServiceTech) | |
- Else | |
- Return Nothing | |
End If | |
+ Return Nothing | |
End Function)() | |
If id_itemNo Is Nothing Then |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment