Exist OSDComputerName then Join Domain, if not join workgroup

I add OSDComputerName into Unknown Computer as below 
Right Click "Unknown Computers" and choose Properties. Open Collection Variables tab.
Click on the yellow star to add a new variable. 
Type OSDComputerName
http://www.gerryhampsoncm.blogspot.ie/2013/02/sccm-2012-sp1-step-by-step-guide-part_9487.html
I created two tasks, one is join domain ,the other is join workgroup, but I don't know how to write the task sequence variable
OSDComputerName = "" or Exist OSDComputerName or OSDComputerName = NULL???

Nial's guide can be found here:
http://www.windows-noob.com/forums/index.php?/topic/5542-how-can-i-easily-prompt-for-a-computer-name-in-configuration-manager-2012/
So in short:
Enable unknown computer support on your Distribution Point
Add OSDComputerName -variable to 'All Unknown Computers' -collection, remove the checkmark of "Do not display this..." and do not add any value to it
Deploy your task sequence to 'All Unknown Computers' -collection
You will be prompted of OSDComputerName -variable during the TS
Note that this only works for Unknown computers, those that don't show up in the console yet.

Similar Messages

  • Business Management Error: You are attempting to create a user with a domain logon that does not exist. Select another domain logon and try again.

    Hello,
    Suddenly the working CRM is being stopped for some group of users.
    I drilled down to the issue and have checked that the users from Domain in which CRM is installed are having CRM access.
    But for other domain user having problem to access CRM.
    I tried to add a user from a domain which is not of CRM domain then it gives following error.
    "Business Management Error: You are attempting to create a user with a domain logon that does not exist. Select another domain logon and try again.
    <Message>LookupAccountNameW failed with error</Message> "
    The change is made - AD group have upgraded Activer Directory server to 2012 R2
    Please help as the Production CRM is not working for other domain user.

    We have Activer Directory Structure like below.
    One Root Domain says A
    and there are multiple child domain like B,C,D etc...
    B,C and D are all in same level,they are child of A domain.
    There are two way transitive trusts between A and all the child Domain.
    But there is no trust in between B and C and so on.
    Our CRM server is in B domain and B domain's user can access CRM but users of Domain C,D and so on can not access CRM.
    If this post answers your question, please click &quot;Mark As Answer&quot; on the post and &quot;Mark as Helpful&quot;

  • How can I convert a 680x480x2 array of values into binary and then joining adjacent elements to make a 640x480 array?

    I am obtaining data from a camera and getting 10-bit data in Labview. I want to convert the element values to binary and then join adjacent elements to create an array half the size of the original. 

    Hi cowboy,
    well 640×480 is not exactly half of 680×480×2...
    - You have to read the specs of your camera. Then you should know how to combine the values.
    - When you get 10bit values you probably need I16 datatype to store the values. Unless you also decrease the color resolution to 8 bit you are still stuck to 640×480×2 byte per image...
    - To join numbers you should have a look at the numerics->data manipulation function palette
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Joining WMV or converting WMV then joining...

    Hi All,
    This is an old question but one to which I cannot find the answer!
    I have a number of WMV files, and I'd like to join them to make one file. Sounds easy?
    I'm happy to convert them, then join so long as quality doesn't deteriorate too much.
    I'd like it to be free (or cheap!) [wouldn't we all!] as I don't do it that often.
    Any ideas will be enourmously gladly received!
    I could use a trial version, so long as it is time-limited trial, but a fully functioning software (i.e. can join more than the first 30 seconds!)
    Thanks in advance, Chris
    iMac 20" DuoCore   Mac OS X (10.4.7)   2.16GHz Duo, 500GB HDD, 2GB RAM

    You know how they say you can't get something for nothing? This is one of those times. Flip4mac paid version will support the use of MPEG Streamclip which is free to join files. Visual Hub for $23 ( a bit less than Flip4mac) supposedly inputs and even outputs WMV, so at worst you could batch them all to H264 and then use QT Pro to join them.
    The only other thing I would wonder about is if they are different sizes, WMV versions or bitrates then whacking them all together might not work so hot - at least with the codec you could convert them all to one common size and bit rate then join them.

  • I have a 1.5 hour video of a concert from which I need to extract several 'tracks' as individual files, and then join them together in a new video. How do I do this using imovie?

    I have a 1.5 hour video of a concert from which I need to extract several 'tracks' as individual files, and then join them together in a new video. How do I do this using imovie?

    Adobe has made this process much simpler in recent years.
    No need to re-install any version earlier than the current version (CS6). All installers (upgrade or full) contain the full program code. The difference between full and upgrade is in the serial number.
    All you need do is download (link below) and install CS6, enter the CS6 upgrade serial number then enter the CS5 serial number (even if that too is an upgrade).
    Download CS6 products

  • I own CS4, upgraded to CS5, then joined CS6, CC... and now I installed CC14. Which will be the best way to delete or uninstall the programs I don't need keeping only CC14 without running into issues? I have an Alienware Area 51 PC running Windows 7.

    I own CS4, upgraded to CS5, then joined CS6, CC... and now I installed CC14. Which will be the best way to delete or uninstall the programs I don't need keeping only CC14 without running into issues? I have an Alienware Area 51 PC running Windows 7.

    Which will be the best way to delete or uninstall the programs I don't need keeping only CC14 without running into issues?
    There is none. Whatever you do to get rid of the older versions will inevitably do damage to shared components and other stuff of the new versions as well. That's just how it is with this approach... Uninstall the older versions, run the cleaner tool then reinstall CC 2014.
    Use the CC Cleaner Tool to solve installation problems | CC, CS3-CS6
    Mylenium

  • I have and existing web site and domain name. I'd like to know how to import into iweb. I currently use Yahoo's sitebuilder to build my site but Sitebuilder is not compatible with the iMac

    I have and existing web site and domain name. I'd like to know how to import into iweb. I currently use Yahoo's sitebuilder to build my site but Sitebuilder is not compatible with the iMac

    Chapter 2.3 on the iWeb FAQ.org site has tips on using some of the existing files, image, audio, video, etc., from the published site in the creation of the new site with iWeb.
    OT

  • Domain did not find after 2 weeks

    Hello everyone
    We have both Macs and PCs with 1 Mac Server 10.4.8. The PCs have to join the domain. We created PDC with domain: MEDIER. It was working good. But new PCs could not find MEDIER after 2 weeks. So I have to stop service and restart service, then it will work again. I dont know what problem it is. Hope someone can help. Thanks
    Regards
    Tri
    ( Server Admin-Computers & Services-Windows-Settings-General)

    At the beginning, we upgraded from OS Server 10.3.9 to Server 10.4.8. it did not work good at all. We decided to install new, fresh installation Server 10.4.8, and then updated to 10.4.10 now. Lookup and forward DNS are working: internal.loc = 192.168.1.3.
    I tried to join MEDIER, it said that "the domain could not find domain bla bla bla, contact the administrator...". If I stop and restart the service, it could find the domain: MEDIER, and then PCs could join MEDIER without any problem. The problem is, I have to stop and restart the service after 2 weeks
    Is the problem related to DNS or how to stop MEDIER from sleeping?
    Thanks again

  • Envelope sender domain could not be resolved

    For this error:
    Apr 23 18:11:07 2008 Info: ICID 815272710 Address: <nurmaria> sender rejected, envelope sender domain could not be resolved
    If the domain has multiple MX(es) record. I.e cardig.com has :
    cardig.com mail is handled by 10 mail.cardig.com.
    cardig.com mail is handled by 10 mail2.cardig.com.
    Does Ironport check all the mx(es) first then reject if one of them is not exists?
    Or just query it once (first match mx or first low priority mx)?
    TIA.

    I think that the problem is not related to MX records existence or priority.
    The error you found occurs when a DNS server does not provide an answer to the query your appliance send when checking the sender.
    Suppose that a remote SMTP server connect to your appliance and send a "MAIL FROM: user @ domain.com" SMTP command; at this point your appliance checks whether "domain.com" exists or not and therefore asks for a MX record for "domain.com" to the DNS you configured. The DNS in turn searches for an authoritative DNS for "domain.com" and then sends it a query for the MX records of "domain.com"; if it doesn't get an answer your appliance cannot validate the sender domain and rejects the connection with the error you reported.
    In your example this means that the appliance didn't even know that the MX for cardig.com were "mail.cardig.com" and "mail1.cardig.com", but rather that the DNS server didn't get that information from the authoritative DNS server of "cardig.com".
    Hope this helps.
    Andrea

  • Reader XI, An Error Exists on this Page, Acrobat may not display

    Hello,
    I need some help please.  The small business I work for as a contract employee uses Google Doc's, and we input our information into spreadsheets on a daily basis, from our home computers.
    My home computer is XP Professional, and I am using  Mozilla Firefox 36.0. I know we are using older computer programs, but until we can afford newer computers we have to use what we have.
    Prior to today, when I printed off my spreadsheets in Google Doc's I had no problems, however tonight I just starting receiving this error message;  An error exists on this page.  Acrobat may not display the page correctly.  Please contact the person who created the file.
    I contacted my manager and had her send me a new spreadsheet, Invitation to Edit and input my information into the new spreadsheet.
    I then go to my timesheet, and highlight all the rows that I would like to print, then I hit the print key, then I get the box that states, opening my timesheet which is a PDF which is an Adobe Acrobat Document, then I have this message, What should Firefox do with this file?  I have it set to open with Adobe Reader (default) do this for files automatically like this.
    The file downloads, however I have noticed that Adobe at times has a difficult time opening up right away and then I receive the error message that Adobe isn't responding and I end up closing the program out and restarting my computer.
    This error message shows up just before the document begins to print and the document prints off with out any problems.
    I even did a repair and that didn't help.  My printer is a HP Color LaserJet 4500 and I've had no issues with Adobe prior to tonight.
    Do I need to uninstall Adobe Reader & Re-install the program?
    I can't send a copy of the file because it contains confidential material.
    I've also posted this message on Adobe Acrobat, and have not received a response.
    Please advise.
    Thank you,

    Hello,
    Thank you for responding.  Sorry that my message is so confusing.
    In Google Doc's we are able to highlight/selected portions of a PDF to print.
    In Mozilla Fox under Applications, Portable Format Document (PDF) Use Adobe Reader (default).
    So when I go to print off my timesheet, after I have highlighted everything, I get this message:  I've chosen to open my timesheet which is: Adobe Acrobat Document from https//docs.google.com. What should Firefox do with this file?  Open with Adobe Reader (default).
    Do this automatically for files like this from now on. I click on the OK and the file downloads as a PDF file in Adobe Reader.  On Google Doc's I click on the print key then I am able to open up my printer menu.  Its after I click on the print key that I receive this message.
    So what do I do please?
    Thank you,
    Maureen A. Mumm
          From: pwillener <[email protected]>
    To: Maureen Mumm <[email protected]>
    Sent: Friday, March 6, 2015 8:05 PM
    Subject:  Reader XI, An Error Exists on this Page, Acrobat may not display
    Reader XI, An Error Exists on this Page, Acrobat may not display
    created by pwillener in Adobe Reader - View the full discussion
    Maureen Mumm wrote: I then go to my timesheet, and highlight all the rows that I would like to print, then I hit the print key, then I get the box that states, opening my timesheet which is a PDF which is an Adobe Acrobat Document, then I have this message, What should Firefox do with this file?  I have it set to open with Adobe Reader (default) do this for files automatically like this.
    This is very confusing to me; Adobe Reader does not have such a functionality (to print highlighted/selected portions of a PDF). Could it be that this is a functionality of Google Docs? Also I have never seen a message "What should Firefox do with this file?". If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7262026#7262026 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7262026#7262026 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"  Start a new discussion in Adobe Reader by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • Header ID does not exist on this record or does not match ID

    Hi ,
    I'm trying to import the sales order using OE_ORDER_PUB.process_order() API. If all my orders has equal no. of lines, I can able to import all the orders at one stoke. But if each order has different no. of lines, I'm unable to import all the orders at single stoke. At first run, certain no. of records are getting processed and remaining records are ending up with error stating *'Header ID does not exist on this record or does not match ID specified on header record. You require a valid header ID if the operation is Create*'. If I re-execute the errored records, its getting processed successfully.
    Please help me in getting it resolved.
    Find below the procedure code which I'm using to import sales order.
    CREATE OR REPLACE PROCEDURE XXRT_SALES_ORDER (ERRBUF VARCHAR2, RETCODE NUMBER)
    AS
    l_header_rec OE_ORDER_PUB.Header_Rec_Type;
    l_line_tbl OE_ORDER_PUB.Line_Tbl_Type;
    l_line_adj_tbl OE_ORDER_PUB.Line_Adj_Tbl_Type;
    l_return_status varchar2(200);
    l_msg_count number;
    l_msg_data varchar2(20000);
    l_header_val_rec OE_ORDER_PUB.Header_Val_Rec_Type;
    l_Header_Adj_tbl OE_ORDER_PUB.Header_Adj_Tbl_Type;
    l_Header_Adj_val_tbl OE_ORDER_PUB.Header_Adj_Val_Tbl_Type;
    l_Header_price_Att_tbl OE_ORDER_PUB.Header_Price_Att_Tbl_Type;
    l_Header_Adj_Att_tbl OE_ORDER_PUB.Header_Adj_Att_Tbl_Type;
    l_Header_Adj_Assoc_tbl OE_ORDER_PUB.Header_Adj_Assoc_Tbl_Type;
    l_Header_Scredit_tbl OE_ORDER_PUB.Header_Scredit_Tbl_Type;
    l_Header_Scredit_val_tbl OE_ORDER_PUB.Header_Scredit_Val_Tbl_Type;
    l_line_val_tbl OE_ORDER_PUB.Line_Val_Tbl_Type;
    l_Line_Adj_val_tbl OE_ORDER_PUB.Line_Adj_Val_Tbl_Type;
    l_Line_price_Att_tbl OE_ORDER_PUB.Line_Price_Att_Tbl_Type;
    l_Line_Adj_Att_tbl OE_ORDER_PUB.Line_Adj_Att_Tbl_Type;
    l_Line_Adj_Assoc_tbl OE_ORDER_PUB.Line_Adj_Assoc_Tbl_Type;
    l_Line_Scredit_tbl OE_ORDER_PUB.Line_Scredit_Tbl_Type;
    l_Line_Scredit_val_tbl OE_ORDER_PUB.Line_Scredit_Val_Tbl_Type;
    l_Lot_Serial_tbl OE_ORDER_PUB.Lot_Serial_Tbl_Type;
    l_Lot_Serial_val_tbl OE_ORDER_PUB.Lot_Serial_Val_Tbl_Type;
    l_action_request_tbl OE_ORDER_PUB.Request_Tbl_Type;
    v_remarks varchar2(250);
    v_count number;
    v_transaction_type number;
    v_cust_id number;
    v_invoice_to number;
    v_ship_to number;
    v_itemid1 number;
    v_itemid2 number;
    v_itemid3 number;
    v_itemid4 number;
    v_itemid5 number;
    v_item_type1 varchar2(15);
    v_item_type2 varchar2(15);
    v_item_type3 varchar2(15);
    v_item_type4 varchar2(15);
    v_item_type5 varchar2(15);
    cursor c_data_val is select * from XXSC_SALES_ORDER_IMPORT
    where process_flag='N';
    cursor c_data is select * from XXSC_SALES_ORDER_IMPORT
    where process_flag='N';
    Begin
    fnd_global.apps_initialize(1681,51411,660);
    for c_data_val_rec in c_data_val
    loop
    v_remarks:=NULL;
    select count(*) into v_count from apps.oe_order_headers_all
    where cust_po_number=c_data_val_rec.iwb_no;
    if v_count > 0 then
    v_remarks:='Customer PO already used';
    end if;
    BEGIN
    select transaction_type_id into v_transaction_type
    from apps.OE_TRANSACTION_TYPES_tl
    where name like c_data_val_rec.BILL_TO||'-DOMESTIC';
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    v_remarks:=v_remarks||'Invalid trans type';
    END;
    BEGIN
    select cust_account_id into v_cust_id
    from apps.hz_cust_accounts hca,
    apps.hz_parties hp
    where hca.party_id=hp.party_id
    and hp.party_name=c_data_val_rec.CUSTOMER_NAME;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    v_remarks:=v_remarks||'Invalid Customer name';
    END;
    BEGIN
    select SITE_USE_ID into v_invoice_to
    from apps.hz_parties hp,
    apps.hz_party_sites_v hps,
    apps.hz_cust_acct_sites_all hcasa,
    apps.hz_cust_site_uses_all hcsua
    where
    party_name=c_data_val_rec.CUSTOMER_NAME
    and hp.party_id=hps.party_id
    and hps.address1 like '%'||c_data_val_rec.BILL_TO||'%'
    and hps.site_use_type='BILL_TO'
    and hps.party_site_id=hcasa.party_site_id
    and hcasa.cust_acct_site_id=hcsua.cust_acct_site_id
    and SITE_USE_CODE='BILL_TO'
    and hcsua.Status='A';
    EXCEPTION
    WHEN OTHERS THEN
    v_remarks:=v_remarks||'Invalid BILL_TO';
    END;
    BEGIN
    select SITE_USE_ID into v_ship_to
    from apps.hz_parties hp,
    apps.hz_party_sites_v hps,
    apps.hz_cust_acct_sites_all hcasa,
    apps.hz_cust_site_uses_all hcsua
    where
    party_name=c_data_val_rec.CUSTOMER_NAME
    and hp.party_id=hps.party_id
    and hps.address1 like '%'||c_data_val_rec.SHIP_TO||'%'
    and hps.site_use_type='SHIP_TO'
    and hps.party_site_id=hcasa.party_site_id
    and hcasa.cust_acct_site_id=hcsua.cust_acct_site_id
    and SITE_USE_CODE='SHIP_TO'
    and hcsua.Status='A';
    EXCEPTION
    WHEN OTHERS THEN
    v_remarks:=v_remarks||'Invalid SHIP_TO';
    END;
    IF c_data_val_rec.item1 is not null then
    BEGIN
    select distinct inventory_item_id into v_itemid1
    from apps.mtl_system_items_b
    where segment1=c_data_val_rec.item1;
    EXCEPTION
    WHEN OTHERS THEN
    v_remarks:=v_remarks||'Invalid ITEM1';
    END;
    BEGIN
    select distinct Item_type into v_item_type1
    from apps.mtl_system_items_b
    where segment1=c_data_val_rec.item1;
    EXCEPTION
    WHEN OTHERS THEN
    v_remarks:=v_remarks||'Invalid Itemtype1';
    END;
    END IF;
    IF c_data_val_rec.item2 is not null then
    BEGIN
    select distinct inventory_item_id into v_itemid2
    from apps.mtl_system_items_b
    where segment1=c_data_val_rec.item2;
    EXCEPTION
    WHEN OTHERS THEN
    v_remarks:=v_remarks||'Invalid ITEM2';
    END;
    BEGIN
    select distinct Item_type into v_item_type2
    from apps.mtl_system_items_b
    where segment1=c_data_val_rec.item2;
    EXCEPTION
    WHEN OTHERS THEN
    v_remarks:=v_remarks||'Invalid Itemtype2';
    END;
    END IF;
    IF c_data_val_rec.item3 is not null then
    BEGIN
    select distinct inventory_item_id into v_itemid3
    from apps.mtl_system_items_b
    where segment1=c_data_val_rec.item3;
    EXCEPTION
    WHEN OTHERS THEN
    v_remarks:=v_remarks||'Invalid ITEM3';
    END;
    BEGIN
    select distinct Item_type into v_item_type3
    from apps.mtl_system_items_b
    where segment1=c_data_val_rec.item3;
    EXCEPTION
    WHEN OTHERS THEN
    v_remarks:=v_remarks||'Invalid Itemtype3';
    END;
    END IF;
    IF c_data_val_rec.item4 is not null then
    BEGIN
    select distinct inventory_item_id into v_itemid4
    from apps.mtl_system_items_b
    where segment1=c_data_val_rec.item4;
    EXCEPTION
    WHEN OTHERS THEN
    v_remarks:=v_remarks||'Invalid ITEM4';
    END;
    BEGIN
    select distinct inventory_item_id into v_item_type4
    from apps.mtl_system_items_b
    where segment1=c_data_val_rec.item4;
    EXCEPTION
    WHEN OTHERS THEN
    v_remarks:=v_remarks||'Invalid Itemtype4';
    END;
    END IF;
    IF c_data_val_rec.item5 is not null then
    BEGIN
    select distinct inventory_item_id into v_itemid5
    from apps.mtl_system_items_b
    where segment1=c_data_val_rec.item5;
    EXCEPTION
    WHEN OTHERS THEN
    v_remarks:=v_remarks||'Invalid ITEM5';
    END;
    BEGIN
    select distinct inventory_item_id into v_item_type5
    from apps.mtl_system_items_b
    where segment1=c_data_val_rec.item5;
    EXCEPTION
    WHEN OTHERS THEN
    v_remarks:=v_remarks||'Invalid Itemtype5';
    END;
    END IF;
    IF v_remarks is not null then
    update XXSC_SALES_ORDER_IMPORT
    set process_flag='E', remarks=v_remarks
    where iwb_no=c_data_val_rec.iwb_no;
    commit;
    END IF;
    end loop;
    for c_data_rec in c_data
    loop
    select transaction_type_id into v_transaction_type
    from OE_TRANSACTION_TYPES_tl
    where name like c_data_rec.BILL_TO||'-DOMESTIC';
    select cust_account_id into v_cust_id
    from hz_cust_accounts hca,
    hz_parties hp
    where hca.party_id=hp.party_id
    and hp.party_name=c_data_rec.CUSTOMER_NAME;
    select SITE_USE_ID into v_invoice_to
    from hz_parties hp,
    hz_party_sites_v hps,
    hz_cust_acct_sites_all hcasa,
    hz_cust_site_uses_all hcsua
    where
    party_name=c_data_rec.CUSTOMER_NAME
    and hp.party_id=hps.party_id
    and hps.address1 like '%'||c_data_rec.BILL_TO||'%'
    and hps.site_use_type='BILL_TO'
    and hps.party_site_id=hcasa.party_site_id
    and hcasa.cust_acct_site_id=hcsua.cust_acct_site_id
    and SITE_USE_CODE='BILL_TO'
    and hcsua.Status='A';
    select SITE_USE_ID into v_ship_to
    from hz_parties hp,
    hz_party_sites_v hps,
    hz_cust_acct_sites_all hcasa,
    hz_cust_site_uses_all hcsua
    where
    party_name=c_data_rec.CUSTOMER_NAME
    and hp.party_id=hps.party_id
    and hps.address1 like '%'||c_data_rec.SHIP_TO||'%'
    and hps.site_use_type='SHIP_TO'
    and hps.party_site_id=hcasa.party_site_id
    and hcasa.cust_acct_site_id=hcsua.cust_acct_site_id
    and SITE_USE_CODE='SHIP_TO'
    and hcsua.Status='A';
    IF c_data_rec.item1 is not null then
    select distinct inventory_item_id into v_itemid1
    from apps.mtl_system_items_b
    where segment1=c_data_rec.item1;
    select distinct Item_type into v_item_type1
    from apps.mtl_system_items_b
    where segment1=c_data_rec.item1;
    ELSE
    v_itemid1:= null;
    v_item_type1:= null;
    END IF;
    IF c_data_rec.item2 is not null then
    select distinct inventory_item_id into v_itemid2
    from apps.mtl_system_items_b
    where segment1=c_data_rec.item2;
    select distinct Item_type into v_item_type2
    from apps.mtl_system_items_b
    where segment1=c_data_rec.item2;
    ELSE
    v_itemid2:=null;
    v_item_type2:= null;
    END IF;
    IF c_data_rec.item3 is not null then
    select distinct inventory_item_id into v_itemid3
    from apps.mtl_system_items_b
    where segment1=c_data_rec.item3;
    select distinct Item_type into v_item_type3
    from apps.mtl_system_items_b
    where segment1=c_data_rec.item3;
    ELSE
    v_itemid3:=null;
    v_item_type3:=null;
    END IF;
    IF c_data_rec.item4 is not null then
    select distinct inventory_item_id into v_itemid4
    from apps.mtl_system_items_b
    where segment1=c_data_rec.item4;
    select distinct Item_type into v_item_type4
    from apps.mtl_system_items_b
    where segment1=c_data_rec.item4;
    ELSE
    v_itemid4:= null;
    v_item_type4:= null;
    END IF;
    IF c_data_rec.item5 is not null then
    select distinct inventory_item_id into v_itemid5
    from apps.mtl_system_items_b
    where segment1=c_data_rec.item5;
    select distinct Item_type into v_item_type5
    from apps.mtl_system_items_b
    where segment1=c_data_rec.item5;
    ELSE
    v_itemid5:= null;
    v_item_type5:= null;
    END IF;
    l_header_rec := OE_ORDER_PUB.G_MISS_HEADER_REC; -- Required attributes (e.g. Order Type and Customer)
    l_header_rec.order_type_id := v_transaction_type;
    l_header_rec.ordered_date := c_data_rec.iwb_date;
    l_header_rec.sold_to_org_id := v_cust_id;
    l_header_rec.price_list_id := 93174;
    l_header_rec.cust_po_number := c_data_rec.iwb_no;
    l_header_rec.ship_to_org_id := v_ship_to;
    l_header_rec.invoice_to_org_id := v_invoice_to;
    l_header_rec.CONTEXT:='566' ;
    l_header_rec.ATTRIBUTE1:=c_data_rec.DELIVERY_TYPE;
    -- l_header_rec.freight_term_code = NULL;
    l_header_rec.operation := OE_GLOBALS.G_OPR_CREATE;
    -- FIRST LINE RECORD. Initialize record to missing
    if c_data_rec.item1 is not null and
    c_data_rec.item2 is not null and
    c_data_rec.item3 is not null and
    c_data_rec.item4 is not null and
    c_data_rec.item5 is not null then
    l_line_tbl(1) := OE_ORDER_PUB.G_MISS_LINE_REC;
    l_line_tbl(1).inventory_item_id :=v_itemid1;
    l_line_tbl(1).ordered_quantity := c_data_rec.quantity1;
    l_line_tbl(1).CALCULATE_PRICE_FLAG :='N';
    l_line_tbl(1).UNIT_SELLING_PRICE := c_data_rec.price1;
    l_line_tbl(1).UNIT_LIST_PRICE := c_data_rec.price1;
    l_line_tbl(1).attribute13:= v_item_type1;
    l_line_tbl(1).operation := OE_GLOBALS.G_OPR_CREATE;
    --end if;
    -- SECOND LINE RECORD
    --elsif c_data_rec.item2 is not null then
    l_line_tbl(2) := OE_ORDER_PUB.G_MISS_LINE_REC;
    l_line_tbl(2).inventory_item_id := v_itemid2;
    l_line_tbl(2).ordered_quantity := c_data_rec.quantity2;
    l_line_tbl(2).CALCULATE_PRICE_FLAG :='N';
    l_line_tbl(2).UNIT_SELLING_PRICE := c_data_rec.price2;
    l_line_tbl(2).UNIT_LIST_PRICE := c_data_rec.price2;
    l_line_tbl(2).attribute13:=v_item_type2;
    l_line_tbl(2).operation := OE_GLOBALS.G_OPR_CREATE;
    --end if;
    -- THIRD LINE RECORD
    --elsif c_data_rec.item3 is not null then
    l_line_tbl(3) := OE_ORDER_PUB.G_MISS_LINE_REC;
    l_line_tbl(3).inventory_item_id := v_itemid3;
    l_line_tbl(3).ordered_quantity := c_data_rec.quantity3;
    l_line_tbl(3).CALCULATE_PRICE_FLAG :='N';
    l_line_tbl(3).UNIT_SELLING_PRICE := c_data_rec.price3;
    l_line_tbl(3).UNIT_LIST_PRICE := c_data_rec.price3;
    l_line_tbl(3).attribute13:=v_item_type3;
    l_line_tbl(3).operation := OE_GLOBALS.G_OPR_CREATE;
    --end if;
    -- FOURTH LINE RECORD
    --elsif c_data_rec.item4 is not null then
    l_line_tbl(4) := OE_ORDER_PUB.G_MISS_LINE_REC;
    l_line_tbl(4).inventory_item_id := v_itemid4;
    l_line_tbl(4).ordered_quantity := c_data_rec.quantity4;
    l_line_tbl(4).CALCULATE_PRICE_FLAG :='N';
    l_line_tbl(4).UNIT_SELLING_PRICE := c_data_rec.price4;
    l_line_tbl(4).UNIT_LIST_PRICE := c_data_rec.price4;
    l_line_tbl(4).attribute13:=v_item_type4;
    l_line_tbl(4).operation := OE_GLOBALS.G_OPR_CREATE;
    --END IF;
    -- FIFTH LINE RECORD
    --elsif c_data_rec.item5 is not null then
    l_line_tbl(5) := OE_ORDER_PUB.G_MISS_LINE_REC;
    l_line_tbl(5).inventory_item_id := v_itemid5;
    l_line_tbl(5).ordered_quantity := c_data_rec.quantity5;
    l_line_tbl(5).CALCULATE_PRICE_FLAG :='N';
    l_line_tbl(5).UNIT_SELLING_PRICE := c_data_rec.price5;
    l_line_tbl(5).UNIT_LIST_PRICE := c_data_rec.price5;
    l_line_tbl(5).attribute13:= v_item_type5;
    l_line_tbl(5).operation := OE_GLOBALS.G_OPR_CREATE;
    elsif c_data_rec.item1 is not null and
    c_data_rec.item2 is not null and
    c_data_rec.item3 is not null and
    c_data_rec.item4 is not null then
    l_line_tbl(1) := OE_ORDER_PUB.G_MISS_LINE_REC;
    l_line_tbl(1).inventory_item_id :=v_itemid1;
    l_line_tbl(1).ordered_quantity := c_data_rec.quantity1;
    l_line_tbl(1).CALCULATE_PRICE_FLAG :='N';
    l_line_tbl(1).UNIT_SELLING_PRICE := c_data_rec.price1;
    l_line_tbl(1).UNIT_LIST_PRICE := c_data_rec.price1;
    l_line_tbl(1).attribute13:= v_item_type1;
    l_line_tbl(1).operation := OE_GLOBALS.G_OPR_CREATE;
    --end if;
    -- SECOND LINE RECORD
    --elsif c_data_rec.item2 is not null then
    l_line_tbl(2) := OE_ORDER_PUB.G_MISS_LINE_REC;
    l_line_tbl(2).inventory_item_id := v_itemid2;
    l_line_tbl(2).ordered_quantity := c_data_rec.quantity2;
    l_line_tbl(2).CALCULATE_PRICE_FLAG :='N';
    l_line_tbl(2).UNIT_SELLING_PRICE := c_data_rec.price2;
    l_line_tbl(2).UNIT_LIST_PRICE := c_data_rec.price2;
    l_line_tbl(2).attribute13:=v_item_type2;
    l_line_tbl(2).operation := OE_GLOBALS.G_OPR_CREATE;
    --end if;
    -- THIRD LINE RECORD
    --elsif c_data_rec.item3 is not null then
    l_line_tbl(3) := OE_ORDER_PUB.G_MISS_LINE_REC;
    l_line_tbl(3).inventory_item_id := v_itemid3;
    l_line_tbl(3).ordered_quantity := c_data_rec.quantity3;
    l_line_tbl(3).CALCULATE_PRICE_FLAG :='N';
    l_line_tbl(3).UNIT_SELLING_PRICE := c_data_rec.price3;
    l_line_tbl(3).UNIT_LIST_PRICE := c_data_rec.price3;
    l_line_tbl(3).attribute13:=v_item_type3;
    l_line_tbl(3).operation := OE_GLOBALS.G_OPR_CREATE;
    --end if;
    -- FOURTH LINE RECORD
    --elsif c_data_rec.item4 is not null then
    l_line_tbl(4) := OE_ORDER_PUB.G_MISS_LINE_REC;
    l_line_tbl(4).inventory_item_id := v_itemid4;
    l_line_tbl(4).ordered_quantity := c_data_rec.quantity4;
    l_line_tbl(4).CALCULATE_PRICE_FLAG :='N';
    l_line_tbl(4).UNIT_SELLING_PRICE := c_data_rec.price4;
    l_line_tbl(4).UNIT_LIST_PRICE := c_data_rec.price4;
    l_line_tbl(4).attribute13:=v_item_type4;
    l_line_tbl(4).operation := OE_GLOBALS.G_OPR_CREATE;
    elsif c_data_rec.item1 is not null and
    c_data_rec.item2 is not null and
    c_data_rec.item3 is not null then
    l_line_tbl(1) := OE_ORDER_PUB.G_MISS_LINE_REC;
    l_line_tbl(1).inventory_item_id :=v_itemid1;
    l_line_tbl(1).ordered_quantity := c_data_rec.quantity1;
    l_line_tbl(1).CALCULATE_PRICE_FLAG :='N';
    l_line_tbl(1).UNIT_SELLING_PRICE := c_data_rec.price1;
    l_line_tbl(1).UNIT_LIST_PRICE := c_data_rec.price1;
    l_line_tbl(1).attribute13:= v_item_type1;
    l_line_tbl(1).operation := OE_GLOBALS.G_OPR_CREATE;
    --end if;
    -- SECOND LINE RECORD
    --elsif c_data_rec.item2 is not null then
    l_line_tbl(2) := OE_ORDER_PUB.G_MISS_LINE_REC;
    l_line_tbl(2).inventory_item_id := v_itemid2;
    l_line_tbl(2).ordered_quantity := c_data_rec.quantity2;
    l_line_tbl(2).CALCULATE_PRICE_FLAG :='N';
    l_line_tbl(2).UNIT_SELLING_PRICE := c_data_rec.price2;
    l_line_tbl(2).UNIT_LIST_PRICE := c_data_rec.price2;
    l_line_tbl(2).attribute13:=v_item_type2;
    l_line_tbl(2).operation := OE_GLOBALS.G_OPR_CREATE;
    --end if;
    -- THIRD LINE RECORD
    --elsif c_data_rec.item3 is not null then
    l_line_tbl(3) := OE_ORDER_PUB.G_MISS_LINE_REC;
    l_line_tbl(3).inventory_item_id := v_itemid3;
    l_line_tbl(3).ordered_quantity := c_data_rec.quantity3;
    l_line_tbl(3).CALCULATE_PRICE_FLAG :='N';
    l_line_tbl(3).UNIT_SELLING_PRICE := c_data_rec.price3;
    l_line_tbl(3).UNIT_LIST_PRICE := c_data_rec.price3;
    l_line_tbl(3).attribute13:=v_item_type3;
    l_line_tbl(3).operation := OE_GLOBALS.G_OPR_CREATE;
    end if;
    -- CALL TO PROCESS ORDER
    OE_Order_PUB.Process_Order(
    p_api_version_number=>1.0,
    p_header_rec => l_header_rec,
    p_line_tbl=> l_line_tbl,
    p_line_adj_tbl=> l_line_adj_tbl,
    -- OUT variables,
    x_header_rec =>l_header_rec
    , x_header_val_rec =>l_header_val_rec
    , x_Header_Adj_tbl =>l_Header_Adj_tbl
    , x_Header_Adj_val_tbl =>l_Header_Adj_val_tbl
    , x_Header_price_Att_tbl =>l_Header_price_Att_tbl
    , x_Header_Adj_Att_tbl =>l_Header_Adj_Att_tbl
    , x_Header_Adj_Assoc_tbl =>l_Header_Adj_Assoc_tbl
    , x_Header_Scredit_tbl =>l_Header_Scredit_tbl
    , x_Header_Scredit_val_tbl=>l_Header_Scredit_val_tbl
    , x_line_tbl =>l_line_tbl
    , x_line_val_tbl =>l_line_val_tbl
    , x_Line_Adj_tbl =>l_Line_Adj_tbl
    , x_Line_Adj_val_tbl =>l_Line_Adj_val_tbl
    , x_Line_price_Att_tbl =>l_Line_price_Att_tbl
    , x_Line_Adj_Att_tbl =>l_Line_Adj_Att_tbl
    , x_Line_Adj_Assoc_tbl =>l_Line_Adj_Assoc_tbl
    , x_Line_Scredit_tbl =>l_Line_Scredit_tbl
    , x_Line_Scredit_val_tbl =>l_Line_Scredit_val_tbl
    , x_Lot_Serial_tbl =>l_Lot_Serial_tbl
    , x_Lot_Serial_val_tbl =>l_Lot_Serial_val_tbl
    , x_action_request_tbl =>l_action_request_tbl,
    x_return_status=> l_return_status,
    x_msg_count=> l_msg_count,
    x_msg_data=> l_msg_data);
    if l_msg_count > 0 then
    for l_index in 1..l_msg_count loop
    l_msg_data := oe_msg_pub.get(p_msg_index => l_index, p_encoded => 'F');
    update XXSC_SALES_ORDER_IMPORT
    set process_flag='E',remarks=l_msg_data
    where iwb_no=c_data_rec.iwb_no;
    commit;
    dbms_output.put_line('Order Failed.'||l_msg_data);
    end loop;
    end if;
    -- Check the return status
    if l_return_status = FND_API.G_RET_STS_SUCCESS then
    update XXSC_SALES_ORDER_IMPORT
    set process_flag='Y',ORDER_NUMBER=l_header_rec.order_number,remarks='SUCCESS'
    where iwb_no=c_data_rec.iwb_no;
    commit;
    fnd_file.put_line (fnd_file.output,'Order no:'||l_header_rec.order_number||' Created for the IWB no:'||c_data_rec.iwb_no);
    dbms_output.put_line('Order..'||l_header_rec.order_number);
    Else
    dbms_output.put_line('Order Failed.');
    end if;
    commit;
    END LOOP;
    End;
    /

    Your code always sends 4 line records with each header. Code is not checking if it belongs to same header or not. Please check your code.

  • "following domains are not available" error - functionally trusted domains but with same NETBIOS dc computernames giving problems.

    For SCOM monitoring and user permissions I am trying to add the Action Account from HQ.local domain to some other domains like DOMAIN1.local, TEST1.local and TEST2.local. 
    (a trust persists between the domains en HQ.local, and DNS Conditional forwarders are configured to correctly resolve the FQDN DNS names).
    Problem is, when adding a user from the HQ.local domain to the Active Directory of the DC's SRVPDC01.DOMAIN1.local or SRVPDC01.TEST1.local domain I get an error:
    "The Active Directory Domain Controllers Required to find the selected objects in the following domains are not available:
    HQ.local
    Ensure the Active Directory Domain Controllers are available, and try to select the objects again."
    But when I try to do the same thing, so add user1 from HQ.local to the AD on TESTDC01.TEST2.local…. No error!
    The other way around, like adding users from DOMAIN1.local, TEST1.local or TEST2.local to the DC01.HQ.local Active directory… also no error!
    To make things even more strange, when I validate the trust with HQ.local… and then try to add user1.HQ.local -> No problem, but only for about 1 minute.. After that
    it doesn't recognize user1.HQ.local and only displays some CN=S-1-5... ID of the user. Also when trying to add a new user, I receive the error again.
    My guess is that the problem has something to do with the same NETBIOS names of the DC's (server 3 and 4). because authenticating users from HQ.local and TEST2.local
    doesn't give me errors and all other domains which have same DC names are giving errors. 
    (for testing purposes I set-up TESTDC01.TEST2.local with a different DC servername to see if the error persists, and it didn't).
    Overview of the servers and situation:
    - All server 3, 4 and 5 are on separate Vlan's and have no connectivity among each other. But they do have connectivity to the internet, the HQ.local domain and its servers
    DC01 and DC02.
    - same firewall settings for each vlan
    - even Server 4 and server 5 are on the same Vlan for testing purposes, just to make sure the firewall is not the problem.
    Server no.
    DC FQDN name
    Domain DNS name
    1
    DC01.HQ.local
    HQ.local
    2
    DC02.HQ.local
    HQ.local (secondary DNS)
    3
    SRVPDC01.DOMAIN1.local
    DOMAIN1.local
    4
    SRVPDC01.TEST1.local
    TEST1.local
    5
    TESTDC01.TEST2.local
    TEST2.local
    Two-Way Forest Trusts are configured without any problems but here's an overview when the error occurs.
    On SRVPDC01.DOMAIN1.local -> adding user1.HQ.local to the AD =
    error
    On DC01.HQ.local -> adding user1.DOMAIN1.local to the AD = no problem.
    On SRVPDC01.TEST1.local -> adding user1.HQ.local to the AD =
    error
    On DC01.HQ.local -> adding user1.TEST1.local to the AD = no problem.
    On TESTDC01.TEST2.local -> adding user1.HQ.local to the AD = no problem.
    On DC01.HQ.local -> adding user1.TEST2.local to the AD = no problem.
    What are my options to fix this? There must be more possibilities than renaming the DC names.
    And why does the problem only occur when adding users in Foreign domain ->from-> HQ.local and not HQ.local ->from-> Foreign domain. Because that's the only
    thing I really need: users from HQ.local having permissions in groups of the other domains… :(
    Any advise or help would be much appreciated. I've been struggeling with this for a while now and i'm pretty much out of ideas.

    Hi aperelli,
    On srvpdc01.DOMAIN1.local
    nslookup
    set type=all
     _ldap._tcp.dc._msdcs.hq.local
    Result:
    C:\Windows\system32>nslookup
    DNS request timed out.
        timeout was 2 seconds.
    Default Server:  UnKnown
    Address:  ::1
    > set type=all
    > _ldap._TCP.DC._msdcs.HQ.local
    Server:  UnKnown
    Address:  ::1
    Non-authoritative answer:
    _ldap._TCP.DC._msdcs.HQ.local  SRV service location:
              priority       = 0
              weight         = 100
              port           = 389
              svr hostname   = dc01.hq.local
    _ldap._TCP.DC._msdcs.HQ.local  SRV service location:
              priority       = 0
              weight         = 100
              port           = 389
              svr hostname   = dc02.hq.local
    dc01.hq.local  internet address = 192.168.1.200
    dc02.hq.local  internet address = 192.168.1.201
    =======================
    On srvpdc01.TEST1.local
    nslookup
    set type=all
     _ldap._tcp.dc._msdcs.hq.local
    Result:
    C:\Windows\system32>nslookup
    DNS request timed out.
        timeout was 2 seconds.
    Default Server:  UnKnown
    Address:  ::1
    > set type=all
    > _ldap._TCP.DC._msdcs.HQ.local
    Server:  UnKnown
    Address:  ::1
    Non-authoritative answer:
    _ldap._TCP.DC._msdcs.HQ.local  SRV service location:
              priority       = 0
              weight         = 100
              port           = 389
              svr hostname   = dc01.hq.local
    _ldap._TCP.DC._msdcs.HQ.local  SRV service location:
              priority       = 0
              weight         = 100
              port           = 389
              svr hostname   = dc02.hq.local
    dc01.hq.local  internet address = 192.168.1.200
    dc02.hq.local  internet address = 192.168.1.201
    =======================
    On DC01.HQ.local
    nslookup
    set type=all
     _ldap._tcp.dc._msdcs.domain1.local
    Result:
    C:\Windows\system32>nslookup
    Default Server:  dc01.hq.local
    Address:  192.168.1.200
    > set type=all
    > _ldap._tcp.dc._msdcs.domain1.local
    Server:  dc01.hq.local
    Address:  192.168.1.200
    Non-authoritative answer:
    _ldap._tcp.dc._msdcs.domain1.local      SRV service location:
              priority       = 0
              weight         = 100
              port           = 389
              svr hostname   = srvpdc01.domain1.local
    srvpdc01.domain1.local     internet address = 10.0.113.150
    =======================
    I have tested port 3268 and 3269 with Port Query UI and ports are listening on alle DC servers.

  • HT4528 I went to Update my I phone (4)  and It was updating then said it could not finish the update left my phone on the black  apple  after 40 mins  went to recovery mode .. it said restore it but everytime I try  it  said error 18 what can i do

    pretty much what the  title said
    I went to Update my I phone (4)  and It was updating then said it could not finish the update left my phone on the black  apple  after 40 mins  went to recovery mode .. it said restore it but everytime I try  it  said error 18 what can i do? 

    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased. Some glitch occured and you have to restore/erse the iPod. Y will have to restore from an existing backup if y ohave one.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        

  • Package javax.servlet does not exist, package javax.servlet.http does not

    Dear All,
    I am a newbie to JAVA.
    I installed JDK1.6.0_04, then NetBeans IDE 6.0
    I tried compiling an example servlet, but got this error message:
    package javax.servlet does not exist, package javax.servlet.http does not exist
    I tried locating these packages, but in vain. I also tried setting the CLASSPATH to many values, still it did not work.
    Can anyone, please, help me with this.
    Should I be able to see/locate these packages, do I have to download them?
    Thank you very much.

    davidgoodman wrote:
    Dear All,
    I am a newbie to JAVA.
    I installed JDK1.6.0_04, then NetBeans IDE 6.0
    I tried compiling an example servlet, but got this error message:
    package javax.servlet does not exist, package javax.servlet.http does not exist
    What servlet/JSP engine do you plan to deploy to? Tomcat, perhaps?I think it's Tomcat (C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.14). Are there other engines that come with NetBeans IDE 6.0 (when I downloaded NetBeans, I chose ALL)
    >
    If so, you'll need to put the servlet JAR in your CLASSPATH. (servlet-api.jar for Tomcat 5.5 and earlier, servlet.jar for 6.0 >and later.)
    I tried locating these packages, but in vain.
    You won't find them until you realize that you have to deploy that servlet someplace.How to deploy?
    I also tried setting the CLASSPATH to many values, still it did not work.
    See above. What were you planning to set CLASSPATH to?First I set to:
    C:\Program Files\Apache Software Foundation\Apache Tomcat 6.0.14\lib (because I found jar named servlet-api.jar in this folder)
    Later I added this:
    C:\Program Files\Java\jdk1.6.0_04\lib (out of trial-and-fail)
    Finally I added some paths that lead to a library such as
    C:\Program Files\glassfish-v2\lib
    C:\Program Files\glassfish-v2\lib\ant\lib
    Can anyone, please, help me with this.
    Should I be able to see/locate these packages, do I have to download them?
    You have to get a servlet/JSP engine. Step 1.Thank you for your help

  • Master Gateway node for the domain is not available

    Any hints in the catalina.out, exceptions.log, node.log or domain log files?

    Hi All, We are using Informatica 9.5.1 and Oracle 11g as by metadata DB. Initially our INFA_DOMAIN_REPO password was expired, so we couldn't connect to repository. Then we reset the same password and we restarted infa services also. But when we tried to connect repository we faced "Failed to connect repository" error. When i try to connect to Admin Consol, page was not displayed. When we check the node.log file it had a error message saying "2014-07-20 04:45:37,553 ERROR [Monitor Guaranteed Message Logger Thread] [CCM_10322] While logging messages to the Log Service, the following error occurred: [[DOM_10022] The master gateway node for the domain is not available. Electing another master gateway. Wait for the election of the master gateway node to  complete. If the problem persists, verify that the master gateway node is running.]. Fix the errors written to the node.log file. com.informatica.isp.domainservice.exceptions.ISPMasterNotAvailableException: [DOM_10022] The master gateway node for the domain is not available. Electing another master gateway. Wait for the election of the master gateway node to  complete. If the problem persists, verify that the master gateway node is running" We checked all the env variables and all looking fine.Node is also running. Please help to uderstand this issue ans the fix. Thanks in advance Regards,JP

Maybe you are looking for