Questions about Using APIs to import Bills and Routings - AND COSTS

Hi Forum - the following is a back-and-forth with a customer about use of APIs - Inventory developer suggested I post the question here. Note the 2nd question - and thanks for any assistance.
SR# 7332152.994 ALCOA
Instructions given to ct:
Q1 - Can I load the bill header and components at the same time?
You should be able to load the bill header and components at the same time. Customer loads bill and component data inserting enough "other" data for each so that the bill sequence id will be derived. For the component record, the assembly item, org and alternate_bom_designator values will be used by BMCOIN to derive the bill_sequence_id.
Example:
INSERT INTO BOM_BILL_OF_MTLS_INTERFACE
ORGANIZATION_CODE,
ITEM_NUMBER,
ALTERNATE_BOM_DESIGNATOR,
PROCESS_FLAG,
TRANSACTION_TYPE
VALUES
'M1',
'&PARENT_ITEM',
NULL,
'1',
'CREATE'
INSERT INTO BOM_INVENTORY_COMPS_INTERFACE b
ORGANIZATION_CODE,
ASSEMBLY_ITEM_NUMBER,
ALTERNATE_BOM_DESIGNATOR,
COMPONENT_ITEM_NUMBER,
OPERATION_SEQ_NUM,
COMPONENT_QUANTITY,
EFFECTIVITY_DATE,
PROCESS_FLAG,
TRANSACTION_TYPE
VALUES
'M1',
'&PARENT_ITEM',
NULL,
'&COMPONENT_ITEM',
1,
1,
trunc(SYSDATE),
1,
'CREATE'
Hi Aruna, some additional information that may be useful:
We can load/create the bill header and components at the same time using the scripts given (as above)
Required Data for Creating a Routing : assembly_item_id,
organization_id, routing_type, transaction_type, process_flag
And following scripts can be used to load routing header and operations equences.
INSERT INTO BOM_OP_ROUTINGS_INTERFACE
(assembly_item_id,
organization_id,
routing_type,
transaction_type,
process_flag)
VALUES (2255800,207,1,'Create',1);
INSERT INTO BOM_OP_SEQUENCES_INTERFACE
(assembly_item_id,
organization_id,
operation_seq_num,
Department_code,
effectivity_date,
transaction_type,
process_flag,
operation_description)
VALUES
(2255800,207,100,'ASSEMBLY',
to_date('24-FEB-2009'),'Create',1,
'Paint Wagon');
Q2: One more question, can an expense item can be added to the bill and can contribute the cost.
As there is a confusion of what I asked, below I am rephrasing my question
By an Expense Inventory Item, I mean an item that is just tracked for quantity only i.e.,Checking the attributes - Inventory Item, Stockable, Transactable under Inventory Tab and not checking the attribute - 'Inventory Asset Value'.
My question here is, For these Expense Inventory Items, What is the difference between having the 'Costing enabled' attribute turned ON as opposed to having it UNCHECKED
*Q3 I have tried to load the items and I could only load 1st level of components but could not load second level of bom at the same time.
While inserting I have inserted plan level too.
Please let me know if I have to do anything different to load second level.*
Thanks
James

You may want to look at using the more4apps bill of materials wizard, an excel based solution for uploading assemblies and their components.

Similar Messages

  • Questions about using Lightroom to import my pictures..

    Hi.
    My main use for Lightroom is picture import, as it does a superb job on arranging my pictures at import time, but I have a few questions that maybe you guys can answer.
    First and foremost, my camera has that orientation data, but somehow the image file that ends up on my hard drive is always vertical (i.e. 3264x2448) even though there are pictures that are shot horizontal (i.e. 2448x3264). Is Lightroom capable of importing the pictures already rotated, or is there a setting that allows that? (Note that the pictures INSIDE Lightroom are shown rotated, but I'm talking about the JPG file stored in my hard drive)
    Second, how can I set up Windows Vista to display Lightroom as an option to import pictures when I insert my card or connect my camera?
    Thanks..

    Let me see if I understand your rotation issue. It seems that you shoot jpeg (using which camera?) and that the images show correctly rotated in Lightroom but not in another (unspecified) application.
    Does the software that came with the camera show the jpeg properly rotated? (I'm certain that it does.) What software doesn't show proper rotation? Windows Explorer? You would not want Lightroom to physically rotate the image on disk since that would violate it's non-destructive editing rule.
    Lightroom has a preference setting that allows the import dialog to be shown when a memory card is detected. Avoid importing directly from the camera and use a card reader.

  • Question about using PowerShell to detect web page availability and then perform alternate action.

    I have a specific Windows 7 machine that needs to always display a specific Intranet page.  (it shows an internal status page in kiosk mode).
    If this machine every loses connectivity to the web server, unfortunately, the browser shows the typical "web page could not be retrieved" error message and it never recovers.  I need to manually reload the page when the connection is restored.
    I'm thinking if it would be possible to write a PowerShell script that checks the connectivity/availability of the Intranet page and if it detects an error, it would launch a browser that points to a local file html file which would say something more professional
    and graceful like "site temporarily down for maintenance."  Also, if the PowerShell script could run on a regular interval, when the Intranet page becomes available again, it would close the browser that is showing the maintenance page and start
    showing the page with the original Intranet site.
    For the Intranet site checking, I was looking at the invoke-webrequest: as the mechanism.
    Any guidance would be appreciated as I am new to PowerShell.

    With these lines you get the static content of the web page:
    $page = new-object net.webclient
    $page.UseDefaultCredentials = $True
    $Page.DownloadString(“http://www.intranet.local.com/”)
    You could first check whether the web server is pingable, then use the lines above to see whether there is a HTML response.
    If the web server doesnt respond you could kill the browser process and then open a HTML page stored locally on the Win 7 client:
    Invoke-Item .\ErrorPage.html
    If the web server responds, kill the browser and restart it showing the Intranet page.
    All this run from a scheduled task.

  • I have a question about using multiple ipads in our school.  Each of our teachers have a iPad and AppleTV in their classroom.  The issue is, with our classrooms so close in proximity to one another, is there a way to pair teacher

    I have a question about using multiple ipads in our school.  Each of our teachers have a iPad and AppleTV in their classroom.  The issue is, with our classrooms so close in proximity to one another, is there a way to pair teacher #1 iPad to its AppleTV without effecting/projecting onto the adjacent teachers #2 classroom AppleTV?

    Not as such.
    Give the AppleTV units unique names and also enable Airplay password in settings with unique passwords for each teacher.
    AC

  • Question about using 10g/11g and APEX ...

    Hi,
    I just recently learned of Oracle's APEX and have a few questions about using it.
    Can I use APEX with express, standard, and enterprise editions of 10g and 11g?
    Are all of these free to use?

    You might want to read about APEX rather than jumping into questions that are reasonably well documented. Info at http://www.oracle.com/technology/products/database/application_express/index.html
    Your specific questions:
    1) Apex is a package that can be installed into any properly licensed database.
    2) The price for the production license of the database varies by edition.
    The price for Express Edition is $0 for use in production. Part of the cost for that edition is 'no Oracle Support based support, no patches, data volume limitation, etc.'

  • Hi, I have quick question about use of USEBEAN tag in SP2. When I specify a scope of SESSION for the java bean, it does not keep the values that I set for variable in the bean persistent.Thanks,Sonny

     

    Make sure that your bean is implementing the serializable interface and that
    you are accessing the bean from the session with the same name.
    Bryan
    "Sandeep Suri" <[email protected]> wrote in message
    news:[email protected]..
    Hi, I have quick question about use of USEBEAN tag in SP2. When I
    specify a scope of SESSION for the java bean, it does not keep the
    values that I set for variable in the bean persistent.Thanks,Sonny
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • Question about using new battery in old Powerbook

    I have a pre-intel Powerbook G4, and the battery is pretty much toast (lasts about 15 minutes now). I have ordered a new battery for it, and I have this question about using it:
    Am I smarter to keep the new strong battery out of the PB most days (as I usually work with it plugged in at home) and just pop it in when I know I will be out surfing on batteries? Or is it just as good living in my laptop 24/7 and only occasionally being called upon to do its job?
    Current bad Battery Information below:
    Battery Installed: Yes
    First low level warning: No
    Full Charge Capacity (mAh): 1144
    Remaining Capacity (mAh): 1115
    Amperage (mA): 0
    Voltage (mV): 12387
    Cycle Count: 281
    thanks folks, Shereen

    Hi, Shereen. Every Powerbook battery wants to be used — drained and then recharged — at least every couple of weeks. If you've always used your Powerbook on AC power nearly all the time, and not followed that pattern of discharging and recharging the battery every week or two, it's possible that your use habits have shortened the lifespan and prematurely diminished the capacity of your old battery. Of course it's also possible that your battery is merely old, as a battery's capacity also diminishes with age regardless of how it's used. You didn't say how old the battery is in years, so this may or may not be an issue. I mention it only because it can be an issue.
    For general information on handling a battery for the longest possible lifespan, see this article. My advice on the basis of that article and long experience reading these forums is that it would be OK to do as you propose, but I doubt that you'd derive any significant benefit from it. You would still want to be sure of putting the new battery through a charge/discharge cycle every week or two, even if you didn't have a reason to use the Powerbook away from home or your desk, because sitting unused outside the computer is just as bad for a battery as sitting unused inside it. And you should never remove the battery from your computer when it's completely or almost completely discharged and let it sit that way any longer than a day or two.
    Message was edited by: eww

  • Question about using TVARV in an ABAP program

    Hello gurus, Im sorry about the silly question.
    I have a question about using TVARV in an ABAP program.
    A program is presenting a problem and I think that in this code:
    SELECT SIGN OPTI LOW HIGH
      FROM TVARV
      INTO TABLE R_1_163431035_VELOCIDADE
      WHERE  NAME = '1_163431035_VELOCIDADE'
      AND    TYPE = 'S'.
      IF ZMM001-VELOCIDADE_B   IN R_1_163431035_VELOCIDADE AND
          ZOPERADORAS-OPERADORA = 'ABCD' AND
          ZMM001-MATERIAL       IN R_1_163431035_PRODUTO.
      ELSE.
      ENDIF.
    What happens is that the value "ZMM001-SPEED" B not exist in "R1_163431035_VELOCIDADE" but the program executes commands under the IF and not under the ELSE, as I imagine it would work. Is this correct ?
    I am new to ABAP programming, but I have a lot of XP in other programming languages ​​and this makes no sense to me.
    Anyone know where I can find some documentation of the use of "TVARV" in ABAP programs?
    I search the Internet if other programmers use TVARV this way, but found nothing, which leads me to think that was a quick and dirty solution that used here.
    If this is a bad way to program, what would be the best way?
    Regards
    Ronaldo.

    Hi Ronaldo,
    But in this case, the range is not empty, there are 17 records, in this way.:
    For the column "SING" all values ​​are "E"
    It means that the result is false if ZMM001-VELOCIDADE_B has the same value as one of the 17 records (E = exclude).
    For instance, if it has value 'C' and one of 17 records matches C, then the result is false.
    The "IF" with "IN" using "TVARV" as used in the program of the post above has the same behavior of a selection screen?
    Yes, the same behavior as the selection criterion to be exact. You can press the help key in the complex selection dialog for more info.
    I know it's a silly and very basic question, but other language that I used, only the SQL has the "IN" operator, but I think they work in different ways, so I would like to understand how it works in ABAP.
    Not silly ;-). Yes they work differently.
    More info here:
    - http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba74635c111d1829f0000e829fbfe/frameset.htm
    - http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba71f35c111d1829f0000e829fbfe/frameset.htm
    BR
    Sandra

  • Question about using Macbook in Vietnam.

    I have a question about using Macbook in Vietnam. I bought my mac here in the US, and I'm going to visit Vietnam, but I'm wondering if I can plug in the power directly into the wall or I have to need any convert power modem for my mac. The only thing I know that Vietnam use 220V so, can anyone help me?

    You may need a plug adaptor, but you don't need a power converter.
    (43828)

  • Question about Using PAPI Web Service in PowerBuilder 9

    Hi, all.
    I Have a simple question about using papiws in power builder 9.
    In pb9, I created a new Web Service Proxy Wizard and I input a url for papiws(ex. http://seraphpernote:7001/papiws/PapiWebService) and click next.
    But I couldn't get any Service List.
    In Eclipse, I used this url for using papiws well.
    Does anybody know about this case??
    help me plz.

    IIRC you must activate PAPI-WS for the engine. In Studio you do it by right-clicking on the project, then "engine preferences". In enterprise/standalone you must activate PAPI-WS in the Admin Center.

  • Question about using Runtime.getRuntime();

    hi all
    i have a question about using Runtime.getRuntime(). if i use this to get a runtime reference to run an external program, is it considered as starting a new thread inside the thread that starts it?
    is it safe to do it in the Session EJB? if not, what can you recommand to do it? thanks

    hi all
    i have a question about using Runtime.getRuntime().
    if i use this to get a runtime reference to run an
    external program, is it considered as starting a new
    thread inside the thread that starts it? No. Starting a process, starts a process. Threads have nothing to do with it.
    is it safe to do it in the Session EJB? if not, what
    can you recommand to do it? thanksSo what? Run another process? If you want to run another process in java then your choices are to use Runtime.exec() or use JNI. And using JNI will probably end up doing exactly the same thing as Runtime.exec().
    "Safe" is harder. Typically to correctly use Runtime.exec() you must use threads. And as noted threads ideally should not be used. You can use them but if you do you had better understand why they didn't want you using them in the first place. You had also better be sure that you really want to wait for it to complete.
    Other than that Runtime.exec() is safe because it can't crash the VM like other interfaces can (like JNI.)

  • I have a question about using adobe CS files in CS6 edition

    I am a graphic artist . I have a question about using adobe CS files in CS6 edition. when I am gonna open thse adobe CS created files in CS6 Edition i get a color variation than i made with the CS version.Please give me an idea about this issue as soon as possible.If you need i can upload my problem as a screenshot to clearity

    donrulz,
    Are your Edit>Color Settings the same?
    Are you using spot colours, such as Pantone (there have been some changes in CMYK values with new colour books)?

  • Where Would be the best category to ask a question about using dashboard?

    Where Would be the best category to ask a question about using dashboard?

    However, don't ask it in this topic. Create a new topic for the question with a title describing that you are looking for Dashboard help.

  • HT204088 i have questions about my account im being billed by I-Tunes since Januaray 2014 and i have cancelled all my appssince the begining of the year 2014 i have only one app open and i havent played it yet  i need the billing to stop and an adjustment

    I have a question about my bill, im being billed on a steady basis and im not using my aaps on my itune account
    on 2-10-14  $10.68
    0n 2-9-14  $10.68 & $5.34
    on 2-4-14 $10.54
    on 2-2-14 $14.18 & $12.80
    1-30-14 $10.54
    1-27-14 $5.19
    and so on    but im not using n
    my i-tunes or playing games

    We are fellow users here on these user-to-user forums, you're not talking to iTunes Support nor Apple.
    What do you mean 'cancelled all my apps' ?
    Have you got any auto-renewing subscriptions ? There are instructions on this page for managing and stopping them : http://support.apple.com/kb/HT4098
    Or does anybody else have access to your account and/or devices and may have made those purchases ? If nobody else has, and if they aren't auto-renewing subscriptions that you hadn't stopped, then you can try contacting iTunes Support : http://www.apple.com/support/itunes/contact/

  • Question about using threads and synchronizing objects

    Hi all,
    I am not that familiar and I have 2 questions.
    QUESTION 1
    I have a server which just sits and accepts incomming connections, then I spawn off a new thread which implements Runnable, and then call the run method. But the loop would not iterate, it would just sit inside the run method (which has rather long loop in it). I changed the class to extend Thread and called the start() method, rather than run(), and everything worked out fine.
    Anyone know why this is?
    QUESTION 2
    So I am building a client server chat application where a user can be in multiple chat rooms. I have this personObject which has output/input streams. In the personObject, I create writeObject/ readObject method, which simply does as it implies.
    I figured that I should make these methods synchronized, to ensure things run smoothly. however, when I made a call to readObject, which sat there and waited, and then made a call to writeObject, I would not enter the writeObject method. I took out the synchronized on the writeObject, and everything worked out fine.
    I was under the assumption that synchronizing a method only synchronized on that method, not on the whole class. How come then was I not able to enter the writeObject method?
    The more I think about it, I don't think I need to have these methods synchronized, but I thought it wouldn't hurt.
    Thanks for the help.

    Hi all,
    I am not that familiar and I have 2 questions.
    QUESTION 1
    I have a server which just sits and accepts incomming
    connections, then I spawn off a new thread which
    implements Runnable, and then call the run method.
    But the loop would not iterate, it would just sit
    inside the run method (which has rather long loop in
    it). I changed the class to extend Thread and called
    the start() method, rather than run(), and everything
    worked out fine.
    Anyone know why this is?
    You should still implement Runnable, rather than extending Thread. Like this: Runnable r = new MyRunnable();
    Thread t = new Thread(r);
    t.start(); run() is just another method. Nothing special about it as far as multithreading or anything else goes.
    start() is the method that actually spawns a new thread of execution.
    I was under the assumption that synchronizing a
    method only synchronized on that method, not on the
    whole class. How come then was I not able to enter
    the writeObject method?When you synchronize, you obtain a lock. As long as you hold that lock--until you exit the sync block or call wait()--no other thread can enter that block or any other block that obtains the same lock.
    Two synchronized methods on the same object rely on obtaining the same lock--there's one lock for each object.

Maybe you are looking for

  • How to Open PopUp from Managed Bean?

    Hi, Can you please let me know how can we open a pop up from managed bean. Thanks & Regards, Kiran Konjeti

  • My computer doesn't recognize my iPod when hooked up through a USB port?

    I restarted my computer and my iPod, and it doesn't work. The iPod does not recognize being hooked up to a computer, and the computer does not recognize that the iPod is hooked up to it. My iPod's not even charging when connected to my computer. This

  • Non cumulative infocube without BX

    Hi Experts, I need to compress and create aggregates for the inventory cube (Has Non cumulative in/out flow KFs) We do not use BX as all of the initial stock levels are defined using movements.  Does this change anything? Which way is it as I have se

  • Add location services in the control center

    To save power I go into Settings and turn on/off the all the Location Services.  Is there any plans to add location services in the control center for quicker access?  Or is there something already in place?

  • Create Web Service Option not available for BAPI Functional Module

    Hello Experts I am trying to create a web service from a standard BAPI functional module referring following document http://help.sap.com/saphelp_nw04/Helpdata/EN/e9/ae1b9a5d2cef4ea4b579f19d902871/content.htm I am facing the same issue as mentioned i