JIWA 7 class  Topic is solved

Discussions relating to plugin development, and the Jiwa API.

JIWA 7 class

Postby Riyaz » Fri Sep 13, 2019 2:40 am

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
Riyaz
Kohai
Kohai
 
Posts: 233
Joined: Wed Dec 02, 2015 2:05 pm
Topics Solved: 2

Re: JIWA 7 class

Postby Riyaz » Sat Sep 14, 2019 9:37 pm

Hi There

Pls advise on this, really need some guidance here
Riyaz
Kohai
Kohai
 
Posts: 233
Joined: Wed Dec 02, 2015 2:05 pm
Topics Solved: 2

Re: JIWA 7 class

Postby SBarnes » Sun Sep 15, 2019 9:12 am

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
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1617
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 175

Re: JIWA 7 class  Topic is solved

Postby Mike.Sheen » Sun Sep 15, 2019 12:15 pm

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
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2440
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 755

Re: JIWA 7 class

Postby Riyaz » Tue Sep 17, 2019 8:14 pm

Thanks Stuart and Mike
Riyaz
Kohai
Kohai
 
Posts: 233
Joined: Wed Dec 02, 2015 2:05 pm
Topics Solved: 2


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 3 guests

cron