WIP query for comparison with WIP account

Hi Experts,
I have a client who needs to have a report that will show the incomings and outoings in the WIP account. This sould show the PdO number and details as in the select statement.
I have issues with the Labor that is backflushed. This does not show up on this query. In the end this query need to balance with the WIP account for verification by their CPA.
Any help would be appreciated.
SELECT T3.[ItemCode]"ItemCode", T3.[ItemCode]"Comp/Parent", T2.[DocDate]"Date", T3.[BaseRef]"PdONum",
( T3.[Quantity]*-1)"Qty",  T3.[Price] , (T3.[Quantity]*-1*T3.[Price]) "Ext", T0.TransId
FROM OJDT T0  INNER JOIN JDT1 T1 ON T0.TransId = T1.TransId
INNER JOIN OIGN T2 ON T0.TransId = T2.TransId
INNER JOIN IGN1 T3 ON T2.DocEntry = T3.DocEntry
INNER JOIN OITM T4 ON T3.ItemCode = T4.ItemCode
WHERE T1.[Account] = '_SYS00000000166' and  T0.[RefDate] >=[%0] AND  T0.[RefDate] <=[%1]
UNION
SELECT T2.[ItemCode]"ItemCode", T6.[Code]"Comp/Parent",T2.[RlsDate]"Comp/Parent", T2.[DocNum]"PdONum",
T3.[IssuedQty] "Qty", T7.[AvgPrice], (T1.[Debit]-T1.[Credit]) "Ext", T0.TransId 
FROM OJDT T0  INNER JOIN JDT1 T1 ON T0.TransId = T1.TransId
INNER JOIN OWOR T2 ON T0.TransId = T2.TransId
INNER JOIN WOR1 T3 ON T2.DocEntry = T3.DocEntry
INNER JOIN OITT T5 ON T2.ItemCode = T5.Code
INNER JOIN ITT1 T6 ON T5.Code = T6.Father
INNER JOIN OITM T7 ON T3.ItemCode = T7.ItemCode
WHERE T1.[Account] = '_SYS00000000166' and  T0.[RefDate] >=[%0] AND  T0.[RefDate] <=[%1]
and  T3.[IssuedQty]<>'0'and T6.[Code] = T3.[ItemCode] AND T6.[Code] >= 'N000001' AND T6.[Code] <= 'N000131'
UNION
SELECT T3.[ItemCode]"ItemCode", T3.[ItemCode]"Comp/Parent", T2.[DocDate]"Date", T3.[BaseRef]"PdONum",
T3.[Quantity]"Qty",  T3.[Price] , (T3.[Quantity]*T3.[Price]) "Ext", T0.TransId
FROM OJDT T0  INNER JOIN JDT1 T1 ON T0.TransId = T1.TransId
INNER JOIN OIGE T2 ON T0.TransId = T2.TransId
INNER JOIN IGE1 T3 ON T2.DocEntry = T3.DocEntry
INNER JOIN OITM T4 ON T3.ItemCode = T4.ItemCode
WHERE T1.[Account] = '_SYS00000000166' and  T0.[RefDate] >=[%0] AND  T0.[RefDate] <=[%1]
Marli
Edited by: Marli Schutte on Jun 29, 2010 6:31 PM
Edited by: Marli Schutte on Jun 29, 2010 6:33 PM

Hi All,
I found that this query worked:
SELECT Distinct T3.[BaseRef]"PdONum",  T2.[DocDate]"Date",  (T1.[Debit]) "JE Amt", T0.TransId F
ROM OJDT T0  INNER JOIN JDT1 T1 ON T0.TransId = T1.TransId I
NNER JOIN OIGN T2 ON T0.TransId = T2.TransId
INNER JOIN IGN1 T3 ON T2.DocEntry = T3.DocEntry
INNER JOIN OITM T4 ON T3.ItemCode = T4.ItemCode
WHERE T1.[Account] = '_SYS00000000166' and  T0.[RefDate] >=[%0] AND  T0.[RefDate] <=[%1] AND T3.[Price] <> '0' and T1.[Debit] <> '0'
union
SELECT T3.[BaseRef]"PdONum",  T2.[DocDate]"Date",  (T1.[credit]*-1) "JE Amt", T0.TransId
FROM OJDT T0  INNER JOIN JDT1 T1 ON T0.TransId = T1.TransId
INNER JOIN OIGN T2 ON T0.TransId = T2.TransId
INNER JOIN IGN1 T3 ON T2.DocEntry = T3.DocEntry
INNER JOIN OITM T4 ON T3.ItemCode = T4.ItemCode
WHERE T1.[Account] = '_SYS00000000166' and  T0.[RefDate] >=[%0] AND  T0.[RefDate] <=[%1] AND T3.[Price] <> '0' and T1.[credit] <> '0'
UNION
SELECT  T2.[DocNum]"PdONum",T2.[RlsDate]"Comp/Parent",  (T1.[Debit]) "JE Amt",  T0.TransId 
FROM OJDT T0  INNER JOIN JDT1 T1 ON T0.TransId = T1.TransId
INNER JOIN OWOR T2 ON T0.TransId = T2.TransId
INNER JOIN WOR1 T3 ON T2.DocEntry = T3.DocEntry
INNER JOIN OITT T5 ON T2.ItemCode = T5.Code
INNER JOIN ITT1 T6 ON T5.Code = T6.Father
INNER JOIN OITM T7 ON T3.ItemCode = T7.ItemCode
WHERE T1.[Account] = '_SYS00000000166' and  T0.[RefDate] >=[%0]
AND  T0.[RefDate] <=[%1] and  T3.[IssuedQty]<>'0'and T6.[Code] = T3.[ItemCode] AND T7.[AvgPrice] <> '0' and T1.[Debit] <> '0'
UNION
SELECT T2.[DocNum]"PdONum",  T2.[RlsDate]"Comp/Parent",  (T1.[Credit]*-1) "Ext", T0.TransId 
FROM OJDT T0  INNER JOIN JDT1 T1 ON T0.TransId = T1.TransId
INNER JOIN OWOR T2 ON T0.TransId = T2.TransId
INNER JOIN WOR1 T3 ON T2.DocEntry = T3.DocEntry
INNER JOIN OITT T5 ON T2.ItemCode = T5.Code
INNER JOIN ITT1 T6 ON T5.Code = T6.Father
INNER JOIN OITM T7 ON T3.ItemCode = T7.ItemCode
WHERE T1.[Account] = '_SYS00000000166' and  T0.[RefDate] >=[%0]
AND  T0.[RefDate] <=[%1] and  T3.[IssuedQty]<>'0'and T6.[Code] = T3.[ItemCode] AND T7.[AvgPrice] <> '0' and T1.[Credit] <> '0'
UNION
SELECT T3.[BaseRef]"PdONum",  T2.[DocDate]"Date", T1.[Debit],T0.TransId
FROM OJDT T0  INNER JOIN JDT1 T1 ON T0.TransId = T1.TransId
INNER JOIN OIGE T2 ON T0.TransId = T2.TransId
INNER JOIN IGE1 T3 ON T2.DocEntry = T3.DocEntry
INNER JOIN OITM T4 ON T3.ItemCode = T4.ItemCode
WHERE T1.[Account] = '_SYS00000000166' and  T0.[RefDate] >=[%0] AND  T0.[RefDate] <=[%1] and T1.[Debit] <> '0'
Union
SELECT T3.[BaseRef]"PdONum", T2.[DocDate]"Date",T1.[Credit]*-1,T0.TransId
FROM OJDT T0  INNER JOIN JDT1 T1 ON T0.TransId = T1.TransId
INNER JOIN OIGE T2 ON T0.TransId = T2.TransId
INNER JOIN IGE1 T3 ON T2.DocEntry = T3.DocEntry
INNER JOIN OITM T4 ON T3.ItemCode = T4.ItemCode
WHERE T1.[Account] = '_SYS00000000166' and  T0.[RefDate] >=[%0] AND  T0.[RefDate] <=[%1] and T1.[Credit] <> '0'

Similar Messages

  • Even I cant believe this is happening again! i'm once again asking for help with my account.  Since im very sick I ask that u look into my account and read the hell verizon has put me through and assist ending the hell once and for all even if that means

    Even I cant believe this is happening again! i'm once again asking for help with my account.  Since im very sick I ask that u look into my account and read the hell verizon has put me through and assist ending the hell once and for all even if that means ending my contract, i just want the hell over. I went into my bill tonight and the mess was still there I paid $110. that's what I owe

    I guess I spoke too soon!  I really can't believe this nightmare is not over yet! My account is still wrong.  The credit that I was due totaled $63.00  I am looking at a message on my phone saying that $21.01 was credited which makes my balance $219.72.  I received a text the following day that says, I processed your credit of $30.00 and your new balance $216.73 how is that possible?  None of the late fees were credited and the amount due for my monthly charges are wrong.  Before any changes were made to my data plan back in Nov. My monthly charges were $140.00, I needed my hot spot back and i was told that the hot spot will increase my bill $10 for each phone that totals $20.  The customer rep that change my data plan at that time also gave me a credit of $20 to compensate for the increase until I had time to talk with customer service about the mix-up with my Hot spot. I originally had the hot spot, but the rep that change my plan almost a year prior told me nothing was changing except I was getting more for less money.  I explained to that rep that I need my hot spot 4 times a year...and I don't want my plan to have any changes. To verify what I'm telling u check my account and see that I called from Albany New York wanting to know where my hot spot was and I was told I didn't have the hot spot on my account since the last data change!  I lost money once again due to the verizon rep's.  so my current data plan the rep promised would increase $20 which makes my monthly charges that were $140 prior to the change $160 after the hot spot was returned to my account.  Then I was given a $12 credit per month for 12 months because of so many mistakes made to my account so with that $12 credit my monthly charges should $148 + surcharges + taxes and that's not what I see. I do know this much right now my account is in such a shambles I can hardly see the light at the end if there is an end!  I need real help!
    >> Personal information removed by Verizon Moderator to comply with the Verizon Wireless Terms of Service <<

  • Collection query for computers with windows management framework 3.0

    Hi,
    collection query for computers with windows management framework 3.0, but I cant found a way. I cant see that it is in the inventory data for SMS_G_System_ADD_REMOVE_PROGRAMS_64.DisplayName.
    So any way to get computers with windows management framework 3.0?
    /SaiTech

    select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_SoftwareProduct on SMS_G_System_SoftwareProduct.ResourceId
    = SMS_R_System.ResourceId where SMS_G_System_SoftwareProduct.ProductName like "Windows Management Framework 3.0%"
    That won't work because as mentioned, it doesn't appear in ARP.
    Torsten's suggestion will work or you can resort to software/hardware inventory using the info at
    http://serverfault.com/questions/555100/methods-to-detect-version-of-windows-management-framework
    Jason | http://blog.configmgrftw.com

  • Good day, I forgot to answer the security question for shopping with my account, how can I recover them?

    Good day, I forgot to answer the security question for shopping with my account, how can I recover them?

    1. See my User Tip for some help: Some Solutions for Resetting
        Forgotten Security Questions: Apple Support Communities.
    2. Here are two different but direct methods:
        a. Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
        b. Call Apple Support in your country: Customer Service: Contacting Apple for
            support and service.
    3. For other queries about Apple ID see Frequently asked questions about Apple ID.
    4. Rescue email address and how to reset Apple ID security questions
    5. For online assistance use Apple - Support - Express Lane

  • Non valuated Goods Receipt for materials with multiple account assignments

    We have been using multiple a/c assignments for services on purchase orders for sometime with no issues.  Recently we used a multiple a/c assignment distribution for a material P/O.  this didn't work the same and the Goods Receipt was set as non valuated.
    This leaves the cost showing as a commitment and we do not get any actual costs charged at the GR point until we get and post the invoice.  This only happens with multiple account assignments, all material P/O goods receipts for single assignments get valuated.
    Were not sure why this happens, and want it treated the same.  Is there any way we can get these valuated the same way single assignment materials or multi assignment services are.
    The non valuated GR flag is getting set automatically, but we can't see where this is coming from for this scenario, so were a bit stuck.
    Any advice/direction would be greatly appreciated.
    Thanks
    Graham

    Hi Deshamol, No the materials are all valuated, as mentioned, they all work fine when used as single a/c assignment.
    Anupam, Your answer doesn't make sense to me, this is 1 line on the P/O, therefore 1 material.  It can't be both valuated and none valuated for each a/c assignment. 
    I have read in a note there there is a business function that you can apply to get this working, has anybody tried it?
    Thanks
    Graham

  • Release Strategies for PR with Characteristics Account assignment

    Dear All,
    Please let me know how to set rel.strategy  for PR with Account assignment as a characteristics.
    I tried with Account assignment and Document type as a characteristics but Rel.stst is not triggering.
    Please help.
    Thank you
    regards
    Amar

    Hi,
    I have created Charac A/c assigment with fied name KNTTP ,maintained the vaue as A and also assined to class. And other characteristics used are plant and docment type.
    But REL STAT is not triggering.
    Please suggest some input.
    Thanks in advance
    Amar

  • Value mismatch in ME23N and MIRO for PO with multiple account assignments

    Hello All,
    I've a PO for indriect material procurement with no material master and I've a single PO item with Account Assignment Category as "K" (Cost Center) and Net Price as "1,357.91". Account Assignment has been distributed by percentage such that 50% goes to a cost center and the remaining 50% goes to another cost center.
    When I do MIRO, the amount comes as "1.357,92". This is because, the actual PO price "1,357.91" is divided by 2 equal half due to multiple account assignment and the individual amount comes to 678.955. And this is rounded off to 678.96 and multiplied by 2 in MIRO and the final amount comes to "1357.92". So as you see, the variance between PO price and MIRO price is 0.01.
    How to get rid of this variance? Can something be done to match the PO value and MIRO value the same?
    Thanks for your inputs.
    Sankar

    HI Sankar,
    This is a standard behaviour as Currencies with 2 decimals will be getting rounded off. One work around to avoid posting of Small differences in Invoices (DIF accounts) is to maually change the amount in the Account assignment in the Invoice line to match to PO line total.
    Regards,
    Kathir

  • Built iWeb site for friend with my account. How can I transfer site to his?

    Hi everybody. I recently finished creating an iWeb site for a friend while using my MobileMe account. What's the best way to transfer this site to his MobileMe account (so his username, etc. shows up in the url; not mine). I'd like to avoid having to rebuild the entire site while using his version of iWeb/MobileMe.
    Am I in trouble or is there a solution?
    Thanks in advance!

    Welcome to the Apple Discussions. Will your friend be maintaining the site once it's published to his MobileMe account? If so just copy the domain.sites2 file containing his site to his computer and put it in his User/Library/Application Support/iWeb folder. Once he logs into his MobileMe account via the System/MobileMe preference pane he can make changes and published them to his account.
    If you also have a site in that same domain file, duplicate that file, open it with iWeb and delete your site before transferring it to your friend's Mac. Then delete his site from your domain file leaving just your own site. You can delete his site from your MMe account by mounting your iDisk, going to the iDisk/Web/Site folder and deleting the folder that has his site's name.
    OT

  • Need simple class for communicating with Solaris account

    Hey, gang. After over a week of searching this forum and the Web for a solution, I'm stuck. I hope someone here can help.
    I've got a Java application intended to run on both Windows and Solaris systems that needs to perform the following automated operations:
    1. Connect to a user account on a Solaris server.
    2. Login.
    3. Run an sccs command.
    4. Retrieve the output from the sccs command.
    I can run commands (such as sccs) directly from Java; I've worked out how to do that. My situation is that I need to run sccs from an authorized account so that all file checkin/checkout operations are tagged properly. So the requirement to connect to a server isn't one I can ignore. I also don't need a full-up interactive client interface -- this needs to be an automated process.
    What I'm hoping is that someone here will be willing to provide (or point me to) some relatively simple source code I can call to do this stuff. Maybe an example of a class that uses Socket and a couple of streams to programmatically connect to a server, send commands, and capture input. That's really all I need.
    I've tried calling the Jakarta Commons telnet class to connect to the Solaris server, but it's more overhead than I need. (Plus the input stream kept blocking when I tried to use it in a purely automated mode.) I've also tried rolling my own code using the minimal info available on Google, but have not been able to figure out the magic words necessary to get anything back but gibberish. (InputStream and BufferedReader just do not seem to want to cooperate. Either I get back only garbage text, or readLine() or read() gets nothing and just sits and waits until the timeout.)
    So I turn to the experts here. If anyone can offer (or direct me to) any simple, non-libraried source code that enables my Java code to connect to and talk to a Solaris machine, I'd be grateful.
    Thanks!

    I was hoping a separate server-side process wouldn't be needed -- if you're thinking of something like RMI, that's also a bit heavyweight for my needs. I know I can talk to the remote server on telnet port 23, though.
    Further experimentation today with the Jakarta net library has generated something that works using their telnet classes. (After I asked for help here, of course. The same thing happens when I shop for groceries....) But using this leaves me referencing an external library that:
    1. has functionality I don't need that complicates the code, and
    2. forces me to address licensing requirements.
    So I'd still love to see an example of a telnet-like Java class that strips away all the non-essentials in the Jakarta telnet library code, leaving behind a simple public domain class that can be used to connect to a remote host and transfer characters over that connection.
    I appreciate that this may be asking for a lot, but as they say, if you don't ask, you don't get. ;-)
    Thanks!

  • How to set proxy for mail with Gmail account

    Hi, I'm using mail and set up a Gmail pop account. My mac is behind a proxy, say 192.168.0.1:808. I set the system http and https with the above address and can browse the internet with safari. But the mail app cannot receive or send any mails from the google pop/smtp server. Do you know how I can set the proxy for mail so that it can send and receive mail? Thank you very much!

    I solved this problem myself by using an app called proxifier. It's a tunneling tool I guess.

  • How to create burn folder for backup with 2 accounts

    The are 2 accounts on my computer: mine and my wife's. I want to create a single Burn Folder with important files from both accounts. How do I do that? Thanks,
    Owen

    Tri-Backup, (30-day Free Trial), can get you around all of this, for one thing it'll allow you to break it up into custom size chunks to span several CDs or DVDs, then Burn those...
    http://www.tri-edre.com/english/tribackup.html

  • SQL Timestamp query for use with PointBase

    I know this isn't an SQL forum, but I was wondering if someone could help me define an SQL query that returns rows from a table in a PointBase database with 2 separate TIMESTAMP fields. What I would like to do is return all rows where timefield1 is less than 2 hours later than timefield2.
    I've tried things like:
    select * from timetable where timefield1 < timefield2 + 2;
    select * from timetable where timefield1 < timefield2 + time '02:00:00';
    But haven't had any luck so far. Thanks in advance for any help you can give!

    usually SQL has a function called DATEADD where you take a timestamp, the amount to add and what to add it to.
    So you would have
    Select * from timetable where timefield1 < DATEADD(timefield2, 2, hours);
    Not exactly that since I don't know PointBase so check its documentation fro such a command and then do you SQL using it.

  • PC WF - Agent Determination for Items with Multiple Account Assignment

    Hello Gurus!
    The quoted text below is from [SAP Help Documentation|http://help.sap.com/saphelp_srm70/helpdata/en/ad/d8fd25beb64bbe9d671f3199eb7edf/content.htm]. I haven't been able to find any further documentation on how to implement this feature. Is this something the system can do without any BAdI implementations? Has anybody implemented this? How can this be accomplished? We are on SRM 7.0.
    "You can distribute costs across accounts by percentage, by quantity, or by value. If the responsibility for approving items according to given accounting data is divided between several approvers, the system can create one work item for each approver. The item can only receive the status Approved after each approver has approved it. As soon as one approver rejects an item, the item receives the status Rejected."
    Regards,
    Ramki.

    Hi,
       SAP does not provide the standard Badi implementation to achieve your business requirement.. but you can refer enhancement implementation /SAPSRM/BD_WF_AGENTS_SC where you can find badi implementation /SAPSRM/BD_WF_SC_RR_PGRP is similar..
    Saravanan

  • Sql query for emp with decode

    How to get the required output with single query to acheive IF SAL>2500 and job='manager' then display job as 'seniormanager'.
    CREATE TABLE EMP(EMPNO NUMBER(4) NOT NULL,ENAME VARCHAR2(10),JOB VARCHAR2(9),MGR NUMBER(4),HIREDATE DATE,SAL NUMBER(7, 2),COMM NUMBER(7, 2),DEPTNO NUMBER(2));
    INSERT INTO EMP VALUES(7521, 'WARD', 'SALESMAN', 7698,TO_DATE('22-FEB-1981', 'DD-MON-YYYY'), 1250, 500, 30);
    INSERT INTO EMP VALUES(7566, 'JONES', 'MANAGER', 7839,TO_DATE('2-APR-1981', 'DD-MON-YYYY'), 2975, NULL, 20);
    INSERT INTO EMP VALUES(7698, 'BLAKE', 'MANAGER', 7839,TO_DATE('1-MAY-1981', 'DD-MON-YYYY'), 2850, NULL, 30);
    INSERT INTO EMP VALUES(7782, 'CLARK', 'MANAGER', 7839,TO_DATE('9-JUN-1981', 'DD-MON-YYYY'), 2450, NULL, 10);
    INSERT INTO EMP VALUES(7788, 'SCOTT', 'ANALYST', 7566,TO_DATE('09-DEC-1982', 'DD-MON-YYYY'), 3000, NULL, 20);
    IF SAL>2500 and job='manager' then display job as 'seniormanager'
    SELECT * FROM EMP
    expected output
    7521     WARD     SALESMAN         7698     22-FEB-81     1250     500     30
    7566     JONES     SENIORMANAGER     7839     02-APR-81     2975          20
    7698     BLAKE     SENIORMANAGER     7839     01-MAY-81     2850          30
    7782     CLARK     MANAGER          7839     09-JUN-81     2450          10
    7788     SCOTT     ANALYST           7566     09-DEC-82     3000          20

    Hi,
    The answer to "How do I ... using DECODE?", no matter how you fill in the blank, is "Don't use DECODE; use CASE instead." If you have to ask, then it's too complicated to do with DECODE.
    Here's one way using CASE:
    SELECT       empno, ename
    ,       CASE
               WHEN  job = 'MANAGER'
               AND   sal > 2500
               THEN  'SENIORMANAGER'
               ELSE  job
           END     AS d_job
    ,       mgr, hiredate, sal, comm, deptno
    FROM       emp
    ;If you really, really, really want to use DECODE:
    SELECT       empno, ename
    ,       DECODE ( job
                 , 'MANAGER'
               , DECODE ( SIGN (sal - 2500)
                        , 1
                     , 'SENIORMANAGER'
                     , job
               , job
               )     AS d_job
    ,       mgr, hiredate, sal, comm, deptno
    FROM       emp
    ;Nothing is literally too difficult to do in DECODE. Anything that case be done with CASE can also be done using DECODE, often using several times the amount of code. Bit which would you rther maintain: the CASE soltuion I posted first, of this DECODE soltuion. Which do you think will have more bugs? Which so you think will be faster? If you're using Oracle 8.1 (or higher) then don't use inefficient, high-maintenance code like this. Use CASE instead.
    Edited by: Frank Kulash on Dec 26, 2012 3:27 PM
    Added DECODE solution

  • SCCM 2007 query for workstations with client status 1 and o

    Hi everybody,
    I would like to write a sql query which gives me workstations with status 1  if the client is installed and active and 0 if the client is not active.Any help please?
    Thank you.
    Regards,
    Lebalbo

    Here you go.
    Select * from v_r_system R
    where R.client0 =1 and R.active0=0
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

Maybe you are looking for

  • Itunes 10.5 Install fail (win Vista 32bit)

    Hello everyone. I'm really frustrated why i can't complete the new update for itunes. I've had no problems with previous updates/installers. Check the picture below (it's in dutch). What should I do? I uninstalled itunes, maybe that should work for i

  • Updating a variable from a new window

    I have a frame which displays various labels and lists. I want to open a new frame, put in some input, then update the original frame. So far I have done this my making the original variable "static" and modifying it from the new frame but this is a

  • Passing Parameters in a URL

    Hi, Does anybody know how/if it's possible to pass parameters into a URL from LOV/comboboxes/tick-boxes etc... I know this is possible through External Applications for the username and password, but what if the user wants to select multiple departme

  • Calculator in Screen painter

    Can any one send me the program to create a calculator in screen painter.

  • AIR-CT2504-25-K9 (HA) Help needed

    Hi all, I got two AIR-CT2404-25-K9 and i need them in HA (Active/Passive) i would like to add a AIR-CT2504-HA-K9 but can someone tell me if i need one or two for an active/passive config. Thanks for your help!