Upload of Payable options fails in warning

Extract of log:
Message not found. Application: AZ, Message Name: AZW_FWK_USER_ROW_EXCEPTION. Tokens: VONAME = System Parameters; KEY = Set Of Books Name = 'AAA-PRIMARY LEDGER (MUR)'
Org Name = 'AAA Property BBB Limited (OU)'
; EXCEPTION = You will not be able to change <WhenToAccountPmt> or <ReconAccountingFlag> after the system records any accounting information for new transactions.
I am unable to load the payable options.

Redownloaded the XML from source instance and upload on target.
Warning message :
Message not found. Application: AZ, Message Name: AZW_FWK_USER_ROW_EXCEPTION. Tokens: VONAME = System Parameters; KEY = Set Of Books Id = 'null'
Org Id = 'null'
; EXCEPTION = The <SetOfBooksName> is a required Payables Option.
One look at the XML file AP_PayablesOption_1.xml shows that there is no tag <SetOfBooksName> but <SetOfBooksName1> exists.
Is there a patch to solve this problem ?
Thanks
PS : Disregard... I was using a wrong instance of the source.... The problem EXCEPTION = You will not be able to change <WhenToAccountPmt> or <ReconAccountingFlag> after the system records any accounting information for new transactions.
still persist
Edited by: Brian CLY on Sep 7, 2009 12:13 PM

Similar Messages

  • COncurrent process fails with warning for OPP

    Concurrent process generates xml output (version 5.6.2) .
    When it tries to publish it , the log suggests checking out the OPP log.
    The OPP log has a series of java entries for the request, including one of the type
    Caused by: oracle.xdo.parser.v2.XPathException: Expected 'QNAME' instead of ''.
    header of the OPP log says
    Resolution History
    18-OCT-06 20:36:05 GMT
    Can you easily recover from, bypass or work around the problem? = NO
    Does your system or application continue normally after the problem occurs? =
    YES
    Are the standard features of the system or application still available; is the
    loss of service minor? = YES
    ### Informational Only:Warning Presented to Customer ###
    You chose 'Other technical issues with this product' from the Type of Problem
    list. This is a generic Service Request form which will require additional time
    to be routed appropriately. You may be able to expedite the resolution of your
    Service Request by doing the following: 1. Use your browser’s back button to
    return to the Create a SR – Brief Description page. 2. Select an option from
    the Type of Problem list that more closely describes the problem.
    ### Requested files:ACT(Note 183274.1),RDA (Note 175853.1). Files to be loaded.
    None
    ### Detailed Problem Statement ###
    Concurrent process for XML Publisher fails with warning. Cannot see Diagnostics
    --> XML output completely. Only first page visible. Buttons and Menu items
    disabled not allowing to view the whole XML file to troubleshoot for
    correct/incorrect tags.
    Attached are OPP Manager log file, Screen shot of 'Preview' output jjst before
    submitting request. Also log file of failed concurrent request which contains
    standard error " See OPP Service log file for more".
    ### Steps to Reproduce Problem ###
    Registered a concurrent process with XML template , and running the process
    from Receivables Manager responsibility.
    Ran concurrent process for 1) Standard RAXINV report , with output method as
    'XML'. 2) Customised RAXINV report, with output method as 'XML'
    ### Instance Name(s) and Type of System(s) Where Error Occurs ###
    Lunix, 11.5.10 on 10g
    ### Recent Changes to this Environment ###
    None
    ### Workarounds Used ###
    None
    ### How is this Issue Impacting Your Business ###
    Business is readying for CRP3, so would like to have reports ready by then.
    Contact me via : MetaLink
    18-OCT-06 20:48:07 GMT
    The customer : [email protected] : has uploaded the following file via MetaLink:
    C:\Documents_and_Settings\broy\BareEscentuals\Reports\Errors\XML_Pub1.bmp
    18-OCT-06 20:49:14 GMT
    The customer : [email protected] : has uploaded the following file via MetaLink:
    C:\Documents_and_Settings\broy\BareEscentuals\Reports\Errors\XMLPublisher_java.t
    xt
    18-OCT-06 21:17:26 GMT
    Hi Bashobi,
    Thank you for using MetaLink. We are currently reviewing/researching the situation and will update the SR as soon as we have relevant information
    Best Regards,
    Bill
    Oracle Support Services
    STATUS
    =======
    @WIP -- Work In Progress
    18-OCT-06 21:18:04 GMT
    Email Update button has been pressed: Sending email to [email protected].
    18-OCT-06 21:21:45 GMT
    ISSUE CLARIFICATION
    ====================
    On 11.5.10.2 in Production:
    Find concurrent process for XML Publisher fails with warning. Cannot see Diagnostics
    --> XML output completely. Only first page visible. Buttons and Menu items
    disabled not allowing to view the whole XML file to troubleshoot for
    correct/incorrect tags.
    EXPECTED BEHAVIOR
    Expect the processes run successfully
    STEPS
    The issue can be reproduced at will with the following steps:
    1. Registered a concurrent process with XML template .
    2. Run the process from Receivables Manager responsibility.
    3. Ran concurrent process for
    1) Standard RAXINV report , with output method as 'XML'
    2) Customised RAXINV report, with output method as 'XML'
    BUSINESS IMPACT
    The issue has the following business impact:
    Business is readying for CRP3, so would like to have reports ready by then.
    ACTION PLAN
    ============
    Hi Bashobi,
    1. Can you reproduce the issue from sysadmin responsibility with Active users report? if yes
    please upload OPP log file after reproduce it and upload the request log file.
    Thanks.
    18-OCT-06 23:09:02 GMT
    New info : [email protected] : Did the same as suggested, Request
    completes successfully.
    But what is the relation between Active Users report and a report sent via XML
    Publisher?
    19-OCT-06 15:54:26 GMT
    ACTION PLAN
    ============
    Hi Bashobi,
    1. When you reproduce the issue from sysadmin responsibility with Active users report change the format out put to XML,
    Save your change:
    2. Upload OPP manager log file and upload the request log file.
    Thanks,
    Bill.
    19-OCT-06 15:54:33 GMT
    Email Update button has been pressed: Sending email to [email protected].
    19-OCT-06 16:42:23 GMT
    New info : [email protected] : Bill,
    No, I could not reproduce the problem with Active Users program.
    Attaching OPP manager log in the next update. Bashobi
    19-OCT-06 17:05:07 GMT
    New info : [email protected] : Bill, Attaching internal log and manager
    log
    Bashobi
    19-OCT-06 17:06:08 GMT
    The customer : [email protected] : has uploaded the following file via MetaLink:
    C:\Documents_and_Settings\broy\BareEscentuals\Reports\Errors\OPP_internal_log.tx
    t
    19-OCT-06 17:07:10 GMT
    The customer : [email protected] : has uploaded the following file via MetaLink:
    C:\Documents_and_Settings\broy\BareEscentuals\Reports\Errors\OPP_manager_log.txt
    19-OCT-06 18:14:32 GMT
    UPDATE
    =======
    Hi Bashobi,
    Thank you for providing the requested information.
    Best Regards,
    Bill
    STATUS
    =======
    @WIP -- Work In Progress
    19-OCT-06 18:14:36 GMT
    Email Update button has been pressed: Sending email to [email protected].
    19-OCT-06 18:59:25 GMT
    DATA COLLECTED
    ===============
    SCREEN SHOTS
    XML_Pub1.bmp:
    Error:
    Jave.sql SQL Exception No corresponding LOB data found: select File_data_dbms_lob...........
    LOG FILE
    1. XMLPublisher_java.txt:
    [10/18/06 11:16:57 AM] [5670:RT277479] Completed post-processing actions for request 277479.
    [10/18/06 11:29:06 AM] [OPPServiceThread1] Post-processing request 277488.
    [10/18/06 11:29:06 AM] [5670:RT277488] Executing post-processing actions for request 2
    77488.
    [10/18/06 11:29:06 AM] [5670:RT277488] Starting XML Publisher post-processing action.
    [10/18/06 11:29:06 AM] [5670:RT277488]
    Template code: XXBE_TEST_INV
    Template app: AR
    Language: en
    Territory: US
    Output type: null
    [10/18/06 11:29:07 AM] [UNEXPECTED] [5670:RT277488] java.lang.reflect.InvocationTarg
    etException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    10/18/06 11:29:07 AM] [5670:RT277488] Completed post-processing actions for reque
    st 277488.
    2. OPP_manager_log.txt:
    [10/19/06 5:22:36 AM] [main] Starting GSF service with concurrent process id = 5688.
    [10/19/06 5:22:36 AM] [main] Initialization Parameters: oracle.apps.fnd.cp.opp.OPPServiceThread:2:0:max_threads=5
    [10/19/06 5:22:37 AM] [Thread-12] Service thread starting up.
    [10/19/06 5:22:37 AM] [Thread-13] Service thread starting up.
    ISSUE VERIFICATION
    =================
    Issue veryfied by the screen shots: XML_Pub1.bmp which shows:
    Jave.sql SQL Exception No corresponding LOB data found: select File_data_dbms_lob...........
    ACTION PLAN
    ============
    Hi Bashobi,
    1. Since you can not reproduce the issue from sysadmin responsibility can we say the issue specific to Receivables Manager
    responsibility<INV xml report>?
    2. You said before: "Concurrent process for XML Publisher fails with warning. Cannot see Diagnostics
    --> XML output completely. Only first page visible. Buttons and Menu items
    disabled not allowing to view the whole XML file to troubleshoot for
    correct/incorrect tags.":
    Is the above mean :
    -The xml publisher report completed but you can not view the whole XML file
    -Or the xml publisher report error out with "Jave.sql SQL Exception No corresponding LOB data found: select File_data_dbms_lob.."
    Thanks.
    19-OCT-06 18:59:32 GMT
    Email Update button has been pressed: Sending email to [email protected].
    20-OCT-06 21:36:13 GMT
    Email Update button has been pressed: Sending email to [email protected].
    24-OCT-06 21:50:06 GMT
    New info : [email protected] : Hi,
    We are in the process of upgrading XML Publisher at the moment. I would like to
    wait a day or two to test the report with the upgrade.
    Thanks,Bashobi
    26-OCT-06 20:15:07 GMT
    New info : [email protected] : Hi,
    Our DBA has applied the 5.6.2 patch on our dev instance. My concurrent process
    runs to a warning.
    The warnings in the OPP manager log file say
    Template code: BE_RAXINV
    Template app: XXBE
    Language: en
    Territory: US
    Output type: PDF
    [10/26/06 12:50:13 PM] [UNEXPECTED] [5849:RT281617]
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    Any idea?

    Hi All,
    I have ran into the same issue.
    "The Output Post-processor is running but has not picked up this request.
    Any ideas.
    Thanks
    Ravi

  • What is the result of using the "post tax payable" option in the advance ta

    what is the result of using the "post tax payable" option in the advance tax report - program rfumsv00? I know it will then post the input and output tax to the tax payable GL account. But from point of view of reporting, when you run the advance tax report, will there be any change after doing this posting to tax payable account?

    Basic communication aside, J2EE is mostly a synchronous run-time environment. When asynchrony is introduced, a whole new set of infrastructure requirements is needed to support QoS and commercial-quality implementations. In other words, it's not just about API anymore, it's about reliable communication, exception handling, time outs, etc. You may want to look at this Q&A to see some of the benefits provided by J2EE as underlying run-time for orchestration:
    http://searchwebservices.techtarget.com/ateQuestionNResponse/0,289625,sid26_cid511195_tax292928,00.html
    Doron\
    Download Collaxa 2.0
    http://www.collaxa.com

  • Upload from clipboard option in webdynpro abap selection screen

    Hello Gurus,
    We have a requirement in select-options in webdynpro.i have implimented select-options successfully using
    WDR_SELECT_OPTIONS used component.now i need to impliment 'upload from clipboard' option when ever i click on advance options arrow mark. this option we can get in normal abp from selection screen.in selection screen against select-option field we have multiple options arrow mark.when ever we click this arrow mark we can able to see the upload from clipboard button at lowe level.exact same option how can we impliment in webdynpro abap selection screen.
    Could anyone please suggest solutions?
    if possible could you send me the sample code or relevent links for the same.
    Thanks in Advance for your replies.
    Regards,
    babu

    Hi,
    Which server version are you working on...Is it ECC6 or nwetweaver 7..
    I guess that option is avaialbel in Netweaver 7.0..Need to check there is an option for Clipboard in select-options..
    Regards,
    Lekha.

  • Upload multiple documents option is not visible for one user in SharePoint 2007.

    Hi,
    For one user Upload multiple documents option is not visible.
    We are using SharePoint 2007 environment.
    User is using IE 9 32 bit,Office 2010.
    I did repair office 2010.
    Active x controls are enabled.
    Please anyone help me on this.
    Thanks,
    Ashok

    Hi,
    According to your post, my understanding is that after client upgraded to Office 2013 the option for Upload multiple document was grayed out.
    I try to reproduce the issue in my environment, however everything works well.
    My configuration of system is:
    Windows 8.1;
    IE11;
    Office 2013 32bit.
    Please repair the Office 2013 to check whether it works.
    In addition, there are many thing you need to check. Please refer to:
    http://sharepointknowledgebase.blogspot.com/2013/09/upload-multiple-documents-is-disabled.html
    Here is a similar thread for your reference:
    http://social.msdn.microsoft.com/Forums/en-US/1a5af332-ed21-41ee-bf64-9122a7439623/sharepoint-not-activating-stsuplddll-upload-mutliple-documents-greyed-out?forum=sharepointgeneralprevious
    More information:
    "Upload Multiple Documents" is disabled in Document Library
    SharePoint 2010 : How to Enable Uploading Multiple Documents Functionality
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • R12:Bank Account Access:Payables Option:Default Settlement Account CheckBox

    Hello,
    Please teach me "Default Settlement Account" check box of Account Access Payables Options.
    I think the following No.2 to be used in Treasury.
    How is the following No.1 used in Payables?
    N:Setup : Payment:Bank Accounts
    Update Account button
    1.
    Account Use
    Treasury = OFF
    Payables = ON
    Account Access
    Option icon of Organizations
    Payables Options
    "Default Settlement Account" check box
    2.
    Account Use
    Treasury = ON
    (Payables = ON)
    Account Access
    Option icon of Organizations
    Treasury Options
    "Default Settlement Account" check box
    Thanks,
    Minako.

    Hi Barcardi,
    the reason for proving the cash clearing and other account code combinations at Step 3 is to default the same for all the operating units that are getting created in Step 4 .....
    For a module specific modification, like payables and receivables the place to make the correction is at Step 4 .....
    When you create a bank afresh, the codes entered in the step 3 is automatically default to step 4, however when you make the modification to existing bank account ... step 3 values are not defaulted to step 4 .......
    To my knowledge the only reason we still have the values in sep 3 is for transactions that are getting captured at the cash management level, like Bank Account Transfer ......
    Regards,
    Ivruksha

  • Upload Local Application option is not available under Tools menu: SAP design studio

    Hi All,
    I have created dashboards in design studio 1.3 in local mode. Now I want to upload my application to the Business Intelligence platform. So I referred the below thread.
    Design Studio 1.0: Upload a Local Application to the Business Intelligence Platform
    But for me under tools, Upload local application option is not available. Do I have to add some connections in preferences option to make it visible. Please reply ASAP I have to upload immediately
    Thanks in advance.
    Regards,
    Saranya S

    Select Tools, Preferences, under Preferred Startup Mode, select BI Platform
    Please be sure in the future you search before you post, per SCN rules, as this has been answered before.

  • Can't see 'Upload Multiple Document' option in sharepoint 2013

    After upgrading Sharepoint 2010 to 2013, i can't see 'Upload Multiple Document' option under files tab. I have downloaded and place the file 'STSUPLD.DLL' into Office14 and Office15 folder but IE is not asking me to run any microsoft ActiveX control as mentioned here
    http://thuansoldier.net/?p=2289
    I am using  Office 2010 with IE9 (32 bit) .
    Am i missing anything ?

    Hi, 
    According to your post, my understanding is that you could not see the “Upload Multiple Document” option in SharePoint 2013.
    In SharePoint 2013 the “Upload Multiple” Options has been depreciated. As we all known, there are two alternative ways to Upload multiple documents:option
    1 -  Using the drag-and-drop functionality, option 2 - Windows Explorer view.
    You can upgrade your IE from IE9 to IE10 then check whether it works.
    You can also use the Windows Explorer view to upload multiple documents.
    You will probably get the following error.
    To resolve this add the SharePoint site as Trusted in your Browser and Make sure that the WebClient service is running. To do this, follow these steps:
    Click Start, click Run, type services.msc, and then press Enter.
    In the list of services, locate the WebClient service, and then make sure that its status in the Status column is set to Started. If its status is not set to Started, double-click WebClient, click Start, and then click OK.
    Once done restart the browser and try opening the Windows Explorer again. In the Windows Explorer you can copy and paste Multiple documents as done in earlier SharePoint versions.
    For more information:
    http://www.learningsharepoint.com/2012/11/29/how-to-upload-multiple-documents-in-sharepoint-2013/
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • FTP Uploading Hidden Unix Files Fails

    This problem has existed every since I first tried to upload files on a Mac via FTP (at least to my linux webserver).
    It seems the hidden unix files used for indexing (or something) ( ie: ._ ) and exist for each file on the hard drive are the problem.
    In the past I just setup a filter on my FTP client to omit those files, and I've heard there is another setting on most FTP clients that will solve the problem, but I'm wondering if there is an operating system tweak I can do.
    I am trying to use the FTP client built into Adobe Lightroom, and it appears to be failing for the same reason, but I don't have any options to set that will fix it.
    Thanks a lot,
    DiFFeReN7

    On a Mac, I've tried CuteFTP, a free Mac FTP client
    and now the FTP client built into Adobe Lightroom.
    On a PC, I've tried CuteFTP, FlashFXP, FileZilla, and
    maybe another.
    On every single one I had to filter out those files.
    Unfortunately, Lightroom does not have that
    capability.
    I typically use ftp or sftp on the Mac and the same tools (via Cygwin) on the PC. There is also a nice open-source GUI for the Mac called Cyberduck.
    Still, I don't really understand your problem. I haven't had any such problems on a Mac since MacOS X.
    Yes, because Macs are not set to view hidden files.
    In unix, a period . before a filename makes it
    hidden.
    If I wanted to see them I would use the TinkerTool to
    display them.
    No. On a Mac, these ._ files simply do not exist. They are part of the HFS+ file system. You still have a few "traditionally hidden" files like ".DS_Store" and ".Trashes" but the "._" files are different beasts altogether.
    The only time you will ever notice these files is if you use access a non-Mac server such as Samba, WebDAV, or NFS on your Mac. Then, your Mac will try to "pretend" it really has an HFS+ file ssytem and create all those "._" files. All the other operating systems will be able to see them and their users will probably complain about Mac users messing up the servers. On a Mac, from the Finder, they will be hidden. On a Mac, using the terminal, you will be able to see them.
    These files might also appear when you create a Zip or Tar archive on your Mac. In these situations, the Mac tries to archive "all" the information and will create the "._" inside the Zip or Tar file. I have an older version of Tar that I keep around so that it won't do this.
    Are you trying to upload to an FTP server on a Mac? I have to tell you, I have never experienced any sort of problem like this. What you describe doesn't make any sense. You also say that it chokes on "._" files from you upload from a PC. Those "._" shouldn't exist on a PC. I'm really confused.
    Perhaps you should try Cyberduck or sftp.

  • Upload of InfoCube 0SD_C03 fails due to "#" in 0PO_NUMBER

    Hello everybody,
    I cannot upload data into 0SD_C03, due to the error "#" is invalid character.
    I have checked the data coming into the cube and in 0PO_ORDER we have vale like this: "SIBN /#3".
    What is confusing me a little bit is this: if I change the update rule and set the constant "SIBN /#3" it is fine. But if the value is coming from the ODS before, it fails
    The ODS is of course not BeX enabled.
    Any help appreciated.
    Pawel

    Hello everybody,
    I have reproduced this error while loading into BeX Enabled ODS (it failed during activation).
    Then I have checked the long text of he error. There was a magic link: <i>if you want to know more about special characters in BW click here</i>. As I would like to know more about special characters, I have pressed and there was a nice documentation regarding this topic:
    according to this documentation (see below) it is not possible to have "#" within a string.
    For me it is the end of the story. If anybody knows something new about this, please let me know.
    I will close the topic.
    Pawel
    <b>Invalid characters
    The following characters are not permitted in characteristic values and cause errors in the system:
    </b>!
    Control characters with the hex-display 00 to 1F, if lower-case letters were permitted
    Characters with a hex-code that represents lower-case letters in one of the installed languages
    You can validate lower-case letters for any characteristic. You change the settings in the InfoObject maintenance screen- on the 'General' tab page- by selecting the lower-case letters option. If you select this indicator, the system does not run a consistency check for the characteristic values, and the system makes no distinction between capital and lower-case letters in the maintenance screens for variables.

  • Upload from iAd Producer fails with error "The Ad contains an invalid banner type".

    I worked half a day on an ad in iAd Producer, only to see it fails right after the upload with this error:
    "The Ad contains an invalid banner type"
    "iAd Workbench currently accepts standard banners. Remove all other banner types and try upload your banner again."
    The error and the documentation give no hints on what these "standard banners" are exactly. My project is based on the Tap - Web iAd Blueprint, which requires a bunch of images to be created. I created all of these, regular images as jpeg, transparent images as png. At first the png's were normal (24-bit), but then I read in the help that 8-bit is required. Downgrading the png's to 8-bit didn't help to fix the error though. I also tried recreating the whole project, but it didn't help: same error.
    Before the upload, I get this vague warning:
    "Are you sure you want to upload your project with assets missing? There are 0 assets you haven't provided yet."
    Sounds like a bug. This warning was there in my 1st and in my 2nd project, the 2nd one being the exact copy.
    Finally I want to say that simulating in the simulator or Safari, or uploading to the sandbox works fine.
    I'm using version 4.2 of iAd Producer on OS X 10.9.2.
    Can anyone help me?
    Has anyone been successful with the Tap - Web iAd Blueprint?

    The Tap to Web blueprint for iPad contains banner types currently not supported in iAd Workbench.  Delete the MRec and Full Page banners and you should be able to upload.
    -Mark

  • Photo size options fails to work when selecting mail option in iphoto

    photos being sent via the mail option in iphoto seem to be set at a default of 130kb!! Regardless of which of the sizing options I select. I have taken to moving the photos to the desktop then putting them in a folder and attaching to the email as a way of getting around this problem. If I do the above without putting the jpeg into a folder it also gets reduced automatically to 130kb. I have then had problems with people receiving the photos sent in an attached folder not being able to open them. Given that the iphoto/mail option in all previous OSX worked fine what do I have to do to get the old functionality back?

    Welcome to the Apple Discussions.
    You also need to check the size option in the bottom right corner of the New Mail Message window:
    Uploaded with plasq's Skitch!
    Regards
    TD

  • Asset Library Upload - hide Destinationfolder option

    Hi All,
       How can we hide "Destination Folder ",
     option in the Asset library while uploading a document in sharepoint 2013 environment.
    Thanks,
    Pavankumar.

    Hi,
    By design, the "Destination Folder" will appear when the library has folders.
    If you want to hide the option, the following PowerShell script for your reference:
    $SiteURL="http://SiteURL"
    $site = new-object Microsoft.SharePoint.SPSite($SiteURL)
    $web=$site.OpenWeb()
    if ($web.CustomUploadPage -ne "")
    $web.CustomUploadPage = ""
    $web.Update()
    $web.Close()
    $site.Close()
    We also can modify the upload.aspx page or customize your own upload page.
    Best Regards
    Dennis Guo
    TechNet Community Support

  • CUPS print job options fail when called from lp (UNIX command line)

    Under Leopard this command-line print request fails to respect the specified job options:
    lp -o number-up=2 -o page-border=double <filename>
    Though it worked great in Tiger, the number-up and page-border job options are now disregarded. I have tried lots of things (and wasted lots of paper) such as setting them permanently with lpoptions (and they do appear changed when the lpoptions command is repeated), using lpr instead of lp, reinstalling the printer via the CUPS localhost web interface, enabling non-Bonjour scanning with the hack to the CUPS preference file, deselecting "Last Printer Used" for the default printer in the System Preferences -- nope.
    I have not tried other job options; I assume that whatever is breaking these two is breaking all the others, and even if it isn't, these two are what I want.
    Is something new in Leopard overriding lpoptions job options? How do I make it stop? It is sooooo aggravating when something that used to work fine breaks. The printer is an HP LaserJet 4000N connected by Ethernet and discovered with AppleTalk.
    Thanks for any advice!

    Thanks John, I did search but somehow missed that thread.
    However it did not help. With or without the "-p printername" argument lpoptions does make a persistent change to its own data:
    +$ lpoptions+
    +media=Letter sides=one-sided finishings=3 copies=1 job-hold-until=no-hold job-priority=50 number-up=2 auth-info-required=none job-sheets=none,none printer-info=Barrow printer-is-accepting-jobs=1 printer-is-shared=0 printer-location='Local Zone' printer-make-and-model='HP LaserJet 4000 Series' printer-state=3 printer-state-change-time=1209495301 printer-state-reasons=none printer-type=2134228 page-border=double+
    You can see that the printer "Barrow" has remembered "number-up=2" and "page-border=double". Regardless if I give any of these commands:
    +lpr <filename>+
    +lpr -P Barrow <filename>+
    +lp <filename>+
    +lp -d Barrow <filename>+
    none of them show the results of these option settings (and somewhere in the forest another tree is cut down).

  • File Upload/Menu Select Option

    I have a form that needs to have a combination of a file
    upload or a menu select option. The client I have been
    working with wants to use an insert form to insert a new
    record. If the file that they want doesn't have the filename
    their looking for in the menu list, they want to use the
    option of uploading a file. I'm having trouble combining the
    processing script for this and was wondering if anyone can
    help me put this together; it's an interesting challenge.
    PHP:
    $editFormAction = $_SERVER['PHP_SELF'];
    if (isset($_SERVER['QUERY_STRING'])) {
    $editFormAction .= "?" .
    htmlentities($_SERVER['QUERY_STRING']);
    if ((isset($_POST["MM_insert"])) &&
    ($_POST["MM_insert"] ==
    "form1")) {
    define('UPLOAD_DIR', '../../photos/staff/');
    $file = str_replace(' ', '_',
    $_FILES['staff_photo']['name']);
    $permitted = array('image/gif', 'image/jpeg',
    'image/pjpeg', 'image/png');
    $typeOK = false;
    foreach ($permitted as $type) {
    if ($type == $_FILES['staff_photo']['type']) {
    $typeOK = true;
    break;
    if ($typeOK) {
    switch($_FILES['staff_photo']['error']) {
    case 0:
    if (!file_exists(UPLOAD_DIR.$file)) {
    $success =
    move_uploaded_file($_FILES['staff_photo']['name'],
    UPLOAD_DIR.$file);
    if ($success) {
    $insertSQL = sprintf("INSERT INTO staff (staff_name,
    staff_position, staff_subposition, staff_desc, staff_photo,
    staff_spec_1, staff_spec_2, staff_spec_3, staff_spec_4,
    staff_spec_5) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s,
    %s)",
    GetSQLValueString($_POST['staff_name'], "text"),
    GetSQLValueString($_POST['staff_position'], "text"),
    GetSQLValueString($_POST['staff_subposition'], "text"),
    GetSQLValueString($_POST['staff_desc'], "text"),
    GetSQLValueString($_POST['staff_photo'], "text"),
    GetSQLValueString($_POST['staff_spec_1'], "text"),
    GetSQLValueString($_POST['staff_spec_2'], "text"),
    GetSQLValueString($_POST['staff_spec_3'], "text"),
    GetSQLValueString($_POST['staff_spec_4'], "text"),
    GetSQLValueString($_POST['staff_spec_5'], "text"));
    mysql_select_db($database_wvgsadmin, $wvgsadmin);
    $Result1 = mysql_query($insertSQL, $wvgsadmin) or
    die(mysql_error());
    if ($Result1) {
    $insertGoTo = "staff_list.php";
    if (isset($_SERVER['QUERY_STRING'])) {
    $insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
    $insertGoTo .= $_SERVER['QUERY_STRING'];
    header(sprintf("Location: %s", $insertGoTo));
    } else {
    $result = "Error uploading $file. Please try again.";
    break;
    case 3:
    $result = "Error uploading $file. Please try again.";
    default:
    $result = "System error uploading $file. Contact
    webmaster.";
    } else {
    $result = "$file cannot be uploaded. Acceptable file
    type: .gif, .jpf, .png";
    HTML FORM:
    <form method="post" name="form1"
    enctype="multipart/form-data" action="<?php echo
    $editFormAction; ?>">
    <table width="80%" align="center" cellspacing="0"
    border="0">
    <tr valign="baseline">
    <td nowrap align="right">Select Photo:</td>
    <td><select name="staff_photo">
    <option selected="selected"></option>
    <?php buildImageList('../../photos/staff/'); ?>
    </select>
    <span class="small">   (If
    there is no photo
    available, please choose 'No-Phot-Available.jpg' or 'No
    photo')</span></td>
    </tr>
    <tr valign="baseline">
    <td nowrap align="right">Upload Photo: </td>
    <td><input name="staff_photo" type="file" />
    </td>
    </tr>
    <tr valign="baseline">
    <td nowrap align="right"> </td>
    <td><input type="submit" value="Insert
    record"></td>
    </tr>
    </table>
    <input type="hidden" name="MM_insert" value="form1">
    <input name="staff_photo" type="hidden" id="staff_photo"
    />
    </form>

    In this case, I think you might need to
    1) Create a transient attribute in the VO.
    2) Either create a method in AM to get the file id based on the attachment entity name/id(using PL/SQL) and set the view attribute accordingly
    or call a PL/SQL procedure to get the file id in the getter method of the transient attribute.
    Look at this forum entry to get the file id.
    How to display Attachments on OAF page for different entities
    Regards,
    Peddi.

Maybe you are looking for