Dear mike,
thanks for the information.
May I get some sample codes(.NET) for Connectivity and Transactions? so that I can follow to write the code.
Thanks & Regards
Senthilnathan
senthil wrote:Dear mike,
thanks for the information.
May I get some sample codes(.NET) for Connectivity and Transactions? so that I can follow to write the code.
Thanks & Regards
Senthilnathan
senthil wrote:Dear Mike,
I have configurare the JIWA 7 and convert/Rewrite the Existing Vb.net code
i found that some of the methods/properties not available in JIWA 7.is there any way to easily indentify the JIWA 6 method equal to JIWA 7
For Example:
Public jwJiwaSalesOrder As JiwaFinancials.Jiwa.JiwaSales.SalesOrder.SalesOrder
jwJiwaSalesOrder = JiwaApplication.Manager.Instance.BusinessLogicFactory.CreateBusinessLogic(Of JiwaSales.SalesOrder.SalesOrder)(Nothing)
jwJiwaCommonLib.Database = jwDatabase
This method not avaliable
If .PrepareNewOrder(JiwaSalesOrder.NewSalesOrderTypes.e_NewSalesOrder, CurrDebtorID, True) <> JiwaSalesOrder.SalesOrderReturnCodes.e_SalesOrderReturnCodeSuccess Then
end if
may i know alternative method for the "PrepareNewOrder" in JIWA 7?
Thanks & Regards
Senthilnathan
Dim salesOrder As JiwaSales.SalesOrder.SalesOrder = JiwaApplication.Manager.Instance.BusinessLogicFactory.CreateBusinessLogic(Of JiwaSales.SalesOrder.SalesOrder)(Nothing)
salesOrder.CreateNew(JiwaSales.SalesOrder.SalesOrder.NewSalesOrderTypes.e_NewSalesOrder, "1001", False)
Dim lkey As String = ""
salesOrder.SalesOrderLines.AddInventoryItem("1170", JiwaSales.SalesOrder.SalesOrderLineCollection.SalesOrderLineInventorySeedTypes.e_SalesOrderLinePartNo, lkey)
salesOrder.SalesOrderLines(lkey).QuantityOrdered = 5
salesOrder.Save()
Console.WriteLine(String.Format("New Invoice No. is : {0}", salesOrder.InvoiceNo))
JiwaApplication.Manager.Instance.LogOff()
senthil wrote:Hi Mike,
Thanks for the information.
when I am Create New Sales Order and i am getting following Error message .I have verified in JIWA the Part No,Account No already exist.
Error
This inventory item does not have an 'Ship on Completion' ledger account attached
after i set as DebotSeedIsID as false I am getting Different Error
.CreateNew(SalesOrder.NewSalesOrderTypes.e_NewSalesOrder, CurrDebtorID, False)
Error - Debtor with Account No. of 'F7AFB8440AC8482F8559' not found. Last SQL :
kindly advice.
Thanks & Regards
Senthilnathan
Dim _PaymentTypes As New JiwaFinancials.Jiwa.JiwaSales.SalesOrder.PaymentTypeCollection
_PaymentTypes.Read()
Dim objPayment As New JiwaFinancials.Jiwa.JiwaSales.SalesOrder.Payment
With objPayment
.AmountPaid = Convert.ToDecimal(PaymentAmount)
TotalPaid = TotalPaid + PaymentAmount
.PaymentDate = InterfaceDT
.PaymentRef = PaymentRef
.BankName = "ROS"
.PaymentType = _PaymentTypes(1)
.ProcessPayment = True
End With
Return to Technical / Programming
Users browsing this forum: No registered users and 0 guests