How can I change Posting Date on Sales Invoice form in UI?

Hello,
I cannot change the Posting Date on the Sales Invoice form in UI.
The new date is earlier than the system date, but when I type it on the field on the form, it's not problem!
I've tried to use the following code in vb.NET:
SBO_Application.Forms.Item(pVal.FormUID).Items.Item("10").Specific.value = DocDueDate.ToString("yyyyMMdd")
But I've got an exception: <i>Form - Bad value</i>
Next step I tried this, but I've got a same message:
SBO_Application.Forms.Item(pVal.FormUID).Items.Item("10").Click(SAPbouiCOM.BoCellClickType.ct_Regular)
SBO_Application.SendKeys(DocDueDate.ToString("yyyy.MM.dd"))
Any idea?
THX,
Csaba

Hi Csaba!
please, make sure that you've handled Sales Invoice form - just show the message:
MessageBox.Show(pVal.FormUID)
edDate = SBO_Application.Forms.Item(pVal.FormUID).Items.Item("10").Specific
edDate.value = DocDueDate.ToString("yyyyMMdd")
This has to show you 133. If not then put the IF-statement to check what form you are handling before you try to get the item's handler

Similar Messages

  • How can I change the date format in Reminders and in Notes?

    How can I change the date format in both Notes and Reminders? Preference on Imac and Settings in IOS do not allow me to change the format in those 2 apps.
    I Like to see 10oct rather than 10/10, as an example.

    pierre
    I do not have Mavericks or iOS - but the first thing I would do is reset the defaults - I'll use Mavericks as an example
    From If the wrong date or time is displayed in some apps on your Mac - Apple Support
    OS X Yosemite and Mavericks
        Open System Preferences.
        From the View menu, choose Language & Region.
        Click the Advanced button.
        Click the Dates tab.
        Click the Restore Defaults button.
        Click the Times tab.
        Click the Restore Defaults button.
        Click OK.
        Quit the app where you were seeing incorrect dates or times displayed.
        Open the app again, and verify that the dates and times are now displayed correctly.
    Then customize to taste - OS X Mavericks: Customize formats to display dates, times, and more
    OS X Mavericks: Customize formats to display dates, times, and more
    Change the language and formats used to display dates, times, numbers, and currencies in Finder windows, Mail, and other apps. For example, if the region for your Mac is set to United States, but the format language is set to French, then dates in Finder windows and email messages appear in French.
        Choose Apple menu > System Preferences, then click Language & Region.
        Choose a geographic region from the Region pop-up menu, to use the region’s date, time, number, and currency formats.
        To customize the formats or change the language used to display them, click Advanced, then set options.
        In the General pane, you can choose the language to use for showing dates, times, and numbers, and set formats for numbers, currency, and measurements.
        In the Dates and Times panes, you can type in the Short, Medium, Long, and Full fields, and rearrange or delete elements. You can also drag new elements, such as Quarter or Milliseconds, into the fields.
        When you’re done customizing formats, click OK.
        The region name in Language & Region preferences now includes “Custom” to indicate you customized formats.
    To undo all of your changes for a region, choose the region again from the Region pop-up menu. To undo your changes only to advanced options, click Advanced, click the pane where you want to undo your changes, then click Restore Defaults.
    To change how time is shown in the menu bar, select the “Time format” checkbox in Language & Region preferences, or select the option in Date & Time preferences.
    Here's the result AppleScript i use to grab the " 'Short Date' ' + ' 'Short Time' "  to paste into download filenames - works good until I try to post it here - the colon " : " is a no-no but is fine in the Finder
    Looks like iOS Settings are a bit less robust
    - Date/Time formats are displayed according to 'tradition' of your region > http://help.apple.com/ipad/8/#/iPad245ed123
    buenos tardes
    ÇÇÇ

  • How can i change the date of birth on my account

    how can i change the date of birth on my account

    Hello! Please login here: https://appleid.apple.com/account/manage
    Then go to "Password and security"
    Answer your security questions and the birthdate option will appear.

  • How can i change the date format mm/dd/yyyy to dd/mm/yyyy

    How can i change the date format mm/dd/yyyy to dd/mm/yyyy

    Date, time and currency formats are controlled via Settings > General > International > Region Format - you can't just change the date format

  • How can I change the date "taken" on individual photos in iPhoto?

    How can I change the date "taken" on individual photos in iPhoto? I have some photos that were scanned and the date "taken" info displays the day the picture was scanned as opposed to the date it was actually taken. Is there some way to edit this information?

    In iPhoto '11 on your Mac use the command "Photos > Adjust Date and Time" and enable the "Modify original files" option, if you want to set the date of the originals to the correct date as well.
    Regards
    Léonie

  • How can I change the date on my calendar?

    How can I change the date on my calendar?  For some reason, it thinks today's date is Dec. 31, 1969.

    - Go to settings>General>International and make sure that calendar is set to Gregorian.
    - Go to Settings>General>Date&Time and set the correct time and date. I iOS 5, set it to Automatic.

  • How can I change the date on the top of the screensaver on my iPad air?

    How can I change the date at the top of the screensaver?  It still has the date I purchased it.  I tried the date and time and resetting the ipad.

    What do you mean at the top of the screensaver ? If you mean the wallpaper image that you have as your background, and which also shows on the lock screen, then you can change that image via Settings > Wallpapers & Brightness - did you take a screenshot on the date that you bought your iPad, and that screenshot included the date on it ?
    On my lock screen, if that's what you mean by screensaver, then the date that shows below the time is picked up from Settings > General > Date & Time e.g.

  • How can i change the data from one Time Capsule to another?

    How can i change the data from one Time Capsule to another?

    Do you mean copy it?  If so, see #18 in Time Machine - Frequently Asked Questions  You'll need section 2 there.
    If you mean something else, please clarify.

  • How can i change the title in the system form 'Sales Order Form'

    hai
    how can i change the title in the system form 'Sales Order Form'  and then how can i call this form?

    Hi Sanjoy,
    You find the form property like this :
    SAPbouiCOM.Form oForm = null;
    oForm = SBO_Application.Forms.Item(pVal.FormUID);
    oForm.Title = "New Title";
    Michael

  • How Can I Change Posting Periods using DI

    Hello All,
    How Can I Change Posting Periopds using DI.
    When Connecting to B1 Company DB , I would like to change default Posting Periods.
    My SBO is 2005B.PL41.
    Best Regards,
    TAK

    Hi,
    Please take a look at the CompanyService Object in the DI help file. and check for the UpdateFinancePeriod method.
    Hope it helps,
    Vasu Natari.

  • How can I change my data plan and backdate to beginning of this billing cycle

    How can I change my data plan and backdate to beginning of this billing cycle

        That's a great question GregTho! If you change your plan online, you can select the option to backdate, future date or on demand, (meaning, today). Please let us know if this works.
    Thank you,
    VanessaS_VZW
    Follow us on Twitter @VZWSupport

  • How can i save the data in a jpanel form to a .txt document

    how can i save the data in a jpanel form to a text file using parse function,this should happen when i click a save button .
    please help me..

    each time when i fill the form and click save button ,all the data in the form should be written to a text file and each time when i repeat it should append to the old data in the text file.the elements in the form should be seperated by pipe delimeter.
    thanks for your patience..

  • How can i read the data fromtext fieldsin the form of bytes??

    Hi friends,
    How can i read the data fromtext fieldsin the form of byte string while using Socket connection.
    I have two text fields. i need to send the data from the textfeilds to the server using a byte string.
    Can anyboday help me???
    KK

    Does <cfdbinfo> work for Access DBs?
    You might be better off asking this on a MS Access forum.  It's more of an Access issue than a CF one.
    Adam

  • How can I change the tax formula in system form ?

    Hi,
      Usually the tax is extra-added for 5% in calcaulating.
      But now I need to change the formula of tax to be embeded.
      How can I change the tax formula in system form ?
                                           Besr regard!

    Great!
    I suppose "Speed-button" is the same as "toolbar button", right?
    To all (more or less):
    It confirms that I am on the right track when I bother the participants in this forum time-after-time with remarks to train themselves - or get trained - in application + customization features (+ SDK).
    Of course as developers we can use the SDK for whatever purpose and try to develop additional functionality - ... that might already be there, but we just don't know about it
    In addition the power of customization features (UDFs/UDTs/queries/formatted searches (also bound to fields on SAP Business One forms)...) should not be underestimated!!!
    When starting development with SDK you - or the person who writes the specifications for an Add-On must IMHO be familiar with the application + the customization features + being trained with SDK to avoid unnecessary development or getting into trouble latest when the solution is shipped to a customer...
    Please again note that there's a lot of eLearning available in the education area in the SMB Portal on SAP Service Marketplace.
    Regards,
    Frank

  • How can I change the date of birth on my child's Apple ID?

    HI,
    My son's school have started an initiative where they use iPads as part of their lessons, and subsequently my son has a brand new iPad through the scheme.
    The setup guide that the school supplied directed us to enter the parent's date of birth and the student's name to set up an Apple ID.  However, since setting his iPad up we have become aware of Family Sharing when we setup our old iPad for his younger brother, and the ability to create an Apple ID for a child.  We would obviously like the same level of protection and security for both children, not to mention restricting any accidental purchases!
    Is there any way to change his date of birth from mine to his?  I have read other similar posts with the best solutions apparently to fudge the date of birth so that the child is older than 13 years old.  I would like to do this properly rather than lie about his age...
    Thanks in advance

    You can not change the date of birth on the account. You are explicitly told this when the account is created.
    The ID you created is yours, not your son's. If your son is under 13, then to claim it is your son's ID is to say that you committed a crime when you created it. Create a new account for your son.
    Inform the school that if they are instructing parents to do this because the children are under 13, they are potentially criminally liable. They should know better.

Maybe you are looking for

  • Driver Issue

    I connected my iMac's to a Airport Base. I was able to successfully get the 17" to print through the base but the 20" tells me it has a -9672 error when it tries to connect with Bonjour. I figure the difference is because the 17" is using driver vers

  • Re-order point planning

    Dear Sir, We have configured Re-order point planning. Accordingly we have created the MRP controller and updated the material master (812 materials) with all the values required for re-order point planning. With all these settings, system is not runn

  • Samba Active Directory, Kerberos on Solaris 10

    I have fresh installs of Solaris 10 on Sparc and Intel boxes, with the Software Companion. I have downloaded krb5-1.4 from MIT. My LD_LIBRARY_PATH=/opt/sfw/bin:/usr/sfw/bin:/usr/local/ssl/lib ./configure works OK.. Make generates this error: making a

  • Solution to create scrolling "news" on website which client can update

    Hello all,I'd like to create a news scroller for a client website i am building where they can update the content in a MySQL database and the results get pulled ino the site into a scroller feature that will transition through all the topics listed. 

  • I downloaded reader 11.0.02 in order to edit a pdf file.  The instructions i had were to select tool

    I downloaded reader 11.0.02 in order to edit a pdf file.  The instruction I had were to select "Tools", then click on "Content editing"  When I clicked Tools, "Content editing" was not an option!