Skip to Content
author's profile photo Former Member
Former Member

Sybase Generated code input

Hi Guys,

I am developing iPad application in which I am using sybase as middle ware between SAP back end and my iPad.

I created MBO in which I am passing some input values lets say purchase order number and based on that I am getting details of that purchase order.

I took generated code from unwired server to my XCode project .

But at this stage I do not understand where should I give input in generated code?

What does [projectname_projectnameDB subscribe] do?

According to me above line checks all the generated code..right?

Can anyone solve my issue?

Thanks,

Snehal Mehta

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 20, 2011 at 10:51 PM

    So you'll have to look at the personalization keys. Are these parameters mapped to a personalization key in the MBO definition? If so something like projectname_PersonalizationParameters:

    Here is a little snippet for taking some user input:

    projectName_PersonalizationParameters *pp = nil;

    pp = [ projectName_ projectNameDB getPersonalizationParameters];

    pp.username = @"**********";

    pp.password = @"**********";

    [pp save];

    while([projectName_ projectNameDB hasPendingOperations])

    {

    [NSThread sleepForTimeInterval:1];

    }

    How you get from the interface to here is a different story, but this is an example of how to deal with user input in the objective-c code.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.