JiwaProcessSO
Posted: Tue Oct 22, 2019 6:16 pm
Hi There
Trying to figure out the Jiwa 7 version of the below Jiwa 6 code, can you pls kindly guide as I can’t find the references accordingly.
Dim SOProcess As New JiwaProcessSO.clsSalesOrderProcess
With SOProcess
.Database = JiwaDatabase
.CommonLib = JiwaLib
.JLib = JiwaLib
If .Setup() <> JiwaProcessSO.SalesOrderProcessReturnCodes.e_SalesOrderProcessReturnCodeSuccess Then
Throw New Exception(.ErrorModule & " - " & .ErrorString)
Else
If .ProcessSalesOrder(_InvoiceID, hwdWrite) <> JiwaProcessSO.SalesOrderProcessReturnCodes.e_SalesOrderProcessReturnCodeSuccess Then
Throw New Exception(.ErrorModule & " - " & .ErrorString)
End If
End If
.CleanUp()
End With
JiwaDatabase.Commit()
Trying to figure out the Jiwa 7 version of the below Jiwa 6 code, can you pls kindly guide as I can’t find the references accordingly.
Dim SOProcess As New JiwaProcessSO.clsSalesOrderProcess
With SOProcess
.Database = JiwaDatabase
.CommonLib = JiwaLib
.JLib = JiwaLib
If .Setup() <> JiwaProcessSO.SalesOrderProcessReturnCodes.e_SalesOrderProcessReturnCodeSuccess Then
Throw New Exception(.ErrorModule & " - " & .ErrorString)
Else
If .ProcessSalesOrder(_InvoiceID, hwdWrite) <> JiwaProcessSO.SalesOrderProcessReturnCodes.e_SalesOrderProcessReturnCodeSuccess Then
Throw New Exception(.ErrorModule & " - " & .ErrorString)
End If
End If
.CleanUp()
End With
JiwaDatabase.Commit()