Custom types....

HI,
I'm looking after informations about "Customs types": "attributes" for what that is used ....
Do you know where I could find that...
thank you a lot

Please refer to the white paper Advanced Features for Building Content-Rich Portals on Portal Center.

Similar Messages

  • How to use the customer types in customer master data

    how to use the customer types in customer master data?
    menu path is Extras -> account group info -> customer types

    hi,
    This is an option given to you to choose (if you need to) the way you perceive this customer.Here you get options including ompetitors,Salespartner, prospect,
    default sp ,consumer.
    See it helps you to differentiate between prospect(which you may use for quotation or inquiry purpose)Sales partner and the competetor.
    I hope this clarifies your quiery.Reward points if so.
    Thanking you,
    Best regards,
    R.Srinivasan

  • I need to set up an expense form so that our consultant can "filter" by customer type, program type, and finally the purpose of the trip. For instance: the customer types are churches, schools, organizations. The program type would be fund raising, gift p

    I need to set up an expense form so that our consultant can "filter" by customer type, program type, and finally the purpose of the trip. For instance: the customer types are churches, schools, organizations. The program type would be dependent on the customer type selection from the first list. Some examples would be: fund raising, gift planning, surveys, and others. The purpose of the trip would be dependent on the program type selected from the second list. Some examples of trip purposes would be: presentation, design, prospecting. Further, the purpose of trip selection from the third drop-down box would then have to determine the values of other fields by expense type: such as commission, airfare, hotel. etc. I've tried pop-up menu but can't figure out how to "select" from the final popup list and have it populate a field for the purpose of the trip. I've tried to look at the JavaScript examples for dependent drop-down boxes, but can't find any that quite fit what I'm trying to accomplish. I am very new to all of this. No training in writing Javascripts - just trying to wing it. The form has to be very simple for our consultants to use, but also give our office the detail we need to process through the correct account numbers. I would appreciate any detailed step-by-step instructions - kind of a javascript for dummies type of info. HELP!

    An AcroForm is the name given to the type of PDF form that you create in Acrobat. An XFA form is the type of form that you create in LiveCycle Designer. Although they are both PDF files, they are very different structurally and have significant;y different scripting models. So pay attention to the information on AcroForms and ignore anything about XFA. Be sure to get the sample PDF forms so you can look at how it works and where the scripts are placed.
    What you want to do will require scripting, and if you don't have the experience and are unable to use the information in the tutorials to create what you want, you might consider getting someone who has experience do this for you. I'll often suggest code if I can do so quickly, but what you want requires more than a few minutes.

  • Error in VA01 - "Sales order cannot be processed. Check customer type."

    Hi,
    While creating a Sales Order in VA01, I receive this error message - "Sales order cannot be processed. Check customer type."
    Could you please tell me what could be the reason for this.
    Thank you,

    Hi,
    U Can Find the Customer Type in Extras> Account Group Information> Customer Types.
    There U can Make the Customer Type.
    Regards..
    Praveen Kumar.D

  • Cost of Goods Sold account determination by customer type (inter-company)

    We have a business need to separate the the cost of goods sold be customer type.  Specifically separating the inter-company cost of goods sold from the 3rd party cost of goods sold. 
    The standard COGS account determination in GBB/VAX only allows for differentiating between material valuation class. 
    Has anyone attempted this before and what method worked?

    For those who may need an answer to this, our solution was the following: 
    1)       Created new types for SO, SO Item, Sched. Line, Delivery, Delivery Item, Billing type  
    2)       Created new Pricing procedure
    3)       Created new movement type Y61/Y62 modeled after 601/602
    4)       Mapped Y61/Y62 to account modifier ZAX.
    5)       Mapped GBB/ZAX to the new account.
    Benefits, they now have better view of the orders going inter-company.  It is flexible enough to adjusting prices for intercompany separate from standard orders, even though for now it is a straight copy of cost.  They are able to remove the sales/use tax, from the calculations. They are able to plan with these orders separated out.  Plus, this will standardize their process for inter-company. 
    Hope this helps someone. 
    Cheers!
    Rick

  • OracleCustomTypeMappingAttribute Issue in Custom type mapping(Urgent Help)

    I am figuring "OracleCustomTypeMappingAttribute" attribute in web.conifg.
    I am getting Error when i am trying execute the code.please find the error messsage in below
    "Custom type mapping for 'QR.iPromansys.Common.UDT.TAB_MC_REGION' is not specified or is invalid."
    This is my configuation of webconfig:-
    <oracle.dataaccess.client>
    <settings>
    <add name="REGION" value="udtMapping factoryName='QR.iPromansys.Common.UDT.TAB_MC_REGIONFactory,
    QR.iPromansys.Common.UDT, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'
    typeName='TAB_MC_REGION' schemaName='IPROM' dataSource='QAPRISM' "/>
    </settings>
    </oracle.dataaccess.client>
    provide what i missed in in configure or anything else i have to do more in coding side.
    Class Information (Struture) Start
    public class TAB_MC_REGION : INullable, IOracleCustomType, IXmlSerializable
    private bool m_IsNull;
    private RegionInfo[] m_RegionInfo;
    public TAB_MC_REGION()
    // TODO : Add code to initialise the object
    public TAB_MC_REGION(string str)
    // TODO : Add code to initialise the object based on the given string
    public TAB_MC_REGION(RegionInfo[] obj)
    this.m_RegionInfo = obj;
    public virtual bool IsNull
    get
    return this.m_IsNull;
    public static TAB_MC_REGION Null
    get
    TAB_MC_REGION obj = new TAB_MC_REGION();
    obj.m_IsNull = true;
    return obj;
    [OracleArrayMappingAttribute()]
    public virtual RegionInfo[] Value
    get
    return this.m_RegionInfo;
    set
    this.m_RegionInfo = value;
    public virtual void FromCustomObject(Oracle.DataAccess.Client.OracleConnection con, System.IntPtr pUdt)
    OracleUdt.SetValue(con, pUdt, 0, this.m_RegionInfo);
    public virtual void ToCustomObject(Oracle.DataAccess.Client.OracleConnection con, System.IntPtr pUdt)
    this.m_RegionInfo = ((RegionInfo[])(OracleUdt.GetValue(con, pUdt, 0)));
    public virtual void ReadXml(System.Xml.XmlReader reader)
    // TODO : Read Serialized Xml Data
    public virtual void WriteXml(System.Xml.XmlWriter writer)
    // TODO : Serialize object to xml data
    public virtual XmlSchema GetSchema()
    // TODO : Implement GetSchema
    return null;
    public override string ToString()
    // TODO : Return a string that represents the current object
    return "";
    public static TAB_MC_REGION Parse(string str)
    // TODO : Add code needed to parse the string and get the object represented by the string
    return new TAB_MC_REGION();
    // Factory to create an object for the above class
    //[OracleCustomTypeMappingAttribute("IPROM.TAB_MC_REGION")]
    public class TAB_MC_REGIONFactory : IOracleCustomTypeFactory, IOracleArrayTypeFactory
    public virtual IOracleCustomType CreateObject()
    TAB_MC_REGION obj = new TAB_MC_REGION();
    return obj;
    public virtual System.Array CreateArray(int length)
    RegionInfo[] collElem = new RegionInfo[length];
    return collElem;
    public virtual System.Array CreateStatusArray(int length)
    return null;
    End
    Main Class Code(Execution Part) Start
    I am using "Microsoft.Practices.EnterpriseLibrary.Data.Database"
    List<RegionInfo> mealRegionList = new List<RegionInfo>();
    TAB_MC_REGION mealregionTableObject = new TAB_MC_REGION(mealRegionList.ToArray());
    Database database = DatabaseFactory.CreateDatabase();
    using (DbCommand command = database.GetStoredProcCommand("mealplanning_services.SAVE_MC_REGION"))
    database.AddOracleInParameter(command, string.Empty, OracleDbType.Object, "TAB_MC_REGION", mealregionTableObject);
    database.AddOracleOutParameter(command, "@po_result_code", OracleDbType.Decimal, 50);
    database.ExecuteNonQuery(command);
    End
    email address:- [email protected]
    please fill free to contact.

    Issue Resolved. For less than 50 records, client side filtering takes over. In that case the search help exit will not come into picture. Issue resolved by avoiding client side rendering.
    callcontrol-maxexceed = 'X'.
    Thanks,
    Pris.

  • Oracle Instant Client and OUT Parameter of custom type in Stored Procedures

    Hi @ all!
    I try to set up a simple client application, that calls a stored procedure via Instant Client from C#.
    The stored procedure and assiciated types looks like this:
    TYPE MYVALUE AS OBJECT
          Id      INTEGER,
          value     FLOAT
    TYPE MYVALUELIST AS TABLE OF MYVALUE;
    PROCEDURE ReadValues( ID IN INTEGER,
                                        RESULTSET OUT MYVALUELIST)
                                           IS
    ...I created an Oracle Command executing this SP and added OracleParameters for ID and (where I got stuck) the RESULTSET.
    Is it possible to pass a parameter with a custom type from C# in some way?
    I already tried it as a function with SELECT * FROM TABLE(ReadValues(1));
    With my parameter RESULTSET as the RETURN type. But since I use DML within the procedure, this does not work inside of a query...
    Any suggestions?
    Thanks in advance!

    Hi Greg!
    Sorry, I misunderstood the forum topic then. =(
    Anyway, in the example you provided in the link, this is nearly exactly my situation. But there the Oracle.DataAccess.Client is used, where the OracleDBType can be called to initialize an object of type person. I use the instant client libraries called by using System.Data.OracleClient. There is only the OracleType enum, that does not contain an object or something similar.
    So I do it right now after trying a bit with a ref cursor parameter and an OracleDataAdapter - the ref cursor is passed back from Oracle as a DataReader, so die DataAdapter is able to use it for a .Fill():
    OracleCommand cmd = new OracleCommand();
    cmd.Parameters.Add("RESULTSET", OracleType.Cursor).Direction = ParameterDirection.Output;
    OracleDataAdapter odr = new OracleDataAdapter(cmd);
    DataTable result = new DataTable();
    odr.Fill(result);Within my stored procedure I just added the following OUT parameter:
    PROCEDURE ReadValues( ID IN INTEGER,
                                        RESULTSET OUT sys_refcursor)
                                           IS
    currentlist MYVALUELIST;
    ... [Adding elements to that list] ...
    OPEN resultset for select * from TABLE(currentlist);It works now, but I don't like that solution that much since I'm always afraid that there are lots of opened cursors idyling around. Do I have to close this one explicitly after filling my table by the DataAdapter?
    Regards

  • How to use resStr() to set name of custom Type

    OK say I create a copy of Action step type (from NI_Types.ini)  and rename it Mycustomstep and put this in my own Type Palette, "MyCustTypes", folder(MyCustTypes.ini). The Step Type context menu shows "MyCustTypes | Action" instead of "MyCustTypes | Mycustomstep"  nomenclature. When you look in Step Type Menu Editor everything looks the way I expect, MyCustType | Mycustomstep...
    Thus to update the custom type with my own name I see the resStr() needs to be changed in my custom type properties. Not sure where to navigate to find the nomenclature using the Expression Browser for Default Step Name Expression, property menu. Since the ini is binary I can't read the ini directly...
    thanks ahead of time

    Hello richjoh!
    There are a couple places to "rename" your custom step type, and they
    all affect different areas.  To get a meaningful name in the .ini file,
    you actually have to right click on the custom type and rename it.  To
    customize the name of the type as it appears in the insertion palette,
    you must right click the custom step type, go to properties, and then
    to Menu tab.  Here, you can set the name of the step as it will appear
    in the insertion palette (Item Name Expression) and select or create
    which folder it will reside in (Group).  Finally, if you change the
    "Default Step Name Expression" on the General tab, you will be changing
    the name of the step as it appears when you place the step into your
    sequence.
    For all of these entry fields, you can simply put a literal string. 
    You do not need to use the resStr() function.  However, if you would
    like to, you can find where these strings returned from the resStr()
    function are defined in the
    <teststand>/components/NI/language/english directory, and add
    your own entries.
    NickB
    National Instruments
    Applications Engineering

  • Can we push a Custom Type Object on Stack in BCEL?

    Hi All,
    I know how to push Primitive Types on Stack IN BCEL using
    InstructinoList.append(new PUSH(ConstantPoolGen,343));
    Now i want to push Custom Type Object(Obj of some user defined class i.e EngineClass obj) on Stack in BCEL.
    Let me explain some context of my problem What i want to do is i have a class
    class Automobile {
    public void getEngine(int carNo,EngineClass engineClassObj){
    System.out.println("EngineNo="+engineClassObj.sisNo);
    Now when i load "Automobile" class in memory.
    ilist = new InstructionList();
    ilist.append(InstructionConstants.ALOAD_0);
    ilist.append(new PUSH(pgen,345));
    ////Hear Now i have to also push the Object on Stack
    ilist.append(ifact.createInvoke(_invoking_ClassName,_invoking_MethodName, Type.INT,*
    new Type[] { Type.INT,Type.OBJECT }, Constants.INVOKEVIRTUAL));
    ilist.append(InstructionConstants.IRETURN);
    1-if i use createNew() method and generate new object then how i am going to
    fill its fields value?
    2-or if i firstly push all fields values of Engine type Obj on Stack using PUSH
    then i can some how construct object on memory & then push it on Stack.
    these are some solution i can think of.
    But i don't know the right solution
    So Still need help ...
    thanks

    Deleted your duplicate post. Please fix your wild formatting without all the boldface and italics, and please use {noformat}{noformat} tags around the code. At present this is just an unreadable mess.                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How do I output the "Customer Type"

    I am want to hide some content in a secure zone based on the "Customer Type".
    How do I output this CRM field?

    What class is your req variable? If your using a HttpServletRequest, then there is no method req.setContentType("");
    In the HttpServletResponse this is for telling the web browser or receving medium what kind of mime type to expect.
    And what package is the HttpConnection class from?
    I think more precise info is required before this question can be answered.

  • Master data and customer types

    i just want to know how master data can represent the companyu2019s customer types ??

    Can you be more specific about the scenario.

  • BC4J Custom Type Maps   (MS-SQL cont.)

    (FYI using JDeveloper 9.0.2.0.0, MS-SQL 2000 spk2 and MS-SQL's JDBC driver Version 2.2.0022)
    In the process of trying to get JDeveloper working fully with MS-SQL, I am at the point of developing a custom type map.
    Should this typemap include all mappings or only those different than the "Java" or "Oracle" type map? I was assuming all at first. Now I wonder how it's handling missing mappings.
    How does it find a matching typemap? I noticed that Entity's database column types looked like "int(10,0)" and "bit(1,0)", but in my typemap, like the examples, it's just "INT", "BIT" with no precision, scale. Is this a case of where it's assuming the driver will return a string for type and it's returning type(p,s)? Or is JDev building that string? Either way, would you need a different mapping for "bit(1,0)" than "bit"?
    As "bit(1,0)" it had problems with both the Java map and my custom map. Changing it to "bit" seem to get it to work. So what typemapping was it trying to use as "bit(1,0)"?
    [Bug?] I noticed that when I view the bc4j settings (project (rt-click) -> edit business components project), the value for type map is incorrect if I am using a custom type map. If I am using the Java type map it says "Java" in the greyed out select, but if I am using my custom map ("MS-SQL"), it says "Oracle". I checked the bc4j.xcfg for the one using my custom map and it does say the right class name for jbo.TypeMapEntries.
    On a related note, when testing the bc4j modules, we are instructed to use the edited local configuration, but how do view/edit the project default configuration?
    ====================================================================
    typemap in progress...
    ================================
    public class MsSqlTypeMapEntries
    public MsSqlTypeMapEntries()
    /* ColumnType, JavaClassName, JdbcSqlType, JdbcSqlTypeID, DefaultDisplayLength, isNumericType */
    new JboTypeMap("BIGINT", "java.math.BigInteger", "BIGINT",java.sql.Types.BIGINT,null,true);
    //new JboTypeMap("BIGINT IDENTITY", "java.math.BigInteger", "BIGINT",java.sql.Types.BIGINT,null,true);
    //new JboTypeMap("BINARY BINARY
    new JboTypeMap("BIT","java.lang.Boolean","BIT",java.sql.Types.BIT,null,true);
    new JboTypeMap("CHAR","java.lang.String","CHAR",java.sql.Types.CHAR,null);
    new JboTypeMap("DATETIME" ,"java.sql.Timestamp","TIMESTAMP",java.sql.Types.TIMESTAMP ,null);
    new JboTypeMap("DECIMAL","java.math.BigDecimal","DECIMAL",java.sql.Types.DECIMAL,null,true);
    //new JboTypeMap("DECIMAL() IDENTITY DECIMAL
    //new JboTypeMap("FLOAT FLOAT
    //new JboTypeMap("IMAGE LONGVARBINARY
    new JboTypeMap("INT","java.lang.Integer","INTEGER",java.sql.Types.INTEGER,null,true);
    new JboTypeMap("INT IDENTITY","java.lang.Integer","INTEGER",java.sql.Types.INTEGER,null,true);
    new JboTypeMap("MONEY","java.math.BigDecimal","DECIMAL",java.sql.Types.DECIMAL,null,true);
    new JboTypeMap("NCHAR","java.lang.String","CHAR",java.sql.Types.CHAR,null);
    new JboTypeMap("NTEXT","java.lang.String","LONGVARCHAR", java.sql.Types.LONGVARCHAR, null);
    new JboTypeMap("NUMERIC","java.math.BigDecimal","NUMERIC",java.sql.Types.NUMERIC,null,true);
    //new JboTypeMap("NUMERIC() IDENTITY","java.math.BigDecimal","NUMERIC",java.sql.Types.NUMERIC,null,true);
    new JboTypeMap("NVARCHAR","java.lang.String","VARCHAR",java.sql.Types.VARCHAR,null);
    //new JboTypeMap("REAL REAL
    new JboTypeMap("SMALLDATETIME" ,"java.sql.Date","TIMESTAMP",java.sql.Types.TIMESTAMP ,null);
    new JboTypeMap("SMALLINT","java.lang.Integer","SMALLINT",java.sql.Types.SMALLINT,null,true);
    new JboTypeMap("SMALLINT IDENTITY","java.lang.Integer","SMALLINT",java.sql.Types.SMALLINT,null,true);
    new JboTypeMap("SMALLMONEY","java.math.BigDecimal","DECIMAL",java.sql.Types.DECIMAL,null,true);
    new JboTypeMap("SQL_VARIANT","java.lang.String","VARCHAR",java.sql.Types.VARCHAR,null);
    new JboTypeMap("SYSNAME","java.lang.String","VARCHAR",java.sql.Types.VARCHAR,null);
    new JboTypeMap("TEXT","java.lang.String","LONGVARCHAR", java.sql.Types.LONGVARCHAR, null);
    //new JboTypeMap("TIMESTAMP BINARY
    new JboTypeMap("TINYINT","java.lang.Integer","TINYINT",java.sql.Types.TINYINT,null,true);
    new JboTypeMap("TINYINT IDENTITY","java.lang.Integer","TINYINT",java.sql.Types.TINYINT,null,true);
    new JboTypeMap("UNIQUEIDENTIFIER","java.lang.String","CHAR",java.sql.Types.CHAR,null);
    //new JboTypeMap("VARBINARY VARBINARY
    new JboTypeMap("VARCHAR","java.lang.String","CHAR",java.sql.Types.CHAR,null);
    }

    (FYI using JDeveloper 9.0.2.0.0, MS-SQL 2000 spk2 and MS-SQL's JDBC driver Version 2.2.0022)
    In the process of trying to get JDeveloper working fully with MS-SQL, I am at the point of developing a custom type map.
    Should this typemap include all mappings or only those different than the "Java" or "Oracle" type map? I was assuming all at first. Now I wonder how it's handling missing mappings.
    How does it find a matching typemap? I noticed that Entity's database column types looked like "int(10,0)" and "bit(1,0)", but in my typemap, like the examples, it's just "INT", "BIT" with no precision, scale. Is this a case of where it's assuming the driver will return a string for type and it's returning type(p,s)? Or is JDev building that string? Either way, would you need a different mapping for "bit(1,0)" than "bit"?
    As "bit(1,0)" it had problems with both the Java map and my custom map. Changing it to "bit" seem to get it to work. So what typemapping was it trying to use as "bit(1,0)"?
    [Bug?] I noticed that when I view the bc4j settings (project (rt-click) -> edit business components project), the value for type map is incorrect if I am using a custom type map. If I am using the Java type map it says "Java" in the greyed out select, but if I am using my custom map ("MS-SQL"), it says "Oracle". I checked the bc4j.xcfg for the one using my custom map and it does say the right class name for jbo.TypeMapEntries.
    On a related note, when testing the bc4j modules, we are instructed to use the edited local configuration, but how do view/edit the project default configuration?
    ====================================================================
    typemap in progress...
    ================================
    public class MsSqlTypeMapEntries
    public MsSqlTypeMapEntries()
    /* ColumnType, JavaClassName, JdbcSqlType, JdbcSqlTypeID, DefaultDisplayLength, isNumericType */
    new JboTypeMap("BIGINT", "java.math.BigInteger", "BIGINT",java.sql.Types.BIGINT,null,true);
    //new JboTypeMap("BIGINT IDENTITY", "java.math.BigInteger", "BIGINT",java.sql.Types.BIGINT,null,true);
    //new JboTypeMap("BINARY BINARY
    new JboTypeMap("BIT","java.lang.Boolean","BIT",java.sql.Types.BIT,null,true);
    new JboTypeMap("CHAR","java.lang.String","CHAR",java.sql.Types.CHAR,null);
    new JboTypeMap("DATETIME" ,"java.sql.Timestamp","TIMESTAMP",java.sql.Types.TIMESTAMP ,null);
    new JboTypeMap("DECIMAL","java.math.BigDecimal","DECIMAL",java.sql.Types.DECIMAL,null,true);
    //new JboTypeMap("DECIMAL() IDENTITY DECIMAL
    //new JboTypeMap("FLOAT FLOAT
    //new JboTypeMap("IMAGE LONGVARBINARY
    new JboTypeMap("INT","java.lang.Integer","INTEGER",java.sql.Types.INTEGER,null,true);
    new JboTypeMap("INT IDENTITY","java.lang.Integer","INTEGER",java.sql.Types.INTEGER,null,true);
    new JboTypeMap("MONEY","java.math.BigDecimal","DECIMAL",java.sql.Types.DECIMAL,null,true);
    new JboTypeMap("NCHAR","java.lang.String","CHAR",java.sql.Types.CHAR,null);
    new JboTypeMap("NTEXT","java.lang.String","LONGVARCHAR", java.sql.Types.LONGVARCHAR, null);
    new JboTypeMap("NUMERIC","java.math.BigDecimal","NUMERIC",java.sql.Types.NUMERIC,null,true);
    //new JboTypeMap("NUMERIC() IDENTITY","java.math.BigDecimal","NUMERIC",java.sql.Types.NUMERIC,null,true);
    new JboTypeMap("NVARCHAR","java.lang.String","VARCHAR",java.sql.Types.VARCHAR,null);
    //new JboTypeMap("REAL REAL
    new JboTypeMap("SMALLDATETIME" ,"java.sql.Date","TIMESTAMP",java.sql.Types.TIMESTAMP ,null);
    new JboTypeMap("SMALLINT","java.lang.Integer","SMALLINT",java.sql.Types.SMALLINT,null,true);
    new JboTypeMap("SMALLINT IDENTITY","java.lang.Integer","SMALLINT",java.sql.Types.SMALLINT,null,true);
    new JboTypeMap("SMALLMONEY","java.math.BigDecimal","DECIMAL",java.sql.Types.DECIMAL,null,true);
    new JboTypeMap("SQL_VARIANT","java.lang.String","VARCHAR",java.sql.Types.VARCHAR,null);
    new JboTypeMap("SYSNAME","java.lang.String","VARCHAR",java.sql.Types.VARCHAR,null);
    new JboTypeMap("TEXT","java.lang.String","LONGVARCHAR", java.sql.Types.LONGVARCHAR, null);
    //new JboTypeMap("TIMESTAMP BINARY
    new JboTypeMap("TINYINT","java.lang.Integer","TINYINT",java.sql.Types.TINYINT,null,true);
    new JboTypeMap("TINYINT IDENTITY","java.lang.Integer","TINYINT",java.sql.Types.TINYINT,null,true);
    new JboTypeMap("UNIQUEIDENTIFIER","java.lang.String","CHAR",java.sql.Types.CHAR,null);
    //new JboTypeMap("VARBINARY VARBINARY
    new JboTypeMap("VARCHAR","java.lang.String","CHAR",java.sql.Types.CHAR,null);
    }

  • Do Custom Types need to contain primitive attributes?

    Hi,
    i am trying to make use of the UDT feature of the Oracle 11 ODP.NET driver. I am using a patched Version of the 11g driver (Oracle.DataAccess.dll file-size: 917'504, date:8. Juni 2008, 11:35:58) against a Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Database.
    I made myself a custom type that looks like
    using Oracle.DataAccess.Types;
    namespace Testomatic
    public sealed partial class X_XY_AVL_TYPES
    /OracleObjectMapping("AVL_OBJ_TYPE_DEF_TYPE_DEF_LIST")/
    public X_XY_OBJ_TYPE_DEF[] AVL_OBJ_TYPE_DEF_TYPE_DEF_LIST;
    i made myself a little generator, that adds the other half of the partial class as well as a matching factory. This is how that comes out:
    public sealed partial class X_XY_AVL_TYPES : INullable, IOracleCustomType
    static X_XY_AVL_TYPES mNullX_XY_AVL_TYPES = new X_XY_AVL_TYPES();
    public static X_XY_AVL_TYPES Null {
    get {
    return mNullX_XY_AVL_TYPES;
    public bool IsNull { get {return this == mNullX_XY_AVL_TYPES;}}
    public void FromCustomObject(OracleConnection con, IntPtr pUdt) {
    X_XY_OBJ_TYPE_DEF_L lAVL_OBJ_TYPE_DEF_TYPE_DEF_LIST = new X_XY_OBJ_TYPE_DEF_L();
    lAVL_OBJ_TYPE_DEF_TYPE_DEF_LIST.Value = AVL_OBJ_TYPE_DEF_TYPE_DEF_LIST;
    OracleUdt.SetValue(con, pUdt, "AVL_OBJ_TYPE_DEF_TYPE_DEF_LIST", lAVL_OBJ_TYPE_DEF_TYPE_DEF_LIST);
    public void ToCustomObject(OracleConnection con, IntPtr pUdt) {
    AVL_OBJ_TYPE_DEF_TYPE_DEF_LIST = ((X_XY_OBJ_TYPE_DEF_L) OracleUdt.GetValue(con, pUdt, "AVL_OBJ_TYPE_DEF_TYPE_DEF_LIST")).Value;
    /OracleCustomTypeMappingAttribute("K.X_XY_AVL_TYPES")/
    public class X_XY_AVL_TYPESFactory : IOracleCustomTypeFactory {
    public virtual IOracleCustomType CreateObject() {
    return new X_XY_AVL_TYPES();
    and that Generator also makes a nice oracle type that looks like
    CREATE OR REPLACE TYPE "X_XY_AVL_TYPES" AS OBJECT (
    "AVL_OBJ_TYPE_DEF_TYPE_DEF_LIST" "X_XY_OBJ_TYPE_DEF_L"
    ) FINAL INSTANTIABLE;
    looks nice, but if i run this, the driver tells me that
    Oracle.DataAccess.Client.OracleException OCI-21700: object does not exist or is marked for delete at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure)
    at Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, Object src)
    at Oracle.DataAccess.Types.OracleUdtDescriptor.DescribeAllObjAttrs()
    at Oracle.DataAccess.Types.OracleUdtDescriptor.GetMetaDataTable()
    at Oracle.DataAccess.Types.OracleUdtDescriptor.DescribeCustomType(Object customTypeFactory)
    at Oracle.DataAccess.Types.OracleUdtDescriptor.DescribeCustomType(Object customTypeFactory)
    at Oracle.DataAccess.Client.OracleParameter.CreateCustomObject(OracleConnection conn, Int32 index)
    at Oracle.DataAccess.Client.OracleParameter.PostBind_OracleObject(OracleConnection conn)
    at Oracle.DataAccess.Client.OracleParameter.PostBind(OracleConnection conn, OpoSqlValCtx* pOpoSqlValCtx, Int32 arraySize)
    at Oracle.DataAccess.Client.OracleCommand.ExecuteNonQuery()
    however, if i add an additional simple attribute for example a string to the original custom type like this:
    public sealed partial class X_XY_AVL_TYPES
    /OracleObjectMapping("kghf")/
    public string kghf;
    /OracleObjectMapping("AVL_OBJ_TYPE_DEF_TYPE_DEF_LIST")/
    public X_XY_OBJ_TYPE_DEF[] AVL_OBJ_TYPE_DEF_TYPE_DEF_LIST;
    and the generator picks it up accordingly, the whole thing seems to work. Everything else unchanged. Is this normal?
    yours
    Marc

    Hi Ming Man,
    I am not changing Oracle.DataAccess.dll at all. I am using the patched version all the way, UDT does not work properly with the unpatched version.
    What i am changing is adding an additional dummy attribute to my types to make them work with the ODP.NET driver. I just wanted to know whether this is known limitiation (like the need to a at least one Attribute to Top-Level-Types) or just a bug.
    yours
    Marc

  • Default customer type not set by default

    hello,
    we are having and issue with the "customer type" not being set by default.
    When a new customer is created (when they make a purchase) I would like them to be set as “Retail Customer” as their customer type .
    I have set the default customer type to be “retail customer” however this is not applied to the customer.
    has anyone else struck this problem?  is there a fix for this?
    thanks in advance for the help.

    This is as expected/normal behaviour.
    If you create a column in a list that already has items it will not automatically set that column to the default option. Instead any pre-existing items will have a blank value until/unless the item is next edited. At that point you can chose a value but
    it still will not populate with the default value.
    That is deliberate as it may be entirely valid to have blank entries and so overwriting those would be much worse than leaving entries blank.

  • Multiple "Bill To" for Customer type Business Partners

    Hi all!
    Can someone tell me when the functionality of Multiple "Bill To" addresses for Customer type Business Partners became available? I have a customer on 2007A SP00 PL06 and we cannot create more than one, while in my test system at 2007A SP00 PL41 I do.
    Thanks,
    Richard.

    Dear Richard,
    You are requested to check this in the latest patch and see if the issue is resolved for you.
    Becasue in earlier patches this problem is there.
    In case the issue is not resolved, please update the message.
    Regards
    Vikas Rastogi

  • Resizing array of custom type

    I first create a custom type that is a container of 3 strings.
    I then create a  custom type that is an array of that custom type and give it size 1 (lower and upper bound = 0).
    If I then re-size that array, why does TestStand not make every additional element of that array match the original container of 3 strings?
    The same behavior happens both in a .seq file and in the types file itself.  I could sort of see in a .seq file if I drop down this custom type that is initially size 1 and try to change the array bounds that it wouldn't automatically make the additional elements match but I wouldn't expect this behavior in the types file.  This seems to be a bug to me.  TestStand 2012.

    I'm not seeing the point of the custom type that is just an array of a custom type (container).  I would first remove that level of complexity.
    You are seeing the same behavior in both the sequence and type editor?  That sounds desirable to me (not a bug).
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

Maybe you are looking for