0% found this document useful (0 votes)
296 views

Bom Inventory Comps Interface

BOM_INVENTORY_COMPS_INTERFACE
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
296 views

Bom Inventory Comps Interface

BOM_INVENTORY_COMPS_INTERFACE
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Page 1 of 1

How to Enter a Null Value (Clear a Value) For Any Column in Any BOM Interface Table [ID 264198.1]

Modified 24-DEC-2007 Type HOWTO Status PUBLISHED

In this Document
Goal
Solution
References

Applies to:
Oracle Bills of Material - Version: 11.5.8 to 11.5.10
Information in this document applies to any platform.
EXECUTABLE:BMCOIN - Bill and Routing Interface

Goal

How do you NULL out an existing value or enter a NULL value for a column in any of the bill and routing open interface tables used by the Bill and Routing Interface?

Solution
A value can be set to NULL by assigning the following constants within a procedure, function or anonymous block.

For a null character, assign the constant FND_API.G_MISS_CHAR


For a null number, assign the constant FND_API.G_MISS_NUM
For a null date, assign the constant FND_API.G_MISS_DATE

These constants are defined in the package FND_API (AFASAPIS.pls) and are defined as follows:

-- Global constants that represent missing values. These constants


-- this
Rate are document
used as default values for PL/SQL procedures and functions
-- parameters to distinguish between parameters that are passed and
-- have a value of NULL and those which are not passed to the procedure.
G_MISS_NUM CONSTANT NUMBER := 9.99E125;
G_MISS_CHAR CONSTANT VARCHAR2(1) := chr(0);
G_MISS_DATE CONSTANT DATE := TO_DATE('1','j');

If you are simply writing standalone insert, update or delete statements to populate the interface tables (outside of a procedure, function or block), use the values assigned to the constants instead
following example:

INSERT into BOM_INVENTORY_COMPS_INTERFACE


(PROGRAM_UPDATE_DATE, ATTRIBUTE1, WIP_SUPPLY_TYPE)
VALUES
(TO_DATE('1','j'), CHR(0), 9.99E125);

Notes:

This only applies to "Nullable" columns or those columns where values are not required and/or derived.
Installation of Patch 4716312 may be required in 11.5.9 to fix a bug in the BOM Open Interface code that prevented updates to some columns (like WIP Supply Type). Review the patch to see if it applies
your environment.

References

PATCH:4716312 - After this patch, through Mass Change users will be able to null out supply subinventory

Related

Products

Oracle E-Business Suite > Manufacturing > Discrete Manufacturing > Oracle Bills of Material

Back to top

Copyright (c) 2007, 2010, Oracle. All rights reserved. Legal Notices and Terms of Use | Privacy Statement

https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=HOWT... 06-Apr-2012

You might also like