Page 1 of 1

JIWA 7 class

PostPosted: Fri Sep 13, 2019 2:40 am
by Riyaz
Hi There

Am trying to find the Jiwa 7 equivalent of the below Jiwa 6 references, can you pls advise and also if there is documentation online to check these

JiwaSalesOrder.SalesOrderHistoryEDIPickStatuses
JiwaSalesOrder.clsSalesOrder
JiwaSalesOrder.SalesOrderReadModes
JiwaSalesOrder.SalesOrderReadModes.e_SalesOrderActualRecord
JiwaSalesOrder.SalesOrderReturnCodes

Re: JIWA 7 class

PostPosted: Sat Sep 14, 2019 9:37 pm
by Riyaz
Hi There

Pls advise on this, really need some guidance here

Re: JIWA 7 class

PostPosted: Sun Sep 15, 2019 9:12 am
by SBarnes
HI Riyaz

Use the link below to install Just Decompile and the open the sales order DLL, you should then be able to find the appropriate namespaces and details of what you are looking for.


https://www.telerik.com/products/decompiler.aspx

Re: JIWA 7 class  Topic is solved

PostPosted: Sun Sep 15, 2019 12:15 pm
by Mike.Sheen
Hi Riyaz,

Stuart has already given you some guidance on how to discover this yourself, but to specifically try and give you some mappings for what you ask:

The JiwaSales.dll assembly is what contains the classes you need.
JiwaSalesOrder.SalesOrderHistoryEDIPickStatuses is now an enumeration of the SalesOrder class (JiwaFinancials.Jiwa.JiwaSales.SalesOrder.SalesOrder.SalesOrderHistoryEDIPickStatuses)

JiwaSalesOrder.clsSalesOrder is now the SalesOrder class (JiwaFinancials.Jiwa.JiwaSales.SalesOrder.SalesOrder)

JiwaSalesOrder.SalesOrderReadModes does not exist any more. Our SalesOrder class inherits from the JiwaFinancials.Jiwa.JiwaApplication.BusinessLogic.Maintenance which implements the JiwaFinancials.Jiwa.JiwaApplication.IJiwaNavigable interface. This interface has the following enumeration:
Code: Select all
Enum ReadModes
        Actual = 0
        Previous = 1
        [Next] = 2
        First = 3
        Last = 4
        None = 5
    End Enum


JiwaSalesOrder.SalesOrderReadModes.e_SalesOrderActualRecord would be now JiwaFinancials.Jiwa.JiwaApplication.IJiwaNavigable.ReadModes.Actual.

JiwaSalesOrder.SalesOrderReturnCodes has no equivalent - we no longer return values from methods like success or failure - we return nothing on success and simply throw exceptions instead of returning a failure code.

Mike

Re: JIWA 7 class

PostPosted: Tue Sep 17, 2019 8:14 pm
by Riyaz
Thanks Stuart and Mike