smartplant reference data - hyundai...

62
SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs Version 2007.3 (6.2.4) September 2007 DMAR1-PE-200113A

Upload: trankhue

Post on 29-May-2018

365 views

Category:

Documents


10 download

TRANSCRIPT

SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs

Version 2007.3 (6.2.4) September 2007 DMAR1-PE-200113A

Copyright Copyright © 2007 Intergraph Corporation. All Rights Reserved.

Including software, file formats, and audiovisual displays; may be used pursuant to applicable software license agreement; contains confidential and proprietary information of Intergraph and/or third parties which is protected by copyright law, trade secret law, and international treaty, and may not be provided or otherwise made available without proper authorization.

Restricted Rights Legend Use, duplication, or disclosure by the government is subject to restrictions as set forth below. For civilian agencies: This was developed at private expense and is “restricted computer software” submitted with restricted rights in accordance with subparagraphs (a) through (d) of the Commercial Computer Software - Restricted Rights clause at 52.227-19 of the Federal Acquisition Regulations (“FAR”) and its successors, and is unpublished and all rights are reserved under the copyright laws of the United States. For units of the Department of Defense (“DoD”): This is “commercial computer software” as defined at DFARS 252.227-7014 and the rights of the Government are as specified at DFARS 227.7202-3. Unpublished – rights reserved under the copyright laws of the United States. Intergraph Corporation Huntsville, Alabama 35894-0001

Warranties and Liabilities All warranties given by Intergraph Corporation about equipment or software are set forth in your purchase contract, and nothing stated in, or implied by, this document or its contents shall be considered or deemed a modification or amendment of such warranties. Intergraph believes the information in this publication is accurate as of its publication date.

The information and the software discussed in this document are subject to change without notice and are subject to applicable technical product descriptions. Intergraph Corporation is not responsible for any error that may appear in this document.

The software discussed in this document is furnished under a license and may be used or copied only in accordance with the terms of this license.

No responsibility is assumed by Intergraph for the use or reliability of software on equipment that is not supplied by Intergraph or its affiliated companies. THE USER OF THE SOFTWARE IS EXPECTED TO MAKE THE FINAL EVALUATION AS TO THE USEFULNESS OF THE SOFTWARE IN HIS OWN ENVIRONMENT.

Intergraph is not responsible for the accuracy of delivered data including, but not limited to, catalog, reference and symbol data. Users should verify for themselves that the data is accurate and suitable for their project work.

Trademarks Intergraph, the Intergraph logo, PDS, SmartPlant, FrameWorks, I-Convert, I-Export, I-Sketch, IntelliShip, INtools, ISOGEN, MARIAN, SmartSketch, SPOOLGEN, SupportManager, and SupportModeler are trademarks or registered trademarks of Intergraph Corporation or its subsidiaries in the United States and other countries. Microsoft and Windows are registered trademarks of Microsoft Corporation. Other brands and product names are trademarks of their respective owners.

Table of Contents

SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs 3

Table of Contents Preface.................................................................................................................................5

Audience .......................................................................................................................5 Relevance......................................................................................................................5

Overview .............................................................................................................................6

Fatal Errors ........................................................................................................................7

Errors and Stages ..........................................................................................................7 Config Validation .........................................................................................................8 Errors in Progress Display............................................................................................8 Errors in Logfiles..........................................................................................................8

The Logfile Name ............................................................................................................... 9 Finding the Error in the Logfile .......................................................................................... 9

Typical Error Situations .................................................................................................10

Locks on Sheets ..........................................................................................................10 Progress Display ............................................................................................................... 10 Logfile............................................................................................................................... 11 Solution(s)......................................................................................................................... 11

Unique Key Violations ...............................................................................................12 Progress Display ............................................................................................................... 12 Logfile............................................................................................................................... 13 Solution(s)......................................................................................................................... 14

Attribute Values Too Large ........................................................................................15 Progress Display ............................................................................................................... 15 Logfile............................................................................................................................... 16 Solution(s)......................................................................................................................... 18

Syntax Errors in the Source Statement .........................................................................19 Progress Display ............................................................................................................... 19 Logfile............................................................................................................................... 20 Solution(s)......................................................................................................................... 21

Nonfatal Errors ................................................................................................................23

Sheet is not in the workbook ......................................................................................23 General Hints .................................................................................................................... 23

Sheet is empty.............................................................................................................25 General Hints .................................................................................................................... 25 Part Classes ....................................................................................................................... 26 Template Sheets ................................................................................................................ 27 SpecItemFilter................................................................................................................... 28 MaterialControlData ......................................................................................................... 28

Table of Contents

4 SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs

Missing or unwanted lines ..........................................................................................30 General Hints .................................................................................................................... 30 Part Classes ....................................................................................................................... 31 Template Sheets ................................................................................................................ 33 SpecItemFilter................................................................................................................... 33 MaterialControlData ......................................................................................................... 34

Items empty or values incorrect..................................................................................36 General Hints .................................................................................................................... 36

Examining the FILL_IF_TABS Logfile.........................................................................38

Preface

SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs 5

Preface Audience

This document was written to help consultants, support personnel, and customers to understand why an export job might not produce the desired results. The reader should have a general knowledge of and experience in configuring and operating the SmartPlant 3D interface.

Relevance This document was created based on SmartPlant Reference Data 2007 (6.2.4). Because the SmartPlant 3D interface can be adapted to different situations, distinct areas may be different on a client site due to customized program logic.

Overview

6 SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs

Overview Errors can be classified into two categories:

• Fatal errors that stop the whole job.

• Nonfatal errors that allow the job to terminate successfully, but the result looks different from what you expect.

Both types of errors often occur due to misconfiguration or missing prerequisites. However, the exact reason is not always easy to determine. This document should help with this task.

Each export job uses a general configuration set, a set of mappings, a set of template sheets, and so forth. Sometimes the user checks a set that is different from what the export job really uses. He changes the configuration, but the behavior of the export run is unchanged. Make sure that you check the settings that the job uses:

Fatal Errors

SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs 7

Fatal Errors Fatal errors are those that prevent the job from continuing. Once such an error occurs, changes to the database are rolled back. The only changes that are undone are those that were part of the actual stage. After removal of the error cause, you can continue with your work without having to start from the scratch. An example:

Errors and Stages Imagine you start a job covering all five stages. The first stage succeeds, but the second, writing the interface data into an XLS workbook, raises an error. In this case, the interface tables remain filled, because this stage was already finished. If the error in stage 2 is caused by an invalid path specification for the export workbook, it is possible to correct the path and start the same job run again. The process does not fill the interface tables again. It starts directly with the second stage.

The following graphic displays another case: It shows job status ERROR, which signals a program halt. The job goal was WRITE_XLS but the stage finished is NO_STAGE. Also, in the Summary field, you can see where the error appeared. In this case, if you change the configuration and start the same run again, the interface tables are empty; FILL_IF_TABS is automatically started to fill them. So in this latter case, it is the same as if you start a new job run.

Fatal Errors

8 SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs

Config Validation Before the first stage starts, the job goes through a validation phase. The same validation can be triggered manually if the user clicks the Validate Config button. The progress of validation is shown on the progress tab. Validation checks some basic prerequisites, and it also prepares some job-related data. For example, if the user chooses (on SP3D 40.01) to automatically select all commodity codes for export that are in the spec the user assigned to this job, copying the commodity codes into the Selected Idents tab is done during validation. The progress display might show the following: MARIAN SmartPlant 3D Export Production Release 2007 (6.2.3) SP 6 Copyright 1988 - 2007, Intergraph Corporation All Rights Reserved License Number: 7CB7EF986BFA16D8 Validating input Not filling selected idents tab because AUTO_SELECT_IDENTS_FROM_SPEC not set to do so. Warning: Not adding PartClass sheets. This only works with AUTO_SELECT_SHTS_FOR_PARTS=Y Warning: Not adding ValveOperatorMatlControlData sheet. This only works with AUTO_SELECT_SHTS_FOR_PARTS=Y Warning: Not adding ValveOperator class sheets. This only works with AUTO_SELECT_VALVEOP_CLASS_SHTS=Y Adding <CustomInterfaces> sheet to selection Adding <CustomClassInterfaceList> sheet to selection if not yet there

Errors in Progress Display If a fatal error exists, it is also sent to the progress screen. Scrolling down to the bottom of the display area reveals an error message that gives information about the error.

Errors in Logfiles If the error message in the progress display does not help, you can use the logfile. If fatal errors occur in a stage, they are written into the related logfile, which can be seen on the Logfiles tab of SP3D 20.01:

Fatal Errors

SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs 9

The Logfile Name The logfile name starts with "SP3D_EJ_", and the job_id is formatted with leading zeros. The job_id is identical for all files of the same job name and same run number.

Following the job_id is the stage to which the logfile belongs. FILL_IF_TABS is the first stage, WRITE_XLS the second, IMP_GUIDS the third, and FINISH_JOB is the last one.

Finding the Error in the Logfile It may be that there are multiple logfiles displayed on SP3D 20.01 for the same stage. This happens if the job ends in error and the stage is restarted after the user thinks he solved the problem. The logfiles are sequenced and ordered in descending order, so the uppermost logfile is the actual one.

The logfile contents can be accessed by double-clicking the logfile on SP3D 20.01.

However, if the logfiles are big, it might be faster to set up a network share to the logfile directory on the database server, and open the file with a text editor.

In certain cases, the logfile is not completely written to disk. If you do not see an error message at the end of the logfile and do not see a success message, the logwriter process of the database might not have unloaded its buffer into the file yet.

A fatal error can always be found at the end of the logfile.

Typical Error Situations

10 SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs

Typical Error Situations Some recurring problems are described in this chapter.

Locks on Sheets A fatal error is raised if sheets are locked by another job.

Online execution of SP3D export job aborted due to error.

Error: MAR-44001 Couldn't reserve sheet CustomInterfaces. LOGIN locks with job UK_VIO run 3 in project SP3D_ANSI

ORA-06512: at "M_SYS.M_PCK_SP3D", line 2154

Progress Display Looking at the progress display, you find that:

• The error came up in the first stage:

Starting to fill the interface tables at 09:01:41...

• And, the error is the following:

Error: MAR-44001 Couldn't reserve sheet CustomInterfaces. LOGIN locks with job UK_VIO run 3 in project SP3D_ANSI

(The information about the line number in the code is mainly intended for software developers):

ORA-06512: at "M_SYS.M_PCK_SP3D", line 2152 within the export job data

Typical Error Situations

SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs 11

Logfile The logfile does not provide any additional help.

Solution(s) The error MAR-44001 states that there is a lock on at least one of the sheets to be exported. In our case, the sheet mentioned is “CustomInterfaces”. The message states the user (“LOGIN”) that holds the lock, the job and run number (“UK_VIO”, “3”), and the project where the lock is established (“SP3D_ANSI”). The solution is to either complete or cancel the blocking job in question. If the responsible user is not prepared to do this action, the actual job starting user must wait, or he must reduce the number of exported sheets, excluding the locked ones.

Typical Error Situations

12 SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs

Unique Key Violations Unique key violations raise a fatal error.

Progress Display Looking at the progress display, you find that:

• The error came up in the first stage:

Starting to fill the interface tables at 09:13:43...

• And, the error is the following:

Error: MAR-44002 Nonunique IndustryCommodityCode,ScheduleThickness[1] on sheet PipeStock

(The information about the line number in the code is mainly intended for software developers):

ORA-06512: at "M_SYS.M_PCK_SP3D", line 2152 within the export job data

The error MAR-44002 means that there is more than one row with the same commodity code and first schedule in the data that is going to be written to the PipeStock sheet, but the user-defined unique key does not allow duplicate entries on those attributes.

Typical Error Situations

SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs 13

Logfile If you look at the end of the logfile, you see mainly the same information:

... 1.UK check statement against job data issued Error: 1. userdefined UK violated on ejd_id 84704

• The unique key number 1 defined on SP3D 10.07 was violated.

This UK contains the columns IndustryCommodityCode,ScheduleThickness[1]

• The attributes that are required to be unique are the commodity code and the first schedule.

Tried to insert following UK values on physical columns: AC0060_001 : PAAZZBPZZABAABSAAZZUS AC0030_001 : S-XS

• The values that raised the exception are listed (together with their physical attributes) and ordered in the same way as in the attribute list above. “PAAZZBPZZABAABSAAZZUS” is the IndustryCommodityCode, while “S-XS” is the ScheduleThickness[1]. The row with these values was rejected because there is already one row on the exported sheet with the same commodity code and first schedule values. The following messages are mainly relevant for development staff:

MAR-44002 Nonunique IndustryCommodityCode,ScheduleThickness[1] on sheet PipeS tock within the export job data. SP3D export finished with errors MAR-44002 Nonunique IndustryCommodityCode,ScheduleThickness[1] on sheet PipeS tock within the export job data. Complete error stack trace: --------------------------- ORA-20000: MAR-44002#1IndustryCommodityCode,ScheduleThickness[1] #2PipeStock ORA-06512: at "M_SYS.M_PCK_SP3D", line 964 ORA-06512: at "M_SYS.M_PCK_SP3D", line 1983 ------------------------- End of error stack trace. ----- PL/SQL Call Stack ----- object line object handle number name 2047AEA8 2135 package body M_SYS.M_PCK_SP3D

Typical Error Situations

14 SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs

------------------------ End of call stack trace.

• End of the logfile.

Solution(s) Open SP3D 10.07, go to the PipeStock sheet configuration, and query for all attributes that are part of unique key number 1. You can find the columns listed in the error message:

This configuration is incorrect because the unique key does not contain enough columns. Of course, a PipeStock will contain multiple rows with the same Commodity Code and same Schedule for different sizes. So you should include more columns in the unique key. The error disappears on the next run. Here is the correct unique key configuration, which must include the sizes and units:

Typical Error Situations

SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs 15

Attribute Values Too Large Size conflicts raise a fatal error.

Progress Display Looking at the progress display, you find that:

• The error came up in the first stage:

Starting to fill the interface tables at 15:11:18...

• And, the error is the following:

Error: ORA-12899: value too large for column "M_SYS"."M_SP3D_EXP_JOB_DTA_CCI"."AC0010_008" (actual: 11, maximum: 10)

(The information about the line number in the code is mainly intended for software developers):

ORA-06512: at "M_SYS.M_PCK_SP3D", line 2152 within the export job data

The error states that the value that the program is about to insert into AC0010_008 is eleven chars wide, but the target column has space for ten characters only.

Typical Error Situations

16 SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs

Logfile If you look at the end of the logfile, you see a listing of all the attributes and the values that the current row to be exported should get. Note that this “Going to set”-list is only produced if the message level was set to 30 or higher: ... Going to set MARIAN attr COMMODITY_CODE to this value: PAAZZBPZZABAABSAAZZUS Going to set MARIAN attr COMMODITY_ID to this value: 5858 Going to set MARIAN attr GROUP_CODE to this value: PIPE_NIP Going to set MARIAN attr GROUP_ID to this value: 5516 Going to set MARIAN attr IDENT to this value: 94352 Going to set MARIAN attr IDENT_CODE to this value: I94352 Going to set MARIAN attr INPUT_1 to this value: 1.5 Going to set MARIAN attr INPUT_2 to this value: S-XS Going to set MARIAN attr INPUT_3 to this value: 0 Going to set MARIAN attr INPUT_4 to this value: 0 Going to set MARIAN attr INPUT_5 to this value: 0 Going to set MARIAN attr PART_CODE to this value: AA Going to set MARIAN attr PART_ID to this value: 5516 Going to set variable attr IndustryCommodityCode(AC0060_001) to this value: PAAZZBPZZABAABSAAZZUS Going to set variable attr FirstSizeSchedule(AC0010_009) to this value: S-XS Going to set variable attr CommodityType(AC0060_002) to this value: PIPE Going to set variable attr MaterialGrade(AC0010_010) to this value: 162 Going to set variable attr GeometricIndustryStandard(AC0010_019) to this value: 100 Going to set variable attr Density(AC0060_003) to this value: 490lbm/ft^3 Going to set variable attr GraphicalRepresentationOrNot(AC0010_011) to this value: Going to set variable attr PurchaseLength(AC0010_012) to this value: Going to set variable attr MinimumPipeLength(AC0010_013) to this value: Going to set variable attr MaximumPipeLength(AC0010_014) to this value: Going to set variable attr ManufacturingMethod(AC0010_015) to this value: 5 Going to set variable attr SurfacePreparation(AC0010_016) to this value: 1 Going to set variable attr LiningMaterial(AC0010_017) to this value: 1 Going to set variable attr EndPreparation[1](AC0010_005) to this value: 391 Going to set variable attr PressureRating[1](AC0020_001) to this value: Going to set variable attr EndStandard[1](AC0010_006) to this value: 5 Going to set variable attr ScheduleThickness[1](AC0030_001) to this value: S-XS Going to set variable attr EndPreparation[2](AC0010_007) to this value: 391 Going to set variable attr PressureRating[2](AC0020_020) to this value:

Typical Error Situations

SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs 17

• Here we have the value 12345678901 for AC0010_008 as denoted in the error message:

Going to set variable attr EndStandard[2](AC0010_008) to this value: 12345678901 Going to set variable attr ScheduleThickness[2](AC0020_002) to this value: S-XS Going to set variable attr Npd[1]:Primary(AC0010_001) to this value: 1.5 Going to set variable attr NpdUnitType[1](AC0010_003) to this value: in Going to set variable attr Npd[2]:Secondary(AC0010_002) to this value: 1.5 Going to set variable attr NpdUnitType[2](AC0010_004) to this value: in Going to set variable attr WeightPerUnitLength(AC0020_003) to this value: Going to set variable attr PipingNote1(AC0010_018) to this value: Going to set variable attr PartNumber(AC0060_004) to this value: Variables bound

• After that, you see the sheet on which the problem occurred:

Error filling sheet <PipeStock> with stnd method SP3D export finished with errors ORA-12899: value too large for column "M_SYS"."M_SP3D_EXP_JOB_DTA_CCI"."AC0010 _008" (actual: 11, maximum: 10)

• The following messages are mainly relevant for development staff:

Complete error stack trace: --------------------------- ORA-12899: value too large for column "M_SYS"."M_SP3D_EXP_JOB_DTA_CCI"."AC0010 _008" (actual: 11, maximum: 10) ORA-06512: at "M_SYS.M_PCK_SP3D", line 973 ORA-06512: at "M_SYS.M_PCK_SP3D", line 1992 ------------------------- End of error stack trace. ----- PL/SQL Call Stack ----- object line object handle number name 2047AEA8 2144 package body M_SYS.M_PCK_SP3D ------------------------ End of call stack trace.

Typical Error Situations

18 SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs

• End of the logfile.

Solution(s) Open SP3D 10.07, go to the PipeStock sheet attribute configuration, and query for physical attribute AC0010_008. Check the retrieval method and source of the attribute. In our case, it turns out that the value 12345678901 comes from the default field on the screen. Decide if the value is there in error, or if you must select a bigger physical attribute for your Endstandard[2] attribute.

Syntax Errors in the Source Statement

SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs 19

Syntax Errors in the Source Statement These syntax errors raise a fatal error.

Progress Display In the progress display, you find that:

• The error came up in the first stage:

Starting to fill the interface tables at 12:57:29...

• And, the error reason is an Oracle error, such as

Error: ORA-00936: missing expression

(The information about the line number in the code is mainly intended for software developers):

ORA-06512: at "M_SYS.M_PCK_SP3D", line 2152 within the export job data

Instead of “ORA-00936: missing expression”, there could also be other messages such as:

• “ORA-00903: invalid table name”, or

• “ORA-00904: "GETMATERIAL": invalid identifier”

Syntax Errors in the Source Statement

20 SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs

Logfile Looking at the end of the logfile, you find the same message “ORA-00936: missing expression” on a line saying that this error was “raised during parse of job source statement”. This log entry can be used to identify this kind of error: ... Error <ORA-00936: missing expression> raised during parse of job source statement:

• A complex statement follows. This statement begins with “SELECT”:

SELECT cg.group_id, p.part_id, cc.commodity_id, i.ident, cg.cg_group_code, p .part_code, cc.commodity_code, i.ident_code, i.input_1, i.input_2, i.input_3, i.input_4, i.input_5,cc.commodity_code,DECODE(m_pck_admin.m_cn(i.input_2),'N', DECODE(i.input_2,'0',NULL,i.input_2||'"'), 'C',i.input_2),NULL,NULL,NULL,Defau lt,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,DECODE(m_pck_admin.m_cn(i .input_2),'N',DECODE(i.input_2,'0',NULL,i.input_2||'"'), 'C',i.input_2),NULL,N ULL,NULL,DECODE(m_pck_admin.m_cn(i.input_2),'N',DECODE(i.input_2,'0',NULL,i.in put_2||'"'), 'C',i.input_2),RTRIM(TO_CHAR(TO_NUMBER(i.input_1),'FM9999990D9999 999'),'.'),NULL,RTRIM(TO_CHAR(TO_NUMBER(i.input_1),'FM9999990D9999999'),'.'),N ULL,NVL2(NVL2(i.output_5,i.output_5||'lbm/ft',NULL),NVL2(i.output_5,i.output_5 ||'lbm/ft',NULL),NULL),NULL,NULL FROM m_commodity_groups cg, m_parts p, m_comm odity_codes cc,m_sp3d_itm_map_sht_idts imsi, m_idents i, m_sp3d_exp_job_sel_id ts ejsid WHERE i.commodity_id=cc.commodity_id AND cc.group_id=p.group_id AND c c.part_id=p.part_id AND p.group_id=cg.group_id AND (ejsid.ident=i.ident OR (ejsid.commodity_id=cc.commodity_id AND ejsid.ident IS NULL) OR (ejsid.part_id=p.part_id AND ejsid.commodity_id IS NULL AND ejsid.i dent IS NULL) OR (ejsid.group_id=cg.group_id AND ejsid.part_id I S NULL AND ejsid.commodity_id IS NULL AND ejsid.ident IS NULL) ) AND ejsid.ej_id=:ej_id AND (imsi.ident=i.ident OR (imsi.commo dity_id=cc.commodity_id AND imsi.ident IS NULL) OR (imsi.part_id=p.p art_id AND imsi.commodity_id IS NULL AND imsi.ident IS NULL) OR (ims i.group_id=cg.group_id AND imsi.part_id IS NULL AND imsi.commodity_id IS NULL AND imsi.ident IS NULL) ) AND imsi.im_id=:im_id AND imsi.sht_id=:sh t_id ORDER BY cg.group_id, p.part_id, cc.commodity_id

• Now, the supposed error position in the code appears. This information is

not always precise. It depends on the workflow of the parser that analyzes the statement:

Error position (307): ...,Default,NULL,NULL,NULL,NULL,N...

• After that, you see the sheet on which the problem occurred:

Error filling sheet <PipeStock> with stnd method

• The following messages are mainly relevant for development staff:

SP3D export finished with errors

Syntax Errors in the Source Statement

SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs 21

ORA-00936: missing expression Complete error stack trace: --------------------------- ORA-00936: missing expression ORA-06512: at "M_SYS.M_PCK_SP3D", line 966 ORA-06512: at "M_SYS.M_PCK_SP3D", line 1985 ------------------------- End of error stack trace. ----- PL/SQL Call Stack ----- object line object handle number name 2047AEA8 2137 package body M_SYS.M_PCK_SP3D ------------------------ End of call stack trace.

• End of the logfile.

Solution(s) Open SP3D 10.07, and select the PipeStock sheet as indicated in the logfile. Query all attributes that have the Retrieval Method “BASE_COLUMN”. All retrieval sources of those attributes are built into the complex SELECT statement you saw in the error. So, if there are mistakes in the statement, the reason can most likely be found here.

1. In our case, the error cause is the wrong “Retrieval Method“ for the “Density”

attribute. The user wanted to map the density on SP3D 10.04, so he chose the retrieval source “Default”, but he forgot to change the retrieval method to “ATTR_STND_METHOD”. What happens now is that the string “Default” is simply copied to the SELECT statement, but Oracle does not know what to do with it. BASE_COLUMN sources must be references to valid columns used in the underlying tables, such as “cc.commodity_code” in the above graphic. There may be even more complicated function calls that operate on those table columns. But, it is not possible to use retrieval sources from SP3D 10.12 that can be selected via

Syntax Errors in the Source Statement

22 SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs

LOV. After changing the “Retrieval Method“ for the “Density” attribute to “ATTR_STND_METHOD”, the error disappears.

2. Another possible reason might have been a syntax error in a source definition. Imagine if the user typed:

NVL(cc.commodity_code,’EMPTY’

and forgot the closing bracket at the end of the clause. This omission leads to an error in the same part of the process; only the error message is now “ORA-00907: missing right parenthesis”.

3. If the customer wrote his own sheet level retrieval sources, there might be also syntax errors. The following graphic shows the sheet level retrieval source of the PipeStock sheet:

The retrieval source is defined on SP3D 10.12. It can contain a list of tables and some additional filtering condition (where errors can be integrated):

4. More technical experienced users and support personnel can copy the SELECT

statement to a SQL tool to find out where the error occurs.

Nonfatal Errors

SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs 23

Nonfatal Errors Nonfatal errors do not catch your eye. Sometimes it is even hard to decide if “error” is really the correct word. However, what can the user do in case a job terminates successfully, but the result does not look like he expects?

Sheet is not in the workbook The export ran normally, but a sheet is missing from the workbook.

General Hints First, check if the sheet is selected for export on the “Selected Sheets” tab on SP3D 20.01. If the sheet is there, click “Show Result” if the sheet is contained in the catalog structure:

If the sheet is accessible here, it must have gone astray on its way to the workbook. You should look at the WRITE_XLS logfile.

If the sheet is not in the catalog structure, this could be due to the fact that you did not include it in the catalog structure on SP3D 10.09, or that you cancelled the job already. If neither is applicable, you should look at the FILL_IF_TABS logfile.

Nonfatal Errors

24 SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs

If the sheet is not selected for export on the “Selected Sheets” tab on SP3D 20.01, this might be caused by a user who forgot to select it manually. The reason might be a config item on SP3D 10.01. The following config items control the automatic selection of sheets for a job:

• AUTO_SELECT_CUST_INTF_FOR_PART_DEFS

• AUTO_SELECT_IDENTS_FROM_SPEC

• AUTO_SELECT_SHTS_FOR_PARTS

• AUTO_SELECT_VALVEOP_CLASS_SHTS

• AUTO_SELECT_VALVEOP_CTRL_DTA_SHT

It can happen that the AUTO_SELECT_SHTS_FOR_PARTS does not select all sheets because of a missing mapping on SP3D 10.04. Only the PartClass sheets that have their parts/CCs/idents in the job selection are automatically selected . The link between those parts and the part class sheets is mapped on SP3D 10.04:

Nonfatal Errors

SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs 25

Sheet is empty Sheet is contained in the resulting workbook, but it is empty.

General Hints Click “Show Result” if the sheet is contained in the catalog structure. Select the sheet and right-click to display the exported sheet data.

If the data is there, it must have been lost during writing the Excel file. You should look at the WRITE_XLS logfile.

If the data is not there, the reason might be that all lines were already posted to the inventory, so the export operation found nothing to do. In this case, you should be able to view the lines on SP3D 20.02. This is only possible if you complete jobs through all stages. If jobs are cancelled, their result is not in the inventory.

Nonfatal Errors

26 SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs

If the inventory does not contain this sheet’s data, you should check the configuration on SP3D 10.07. In the case of lines not coming out properly, the configuration of attributes (3rd block) plays no role. The configuration on the 2nd block should be checked:

If the retrieval method is correctly defined, look at the retrieval source. You can also go to SP3D 10.12 to examine details about the source.

Depending on the sheet or type of sheet, there are different ways to retrieve the data and different prerequisites to get the correct results. Some common cases are listed below:

Part Classes Items exported to PartClasses usually come from SmartPlant Reference Data CCs/Idents. The CCs/Idents to be transferred to SmartPlant 3D must be mentioned on the “Selected Idents” tab of SP3D:

Nonfatal Errors

SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs 27

The level of ident selection can be different. In the above example, groups are selected. This means that all related idents of these groups are rated as “in selection”.

PartClass sheets use the SHT_STND_METHOD to produce reasonable results. The Source must be “PartClass” for part classes (unless intentionally changed by the customer). PartClass sheets are typically empty if the relation between parts and the part class in SP3D 10.04 is missing. Here is an example mapping for 45 degree elbows:

Another possibility to check is if the idents really exist in SmartPlant Reference Data for the CCs you want to export.

Template Sheets If you want to export a template sheet like a codelist or a generic table, the setting must be TEMPLATE_COPY. If the template sheet does not exist, “MAR-44000 Template sheet NameOfTheSheet is not defined.” is raised as a fatal error. If the sheet exists in the template, but contains no records, no output is generated. So the completeness of the template sheet must be checked.

Spec-dependent sheets derived by TEMPLATE_COPY are exported if the spec is listed on the “Selected Spec Items” tab of SP3D 20.01:

Nonfatal Errors

28 SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs

The sheet category of the respective sheet is SPEC_RULE, and the check box for spec dependency must be checked:

SpecItemFilter The SmartPlant Reference Data spec items to be exported must be listed on the “Selected Spec Items” tab of SP3D 20.01. If only the Spec Code is provided, all contained spec items are exported:

MaterialControlData Items exported to the PipingCommodityMatlControlData usually come from SmartPlant Reference Data CCs/Idents. The CCs/Idents to be transferred to SP3D must be mentioned on the “Selected Idents” tab of SP3D:

The level of ident selection can be different. In the above example, groups are selected. This means that all related idents of these groups are rated as “in selection”.

Nonfatal Errors

SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs 29

Additionally, if you use the supplied retrieval source “PipingCommodityMatlControlData” on SP3D 10.07, the items to be exported must be mapped to their partclass sheets (which do not have to be among the selected sheets of the job). Items do not appear on the output sheet if the relation between parts and the part class in SP3D 10.04 is missing. Here is the mapping for 45 degree elbows:

Nonfatal Errors

30 SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs

Missing or unwanted lines There are missing lines or unwanted lines on the resulting sheet.

General Hints Click “Show Result” if the sheet is contained in the catalog structure. Select the sheet and right-click to display the exported sheet data.

If the data is there, it must have been lost during the writing of the Excel file. You should look at the WRITE_XLS logfile.

If lines are missing here as well, the reason might be that all lines were already posted to the inventory, so the program did not export them again. In this case, you should be able to view the lines on SP3D 20.02. This is only possible if you complete jobs through all stages. If jobs are cancelled, their results are not in the inventory.

Nonfatal Errors

SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs 31

If the inventory does not contain this sheet’s data, or there are unwanted lines in your result sheet, you should check the configuration on SP3D 10.07. In the case of lines not coming out properly, the configuration of attributes (3rd block) plays no role. The configuration on the 2nd block should be checked:

If the retrieval method is correctly defined, look at the retrieval source. You can go to SP3D 10.12 to examine details about the source.

Depending on the sheet or type of sheet, there are different ways to retrieve the data and different prerequisites to get correct results. Some common cases are listed below:

Part Classes Items exported to PartClasses usually come from SmartPlant Reference Data CCs/Idents. The CCs/Idents to be transferred to SmartPlant 3D must be mentioned on the “Selected Idents” tab of SP3D:

The level of ident selection can be different. In the above example, groups are selected. This means that all related idents of these groups are rated as “in selection”.

Nonfatal Errors

32 SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs

PartClass sheets use the SHT_STND_METHOD to produce results. The Source must be “PartClass” for part classes (unless intentionally changed by the customer). Using “Default” as source leads to a PipeStock sheet that contains all CCs/idents selected for this job (not only pipe). On the other hand, PartClass sheets are typically incomplete if the relation between parts and the part class on SP3D 10.04 is missing. Here is an example mapping for 45 degree elbows:

Another possibility to check is if the idents really exist in SmartPlant Reference Data for the CCs you want to export.

If there is a problem in the definition section of the part class, check if the values are there on SP3D 10.07:

Nonfatal Errors

SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs 33

Template Sheets If you want to export a template sheet like a codelist or a generic table, the setting must be TEMPLATE_COPY. If the template sheet does not exist, “MAR-44000 Template sheet NameOfTheSheet is not defined.” is raised as a fatal error. If the sheet exists in the template, the records on it are exported. So the completeness of the template sheet must be checked if the export result was incorrect.

Spec-dependent sheets derived by TEMPLATE_COPY are exported if the spec is listed on the “Selected Spec Items” tab of SP3D 20.01:

The sheet category of the respective sheet is SPEC_RULE, and the check box for spec dependency must be checked:

SpecItemFilter The SmartPlant Reference Data spec items to be exported must be listed on the “Selected Spec Items” tab of SP3D 20.01. If only the Spec Code is provided, all contained spec items are exported:

Nonfatal Errors

34 SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs

MaterialControlData Items exported to the PipingCommodityMatlControlData usually come from SmartPlant Reference Data CCs/Idents. The CCs/Idents to be transferred to SP3D must be mentioned on the “Selected Idents” tab of SP3D:

The level of ident selection can be different. In the above example, groups are selected. This means that all related idents of these groups are rated as “in selection”.

Additionally, if you use the supplied retrieval source “PipingCommodityMatlControlData” on SP3D 10.07, the items to be exported must be mapped to their partclass sheets (which do not have to be among the selected sheets of the job). Items do not appear on the output sheet if the relation between parts and the part class on SP3D 10.04 is missing. Here is the mapping for 45 degree elbows:

The ident filtering logic is coded in a custom function. Be aware that the function might have been customized in your database:

Nonfatal Errors

SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs 35

The config items SI_TRANSLATION_LEVEL, SI_SCHEDULE_MTHD_NONPIPING, and SI_SCHEDULE_MTHD_PIPING on SP3D 10.01 control whether single idents are exported to the sheet or commodity codes or if the lines are broken by schedule.

Nonfatal Errors

36 SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs

Items empty or values incorrect In this scenario, all expected lines appear on the output sheet, but the values for one or more attributes in one or more rows are missing or wrong.

General Hints Click “Show Result” if the sheet is contained in the catalog structure. Select the sheet and right-click to display the exported sheet data.

If the data is ok there, it must have been transmitted incorrectly during the writing of the Excel file. You should look at the WRITE_XLS logfile.

Nonfatal Errors

SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs 37

If a complete column is missing from the sheet, but it is on SP3D 10.07 and also in the result display on SP3D 20.01, make sure that the “In XLS” check box is checked, which is set by default:

A value could also be missing from the sheet but appear in the result display of SP3D 20.01 because the “Suppress Repetition” indicator was checked. Suppressing repetition of equal values from row to row makes sheets more readable and files smaller. The question is if the Bulkload utility can handle this situation for the current attribute and sheet.

If the attribute values are the same on the sheet and in the result display of SP3D 20.01, you should check the configuration of attributes (3rd block) on SP3D 10.07.

Consider this question: What method and the source were used to retrieve the value? The method and source determine the resulting cell value.

• If the retrieval method is NONE, you can expect that the default value is written to the sheet.

• If the retrieval method is ATTR_STND_METHOD, the source points to a function defined on SP3D 10.12. You can look at this screen to find out more about the retrieval source. If the source is “Default”, the attribute mapping on SP3D 10.04 (SP3D 30.01/2/3) is used to populate the field.

• If the retrieval method is BASE_COLUMN, sources must be references to valid columns used in the underlying tables, such as “cc.commodity_code”. There may also be more complicated function calls that operate on those table columns.

Examining the FILL_IF_TABS Logfile

38 SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs

Examining the FILL_IF_TABS Logfile The following logfile was produced using the highest message level. The job inserts two idents into the PipeStock sheet. If the message level is set to 30, 25, 20, 15, 10, 5, or even 0, the quantity of log output is dramatically reduced. This is just an example to demonstrate the structure of the logfile. The output in each case depends on the specific job. Here, we are populating only the PartClass sheet called “PipeStock”.

This is the resulting sheet after starting the second stage:

Examining the FILL_IF_TABS Logfile

SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs 39

Here is the logfile of the first stage: SPRD SP3D Interface – SPRD Export Production Release 2007 (6.2.3) SP 6 License Number: 7CB7EF986BFA16D8 Copyright 1988 - 2007, Intergraph Corporation All Rights Reserved Job Name :INS_2PIPE_IDENTS Run Number :1 Job Id :105586 Job Comment :Import 2 idents to PipeStock Bulkload Mode :ADD_MODIFY_DELETE General Config :SP3D_ANSI General Config Id:5000 Item Mapping :SP3D_ANSI Item Mapping Id :5000 Template :SP3D_ANSI Template Id :5000 Sheet Config :SP3D_ANSI Sheet Config Id :5001 Transfer Type :MAN_SHT_SEL Transfer Type Id :5000 Destination :TEST_DESTI_1 Destination Id :5020 Message level :99 Starting to carry out FILL_IF_TABS stage at 11-SEP-2007 11:41:02 Inserting (and reserving) <PipeStock> sheet into inventory Inventory reserved Unable to fill PDS table details Processing selected sheet <PipeStock> Sheet has sequence <6000> in the config Sheet retrieval method is <SHT_STND_METHOD> Processing pre sheet procedures Pre sheet procedures finished Filling sheet <PipeStock> with stnd method Initiating parameter array Inserting sheet record from config Filling sheet definition attrs from config 0 is highest used sequence Did not find same attribute PartClassType in inventory 1 rows inserted 0 rows updated, setting sheet action Adding occurance attrs from config 10 is highest used sequence 0 rows updated, setting sheet action Filling sheet data. Sheet Category is PART_DEFINITION Fetched sheet rtrv source definition <PartClass> successfully Table list is <m_sp3d_itm_map_sht_idts imsi>

Starting with some basic job information.

The selected sheets are protected from being used by multiple jobs in parallel. If we had several sheets selected, they would have been listed here.

This is relevant only if mappings from the PDS interface should be used.

This is a recurring message to indicate which sheet is in process. If we had several sheets selected, we could search for “Processing selected sheet”, and step through

Attached SP3D 10.13 procedures might log their output here.

Pipestock is a PartClass sheet, so it owns a sheet definition section, which is handled here.

One new definition attribute was inserted; no occurrence attributes inserted.

Sheet definition is finished. The software continues with populating sheet data.

Examining the FILL_IF_TABS Logfile

40 SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs

Condition is < (imsi.ident=i.ident OR (imsi.commodity_id=cc.comm odity_id AND imsi.ident IS NULL) OR (imsi.part_id=p.part_id AND imsi .commodity_id IS NULL AND imsi.ident IS NULL) OR (imsi.group_id=cg.g roup_id AND imsi.part_id IS NULL AND imsi.commodity_id IS NULL AND imsi.ident IS NULL) ) AND imsi.im_id=:im_id AND imsi.sht_id=:sht_id> Initializing attr fnc calls for this sheet Skipping attribute <IndustryCommodityCode>, because retrieval method BASE_COLU MN found. Skipping attribute <FirstSizeSchedule>, because retrieval method BASE_COLUMN f ound. Found rtrv function definition for attribute <CommodityType> Displaying function statement: BEGIN :result:=m_pck_sp3d_lookup.get_commodity_type(:sc_id,:tpl_id,:part_id); END; Statement parsed Variable <tpl_id> bound Variable <sc_id> bound Sheet dependent function attributes bound Found rtrv function definition for attribute <MaterialGrade> Displaying function statement: BEGIN :result:=m_pck_sp3d_lookup.find_in_cc(:commodity_id,'MSTDGR',:interface_ id,'TD_AN1',NULL,NULL); END; Statement parsed Variable <interface_id> bound Sheet dependent function attributes bound Found rtrv function definition for attribute <GeometricIndustryStandard> Displaying function statement: BEGIN :result:=m_pck_sp3d_lookup.find_in_cc(:commodity_id,'GEOSTDMF',:interfac e_id,'TD_AN1',NULL,NULL); END; Statement parsed Variable <interface_id> bound Sheet dependent function attributes bound Found rtrv function definition for attribute <Density> Displaying function statement: BEGIN :result:=m_pck_sp3d_lookup.get_mapped_attr_value; END; Statement parsed Sheet dependent function attributes bound Skipping attribute <GraphicalRepresentationOrNot>, because retrieval method NO NE found. Found rtrv function definition for attribute <PurchaseLength> Displaying function statement: BEGIN :result:=m_pck_sp3d_lookup.find_in_cc(:commodity_id,'NLPL',:interface_id ,'TD_AN1',NULL,NULL); END; Statement parsed Variable <interface_id> bound Sheet dependent function attributes bound Found rtrv function definition for attribute <MinimumPipeLength> Displaying function statement: BEGIN :result:=m_pck_sp3d_lookup.get_mapped_attr_value; END; Statement parsed Sheet dependent function attributes bound Found rtrv function definition for attribute <MaximumPipeLength> Displaying function statement: BEGIN :result:=m_pck_sp3d_lookup.get_mapped_attr_value; END; Statement parsed Sheet dependent function attributes bound Found rtrv function definition for attribute <ManufacturingMethod> Displaying function statement: BEGIN :result:=m_pck_sp3d_lookup.find_in_cc(:commodity_id,'MMTH',:interface_id ,'TD_AN1',NULL,NULL); END; Statement parsed Variable <interface_id> bound Sheet dependent function attributes bound Found rtrv function definition for attribute <SurfacePreparation> Displaying function statement: BEGIN :result:=m_pck_sp3d_lookup.find_in_cc(:commodity_id,'SP',:interface_id,' TD_AN1',NULL,NULL); END;

The sheet retrieval source for PipeStock appears.

Preparing the function calls that are derived from SP3D 10.12.

Examining the FILL_IF_TABS Logfile

SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs 41

Statement parsed Variable <interface_id> bound Sheet dependent function attributes bound Found rtrv function definition for attribute <LiningMaterial> Displaying function statement: BEGIN :result:=m_pck_sp3d_lookup.find_in_cc(:commodity_id,'LM',:interface_id,' TD_AN1',NULL,NULL); END; Statement parsed Variable <interface_id> bound Sheet dependent function attributes bound Found rtrv function definition for attribute <EndPreparation[1]> Displaying function statement: BEGIN :result:=m_pck_sp3d_lookup.find_in_cc(:commodity_id,'ENDP',:interface_id ,'TD_AN1',NULL,NULL); END; Statement parsed Variable <interface_id> bound Sheet dependent function attributes bound Found rtrv function definition for attribute <PressureRating[1]> Displaying function statement: BEGIN :result:=m_pck_sp3d_lookup.get_mapped_attr_value; END; Statement parsed Sheet dependent function attributes bound Found rtrv function definition for attribute <EndStandard[1]> Displaying function statement: BEGIN :result:=m_pck_sp3d_lookup.get_mapped_attr_value; END; Statement parsed Sheet dependent function attributes bound Skipping attribute <ScheduleThickness[1]>, because retrieval method BASE_COLUM N found. Found rtrv function definition for attribute <EndPreparation[2]> Displaying function statement: BEGIN :result:=m_pck_sp3d_lookup.find_in_cc(:commodity_id,'ENDP',:interface_id ,'TD_AN2',NULL,NULL); END; Statement parsed Variable <interface_id> bound Sheet dependent function attributes bound Found rtrv function definition for attribute <PressureRating[2]> Displaying function statement: BEGIN :result:=m_pck_sp3d_lookup.get_mapped_attr_value; END; Statement parsed Sheet dependent function attributes bound Found rtrv function definition for attribute <EndStandard[2]> Displaying function statement: BEGIN :result:=m_pck_sp3d_lookup.get_mapped_attr_value; END; Statement parsed Sheet dependent function attributes bound Skipping attribute <ScheduleThickness[2]>, because retrieval method BASE_COLUM N found. Skipping attribute <Npd[1]:Primary>, because retrieval method BASE_COLUMN foun d. Skipping attribute <NpdUnitType[1]>, because retrieval method NONE found. Skipping attribute <Npd[2]:Secondary>, because retrieval method BASE_COLUMN fo und. Skipping attribute <NpdUnitType[2]>, because retrieval method NONE found. Skipping attribute <WeightPerUnitLength>, because retrieval method BASE_COLUMN found. Skipping attribute <PipingNote1>, because retrieval method NONE found. Skipping attribute <PartNumber>, because retrieval method NONE found. Opening cursor to fill commodity/ident dependent sheet dta 1 UKs are defined on the sheet Displaying the 1. compare job data uk statement: SELECT ejd.ejdc_id FROM m_sp3d_exp_job_dta_cci ejd WHERE ejd.ej_id=:ej_id AND ejd.sht_id=:sht_id AND NVL(AC0060_001,'#+*?') = NVL(:AC0060_001,'#+*?') AND N VL(AC0010_001,'#+*?') = NVL(:AC0010_001,'#+*?') AND NVL(AC0010_003,'#+*?') = N VL(:AC0010_003,'#+*?') AND NVL(AC0010_002,'#+*?') = NVL(:AC0010_002,'#+*?') AN D NVL(AC0010_004,'#+*?') = NVL(:AC0010_004,'#+*?') AND NVL(AC0030_001,'#+*?') = NVL(:AC0030_001,'#+*?') AND NVL(AC0020_002,'#+*?') = NVL(:AC0020_002,'#+*?') AND NOT(:AC0060_001 IS NULL AND :AC0010_001 IS NULL AND :AC0010_003 IS NULL A ND :AC0010_002 IS NULL AND :AC0010_004 IS NULL AND :AC0030_001 IS NULL AND :AC 0020_002 IS NULL) Return column defined

The function calls that are derived from SP3D 10.12 are prepared. Additional code is generated to fill the PipeStock. The program confirms that there is one unique key defined for PipeStock.

…and the statement to enforce this key is here.

A similar check must be issued against the inventory to find duplicates.

Examining the FILL_IF_TABS Logfile

42 SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs

Displaying the 1. compare inventory uk statement: SELECT edd.eddc_id FROM m_sp3d_exp_dst_dta_cci edd WHERE edd.ed_id=:ed_id AND edd.sht_id=:sht_id AND NVL(AC0060_001,'#+*?') = NVL(:AC0060_001,'#+*?') AND N VL(AC0010_001,'#+*?') = NVL(:AC0010_001,'#+*?') AND NVL(AC0010_003,'#+*?') = N VL(:AC0010_003,'#+*?') AND NVL(AC0010_002,'#+*?') = NVL(:AC0010_002,'#+*?') AN D NVL(AC0010_004,'#+*?') = NVL(:AC0010_004,'#+*?') AND NVL(AC0030_001,'#+*?') = NVL(:AC0030_001,'#+*?') AND NVL(AC0020_002,'#+*?') = NVL(:AC0020_002,'#+*?') AND NOT(:AC0060_001 IS NULL AND :AC0010_001 IS NULL AND :AC0010_003 IS NULL A ND :AC0010_002 IS NULL AND :AC0010_004 IS NULL AND :AC0030_001 IS NULL AND :AC 0020_002 IS NULL) Return column defined Fix IDs bound Displaying the compare inventory (all used columns) statement: SELECT edd.eddc_id FROM m_sp3d_exp_dst_dta_cci edd WHERE edd.ed_id=:ed_id AND edd.sht_id=:sht_id AND NVL(AC0060_001,'#+*?') = NVL(:AC0060_001,'#+*?') AND N VL(AC0010_009,'#+*?') = NVL(:AC0010_009,'#+*?') AND NVL(AC0060_002,'#+*?') = N VL(:AC0060_002,'#+*?') AND NVL(AC0010_010,'#+*?') = NVL(:AC0010_010,'#+*?') AN D NVL(AC0010_019,'#+*?') = NVL(:AC0010_019,'#+*?') AND NVL(AC0060_003,'#+*?') = NVL(:AC0060_003,'#+*?') AND NVL(AC0010_011,'#+*?') = NVL(:AC0010_011,'#+*?') AND NVL(AC0010_012,'#+*?') = NVL(:AC0010_012,'#+*?') AND NVL(AC0010_013,'#+*? ') = NVL(:AC0010_013,'#+*?') AND NVL(AC0010_014,'#+*?') = NVL(:AC0010_014,'#+* ?') AND NVL(AC0010_015,'#+*?') = NVL(:AC0010_015,'#+*?') AND NVL(AC0010_016,'# +*?') = NVL(:AC0010_016,'#+*?') AND NVL(AC0010_017,'#+*?') = NVL(:AC0010_017,' #+*?') AND NVL(AC0010_005,'#+*?') = NVL(:AC0010_005,'#+*?') AND NVL(AC0020_001 ,'#+*?') = NVL(:AC0020_001,'#+*?') AND NVL(AC0010_006,'#+*?') = NVL(:AC0010_00 6,'#+*?') AND NVL(AC0030_001,'#+*?') = NVL(:AC0030_001,'#+*?') AND NVL(AC0010_ 007,'#+*?') = NVL(:AC0010_007,'#+*?') AND NVL(AC0020_020,'#+*?') = NVL(:AC0020 _020,'#+*?') AND NVL(AC0010_008,'#+*?') = NVL(:AC0010_008,'#+*?') AND NVL(AC00 20_002,'#+*?') = NVL(:AC0020_002,'#+*?') AND NVL(AC0010_001,'#+*?') = NVL(:AC0 010_001,'#+*?') AND NVL(AC0010_003,'#+*?') = NVL(:AC0010_003,'#+*?') AND NVL(A C0010_002,'#+*?') = NVL(:AC0010_002,'#+*?') AND NVL(AC0010_004,'#+*?') = NVL(: AC0010_004,'#+*?') AND NVL(AC0020_003,'#+*?') = NVL(:AC0020_003,'#+*?') AND NV L(AC0010_018,'#+*?') = NVL(:AC0010_018,'#+*?') AND NVL(AC0060_004,'#+*?') = NV L(:AC0060_004,'#+*?') Return column defined Fix IDs bound Displaying insert ej data statement: INSERT INTO m_sp3d_exp_job_dta_cci ( ejdc_id, ej_id, sht_id, group_id, part_id , commodity_id, ident, proj_id, dp_id, group_code, part_code, commodity_code, ident_code, input_1, input_2, input_3, input_4, input_5, temp_eddc_id, row_act ion,AC0060_001,AC0010_009,AC0060_002,AC0010_010,AC0010_019,AC0060_003,AC0010_0 11,AC0010_012,AC0010_013,AC0010_014,AC0010_015,AC0010_016,AC0010_017,AC0010_00 5,AC0020_001,AC0010_006,AC0030_001,AC0010_007,AC0020_020,AC0010_008,AC0020_002 ,AC0010_001,AC0010_003,AC0010_002,AC0010_004,AC0020_003,AC0010_018,AC0060_004) SELECT m_seq_sp3d_ejdc_id.NEXTVAL, :ej_id, :sht_id, :group_id, :part_id, :com modity_id, :ident, USER, mpck_login.current_dp_id, :group_code, :part_code, :c ommodity_code, :ident_code, :input_1, :input_2, :input_3, :input_4, :input_5, :edd_id, :row_action,:AC0060_001,:AC0010_009,:AC0060_002,:AC0010_010,:AC0010_0 19,:AC0060_003,:AC0010_011,:AC0010_012,:AC0010_013,:AC0010_014,:AC0010_015,:AC 0010_016,:AC0010_017,:AC0010_005,:AC0020_001,:AC0010_006,:AC0030_001,:AC0010_0 07,:AC0020_020,:AC0010_008,:AC0020_002,:AC0010_001,:AC0010_003,:AC0010_002,:AC 0010_004,:AC0020_003,:AC0010_018,:AC0060_004 FROM dual Fix IDs bound Displaying job source data statement: SELECT cg.group_id, p.part_id, cc.commodity_id, i.ident, cg.cg_group_code, p .part_code, cc.commodity_code, i.ident_code, i.input_1, i.input_2, i.input_3, i.input_4, i.input_5,cc.commodity_code,DECODE(m_pck_admin.m_cn(i.input_2),'N', DECODE(i.input_2,'0',NULL,i.input_2||'"'), 'C',i.input_2),NULL,NULL,NULL,NULL, NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,DECODE(m_pck_admin.m_cn(i.in put_2),'N',DECODE(i.input_2,'0',NULL,i.input_2||'"'), 'C',i.input_2),NULL,NULL ,NULL,DECODE(m_pck_admin.m_cn(i.input_2),'N',DECODE(i.input_2,'0',NULL,i.input _2||'"'), 'C',i.input_2),RTRIM(TO_CHAR(TO_NUMBER(i.input_1),'FM9999990D9999999 '),'.'),NULL,RTRIM(TO_CHAR(TO_NUMBER(i.input_1),'FM9999990D9999999'),'.'),NULL ,NVL2(NVL2(i.output_5,i.output_5||'lbm/ft',NULL),NVL2(i.output_5,i.output_5||' lbm/ft',NULL),NULL),NULL,NULL FROM m_commodity_groups cg, m_parts p, m_commodi ty_codes cc,dual, m_idents i, m_sp3d_exp_job_sel_idts ejsid WHERE i.commodity_ id=cc.commodity_id AND cc.group_id=p.group_id AND cc.part_id=p.part_id AND p.g roup_id=cg.group_id AND (ejsid.ident=i.ident OR (ejsid.commodity _id=cc.commodity_id AND ejsid.ident IS NULL) OR (ejsid.part_id=p .part_id AND ejsid.commodity_id IS NULL AND ejsid.ident IS NULL)

The software performs a check over all columns to find duplicates.

A statement to insert the result data…

… and a statement to retrieve the result data.

Examining the FILL_IF_TABS Logfile

SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs 43

OR (ejsid.group_id=cg.group_id AND ejsid.part_id IS NULL AND ejsid.commodity_ id IS NULL AND ejsid.ident IS NULL) ) AND ejsid.ej_id=:ej_id AN D 1=1 ORDER BY cg.group_id, p.part_id, cc.commodity_id Columns defined Variable <ej_id > bound (static) Cursor executed. Ready for fetching Fetched 1. source data row 13 MARIAN specific values fetched and written to array MARIAN specific attribute <COMMODITY_CODE> value is PAAZZBPZZABAABSAAZZUS MARIAN specific attribute <COMMODITY_ID> value is 5858 MARIAN specific attribute <GROUP_CODE> value is PIPE_NIP MARIAN specific attribute <GROUP_ID> value is 5516 MARIAN specific attribute <IDENT> value is 94351 MARIAN specific attribute <IDENT_CODE> value is I94351 MARIAN specific attribute <INPUT_1> value is 1 MARIAN specific attribute <INPUT_2> value is S-XS MARIAN specific attribute <INPUT_3> value is 0 MARIAN specific attribute <INPUT_4> value is 0 MARIAN specific attribute <INPUT_5> value is 0 MARIAN specific attribute <PART_CODE> value is AA MARIAN specific attribute <PART_ID> value is 5516 AC attribute <IndustryCommodityCode> value is PAAZZBPZZABAABSAAZZUS AC attribute <FirstSizeSchedule> value is S-XS AC attribute <CommodityType> value is NULL AC attribute <MaterialGrade> value is NULL AC attribute <GeometricIndustryStandard> value is NULL AC attribute <Density> value is NULL AC attribute <GraphicalRepresentationOrNot> value is NULL AC attribute <PurchaseLength> value is NULL AC attribute <MinimumPipeLength> value is NULL AC attribute <MaximumPipeLength> value is NULL AC attribute <ManufacturingMethod> value is NULL AC attribute <SurfacePreparation> value is NULL AC attribute <LiningMaterial> value is NULL AC attribute <EndPreparation[1]> value is NULL AC attribute <PressureRating[1]> value is NULL AC attribute <EndStandard[1]> value is NULL AC attribute <ScheduleThickness[1]> value is S-XS AC attribute <EndPreparation[2]> value is NULL AC attribute <PressureRating[2]> value is NULL AC attribute <EndStandard[2]> value is NULL AC attribute <ScheduleThickness[2]> value is S-XS AC attribute <Npd[1]:Primary> value is 1 AC attribute <NpdUnitType[1]> value is NULL AC attribute <Npd[2]:Secondary> value is 1 AC attribute <NpdUnitType[2]> value is NULL AC attribute <WeightPerUnitLength> value is NULL AC attribute <PipingNote1> value is NULL AC attribute <PartNumber> value is NULL 28 fetched variable AC values written to array Processing attribute <IndustryCommodityCode> stored in AC0060_001 Defined attr rtrv method is <BASE_COLUMN> Attr rtrv source is <cc.commodity_code> Processing attribute <FirstSizeSchedule> stored in AC0010_009 Defined attr rtrv method is <BASE_COLUMN> Attr rtrv source is <DECODE(m_pck_admin.m_cn(i.input_2),'N',DECODE(i.input_2,' 0',NULL,i.input_2||'"'), 'C',i.input_2)> Processing attribute <CommodityType> stored in AC0060_002 Defined attr rtrv method is <ATTR_STND_METHOD> Attr rtrv source is <CommodityType from group/part> The functions have to be called on the first row Calling function to get value Using ATTR_STND_METHOD Return result variable bound Function does not need parameter <COMMODITY_CODE> Function does not need parameter <COMMODITY_ID> Function does not need parameter <GROUP_CODE> Function does not need parameter <GROUP_ID> Function does not need parameter <IDENT> Function does not need parameter <IDENT_CODE> Function does not need parameter <INPUT_1>

The retrieval statement is being executed, the first row for PipeStock was read, and values are listed below.

After fetching a record from the database, the functions from SP3D 10.12 are called as applicable. IndustryCommodityCode is an example where a function call is not needed.

CommodityType is filled via SP3D 10.12 source.

Function calls must be executed on at least the first record of a sheet.

All available parameters are tested if they are used in the function.

Examining the FILL_IF_TABS Logfile

44 SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs

Function does not need parameter <INPUT_2> Function does not need parameter <INPUT_3> Function does not need parameter <INPUT_4> Function does not need parameter <INPUT_5> Function does not need parameter <PART_CODE> Parameter <PART_ID> bound with value 5516 Function does not need parameter <IndustryCommodityCode> Function does not need parameter <FirstSizeSchedule> Function does not need parameter <CommodityType> Function does not need parameter <MaterialGrade> Function does not need parameter <GeometricIndustryStandard> Function does not need parameter <Density> Function does not need parameter <GraphicalRepresentationOrNot> Function does not need parameter <PurchaseLength> Function does not need parameter <MinimumPipeLength> Function does not need parameter <MaximumPipeLength> Function does not need parameter <ManufacturingMethod> Function does not need parameter <SurfacePreparation> Function does not need parameter <LiningMaterial> Function does not need parameter <EndPreparation[1]> Function does not need parameter <PressureRating[1]> Function does not need parameter <EndStandard[1]> Function does not need parameter <ScheduleThickness[1]> Function does not need parameter <EndPreparation[2]> Function does not need parameter <PressureRating[2]> Function does not need parameter <EndStandard[2]> Function does not need parameter <ScheduleThickness[2]> Function does not need parameter <Npd[1]:Primary> Function does not need parameter <NpdUnitType[1]> Function does not need parameter <Npd[2]:Secondary> Function does not need parameter <NpdUnitType[2]> Function does not need parameter <WeightPerUnitLength> Function does not need parameter <PipingNote1> Function does not need parameter <PartNumber> 1 input parameter(s) bound to fnc Function <CommodityType from group/part> returned <PIPE> processing attribute <CommodityType> Retrieval source call result will not have a suffix Processing attribute <MaterialGrade> stored in AC0010_010 Defined attr rtrv method is <ATTR_STND_METHOD> Attr rtrv source is <MaterialsStandard+Grade from CC> The functions have to be called on the first row Calling function to get value Using ATTR_STND_METHOD Return result variable bound Function does not need parameter <COMMODITY_CODE> Parameter <COMMODITY_ID> bound with value 5858 Function does not need parameter <GROUP_CODE> Function does not need parameter <GROUP_ID> Function does not need parameter <IDENT> Function does not need parameter <IDENT_CODE> Function does not need parameter <INPUT_1> Function does not need parameter <INPUT_2> Function does not need parameter <INPUT_3> Function does not need parameter <INPUT_4> Function does not need parameter <INPUT_5> Function does not need parameter <PART_CODE> Function does not need parameter <PART_ID> Function does not need parameter <IndustryCommodityCode> Function does not need parameter <FirstSizeSchedule> Function does not need parameter <CommodityType> Function does not need parameter <MaterialGrade> Function does not need parameter <GeometricIndustryStandard> Function does not need parameter <Density> Function does not need parameter <GraphicalRepresentationOrNot> Function does not need parameter <PurchaseLength> Function does not need parameter <MinimumPipeLength> Function does not need parameter <MaximumPipeLength> Function does not need parameter <ManufacturingMethod> Function does not need parameter <SurfacePreparation> Function does not need parameter <LiningMaterial> Function does not need parameter <EndPreparation[1]> Function does not need parameter <PressureRating[1]> Function does not need parameter <EndStandard[1]>

The function is executed. It returns a value passed to the related attribute.

The next attribute…

Examining the FILL_IF_TABS Logfile

SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs 45

Function does not need parameter <ScheduleThickness[1]> Function does not need parameter <EndPreparation[2]> Function does not need parameter <PressureRating[2]> Function does not need parameter <EndStandard[2]> Function does not need parameter <ScheduleThickness[2]> Function does not need parameter <Npd[1]:Primary> Function does not need parameter <NpdUnitType[1]> Function does not need parameter <Npd[2]:Secondary> Function does not need parameter <NpdUnitType[2]> Function does not need parameter <WeightPerUnitLength> Function does not need parameter <PipingNote1> Function does not need parameter <PartNumber> 1 input parameter(s) bound to fnc starting find_in_cc found td_id 14164 in CC Function <MaterialsStandard+Grade from CC> returned <162> processing attribute <MaterialGrade> Retrieval source call result will not have a suffix Processing attribute <GeometricIndustryStandard> stored in AC0010_019 Defined attr rtrv method is <ATTR_STND_METHOD> Attr rtrv source is <GeomStd or Manufacturer from CC> The functions have to be called on the first row Calling function to get value Using ATTR_STND_METHOD Return result variable bound Function does not need parameter <COMMODITY_CODE> Parameter <COMMODITY_ID> bound with value 5858 Function does not need parameter <GROUP_CODE> Function does not need parameter <GROUP_ID> Function does not need parameter <IDENT> Function does not need parameter <IDENT_CODE> Function does not need parameter <INPUT_1> Function does not need parameter <INPUT_2> Function does not need parameter <INPUT_3> Function does not need parameter <INPUT_4> Function does not need parameter <INPUT_5> Function does not need parameter <PART_CODE> Function does not need parameter <PART_ID> Function does not need parameter <IndustryCommodityCode> Function does not need parameter <FirstSizeSchedule> Function does not need parameter <CommodityType> Function does not need parameter <MaterialGrade> Function does not need parameter <GeometricIndustryStandard> Function does not need parameter <Density> Function does not need parameter <GraphicalRepresentationOrNot> Function does not need parameter <PurchaseLength> Function does not need parameter <MinimumPipeLength> Function does not need parameter <MaximumPipeLength> Function does not need parameter <ManufacturingMethod> Function does not need parameter <SurfacePreparation> Function does not need parameter <LiningMaterial> Function does not need parameter <EndPreparation[1]> Function does not need parameter <PressureRating[1]> Function does not need parameter <EndStandard[1]> Function does not need parameter <ScheduleThickness[1]> Function does not need parameter <EndPreparation[2]> Function does not need parameter <PressureRating[2]> Function does not need parameter <EndStandard[2]> Function does not need parameter <ScheduleThickness[2]> Function does not need parameter <Npd[1]:Primary> Function does not need parameter <NpdUnitType[1]> Function does not need parameter <Npd[2]:Secondary> Function does not need parameter <NpdUnitType[2]> Function does not need parameter <WeightPerUnitLength> Function does not need parameter <PipingNote1> Function does not need parameter <PartNumber> 1 input parameter(s) bound to fnc starting find_in_cc found td_id 8908 in CC Function <GeomStd or Manufacturer from CC> returned <100> processing attribute <GeometricIndustryStandard> Retrieval source call result will not have a suffix Processing attribute <Density> stored in AC0060_003 Defined attr rtrv method is <ATTR_STND_METHOD>

Density is an attribute that is looked up from SP3D 10.04.

Examining the FILL_IF_TABS Logfile

46 SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs

Attr rtrv source is <Default> The functions have to be called on the first row Calling function to get value Using ATTR_STND_METHOD Return result variable bound Function has no input parameters to bind IDENT level was not selected for mapping. COMMODITY_ID level was not selected for mapping. PART_ID level was not selected for mapping. SPEC_ITEM_ID level was not selected for mapping. SPEC_HEADER_ID level was not selected for mapping. No IMSA mapping found after all No mapping found in sheet dependent attribute mapping Mapping found on TD_ID level SPEC_HEADER_ID level was not selected for mapping. SPEC_ITEM_ID level was not selected for mapping. PART_ID level was not selected for mapping. COMMODITY_ID level was not selected for mapping. IDENT level was not selected for mapping. Function <Default> returned <490lbm/ft^3> processing attribute <Density> Retrieval source call result will not have a suffix Processing attribute <GraphicalRepresentationOrNot> stored in AC0010_011 Defined attr rtrv method is <NONE> Attr rtrv source is <Default> Set the default <> for <GraphicalRepresentationOrNot> Processing attribute <PurchaseLength> stored in AC0010_012 Defined attr rtrv method is <ATTR_STND_METHOD> Attr rtrv source is <Nipple or PurchaseLength from CC> The functions have to be called on the first row Calling function to get value Using ATTR_STND_METHOD Return result variable bound Function does not need parameter <COMMODITY_CODE> Parameter <COMMODITY_ID> bound with value 5858 Function does not need parameter <GROUP_CODE> Function does not need parameter <GROUP_ID> Function does not need parameter <IDENT> Function does not need parameter <IDENT_CODE> Function does not need parameter <INPUT_1> Function does not need parameter <INPUT_2> Function does not need parameter <INPUT_3> Function does not need parameter <INPUT_4> Function does not need parameter <INPUT_5> Function does not need parameter <PART_CODE> Function does not need parameter <PART_ID> Function does not need parameter <IndustryCommodityCode> Function does not need parameter <FirstSizeSchedule> Function does not need parameter <CommodityType> Function does not need parameter <MaterialGrade> Function does not need parameter <GeometricIndustryStandard> Function does not need parameter <Density> Function does not need parameter <GraphicalRepresentationOrNot> Function does not need parameter <PurchaseLength> Function does not need parameter <MinimumPipeLength> Function does not need parameter <MaximumPipeLength> Function does not need parameter <ManufacturingMethod> Function does not need parameter <SurfacePreparation> Function does not need parameter <LiningMaterial> Function does not need parameter <EndPreparation[1]> Function does not need parameter <PressureRating[1]> Function does not need parameter <EndStandard[1]> Function does not need parameter <ScheduleThickness[1]> Function does not need parameter <EndPreparation[2]> Function does not need parameter <PressureRating[2]> Function does not need parameter <EndStandard[2]> Function does not need parameter <ScheduleThickness[2]> Function does not need parameter <Npd[1]:Primary> Function does not need parameter <NpdUnitType[1]> Function does not need parameter <Npd[2]:Secondary> Function does not need parameter <NpdUnitType[2]> Function does not need parameter <WeightPerUnitLength> Function does not need parameter <PipingNote1> Function does not need parameter <PartNumber> 1 input parameter(s) bound to fnc

The lookup did not provide a value, so the default is set – which is empty in our case.

A value was found mapped to the table detail on SP3D 10.04.

Examining the FILL_IF_TABS Logfile

SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs 47

starting find_in_cc found td_id 11908 in CC Function <Nipple or PurchaseLength from CC> returned <!NVL> processing attribu te <PurchaseLength> Retrieval source call result was empty or error, so it will not have a suffix Set the default <> for <PurchaseLength> Processing attribute <MinimumPipeLength> stored in AC0010_013 Defined attr rtrv method is <ATTR_STND_METHOD> Attr rtrv source is <Default> The functions have to be called on the first row Calling function to get value Using ATTR_STND_METHOD Return result variable bound Function has no input parameters to bind No mapping found in direct Ident mapping Attribute Id: 4087 Ident: 94351 Sheet Id: 1112 Item Map Id: 5000 No mapping found in Ident range mapping Attribute Id: 4087 Commodity Id: 5858 Input 1: 1 Input 2: S-XS Input 3: 0 Input 4: 0 Input 5: 0 Sheet Id: 1112 Item Map Id: 5000 No mapping found on IDENT level COMMODITY_ID level was not selected for mapping. PART_ID level was not selected for mapping. SPEC_ITEM_ID level was not selected for mapping. SPEC_HEADER_ID level was not selected for mapping. No IMSA mapping found after all No mapping found in sheet dependent attribute mapping No mapping found in direct Ident mapping Attribute Id: 4087 Ident: 94351 Item Map Id: 5000 No mapping found in Ident range mapping Attribute Id: 4087 Commodity Id: 5858 Input 1: 1 Input 2: S-XS Input 3: 0 Input 4: 0 Input 5: 0 Item Map Id: 5000 No mapping found on IDENT level No IMA mapping found after all TD_ID level was not selected for mapping. SPEC_HEADER_ID level was not selected for mapping. SPEC_ITEM_ID level was not selected for mapping. PART_ID level was not selected for mapping. COMMODITY_ID level was not selected for mapping. Function <Default> returned <!NDF> processing attribute <MinimumPipeLength> Retrieval source call result was empty or error, so it will not have a suffix Set the default <> for <MinimumPipeLength> Processing attribute <MaximumPipeLength> stored in AC0010_014 Defined attr rtrv method is <ATTR_STND_METHOD> Attr rtrv source is <Default> The functions have to be called on the first row Calling function to get value Using ATTR_STND_METHOD Return result variable bound Function has no input parameters to bind No mapping found in direct Ident mapping Attribute Id: 4088 Ident: 94351 Sheet Id: 1112 Item Map Id: 5000 No mapping found in Ident range mapping Attribute Id: 4088 Commodity Id: 5858

Examining the FILL_IF_TABS Logfile

48 SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs

Input 1: 1 Input 2: S-XS Input 3: 0 Input 4: 0 Input 5: 0 Sheet Id: 1112 Item Map Id: 5000 No mapping found on IDENT level COMMODITY_ID level was not selected for mapping. PART_ID level was not selected for mapping. SPEC_ITEM_ID level was not selected for mapping. SPEC_HEADER_ID level was not selected for mapping. No IMSA mapping found after all No mapping found in sheet dependent attribute mapping No mapping found in direct Ident mapping Attribute Id: 4088 Ident: 94351 Item Map Id: 5000 No mapping found in Ident range mapping Attribute Id: 4088 Commodity Id: 5858 Input 1: 1 Input 2: S-XS Input 3: 0 Input 4: 0 Input 5: 0 Item Map Id: 5000 No mapping found on IDENT level No IMA mapping found after all TD_ID level was not selected for mapping. SPEC_HEADER_ID level was not selected for mapping. SPEC_ITEM_ID level was not selected for mapping. PART_ID level was not selected for mapping. COMMODITY_ID level was not selected for mapping. Function <Default> returned <!NDF> processing attribute <MaximumPipeLength> Retrieval source call result was empty or error, so it will not have a suffix Set the default <> for <MaximumPipeLength> Processing attribute <ManufacturingMethod> stored in AC0010_015 Defined attr rtrv method is <ATTR_STND_METHOD> Attr rtrv source is <ManufacturingMethod from CC> The functions have to be called on the first row Calling function to get value Using ATTR_STND_METHOD Return result variable bound Function does not need parameter <COMMODITY_CODE> Parameter <COMMODITY_ID> bound with value 5858 Function does not need parameter <GROUP_CODE> Function does not need parameter <GROUP_ID> Function does not need parameter <IDENT> Function does not need parameter <IDENT_CODE> Function does not need parameter <INPUT_1> Function does not need parameter <INPUT_2> Function does not need parameter <INPUT_3> Function does not need parameter <INPUT_4> Function does not need parameter <INPUT_5> Function does not need parameter <PART_CODE> Function does not need parameter <PART_ID> Function does not need parameter <IndustryCommodityCode> Function does not need parameter <FirstSizeSchedule> Function does not need parameter <CommodityType> Function does not need parameter <MaterialGrade> Function does not need parameter <GeometricIndustryStandard> Function does not need parameter <Density> Function does not need parameter <GraphicalRepresentationOrNot> Function does not need parameter <PurchaseLength> Function does not need parameter <MinimumPipeLength> Function does not need parameter <MaximumPipeLength> Function does not need parameter <ManufacturingMethod> Function does not need parameter <SurfacePreparation> Function does not need parameter <LiningMaterial> Function does not need parameter <EndPreparation[1]> Function does not need parameter <PressureRating[1]> Function does not need parameter <EndStandard[1]> Function does not need parameter <ScheduleThickness[1]> Function does not need parameter <EndPreparation[2]>

Examining the FILL_IF_TABS Logfile

SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs 49

Function does not need parameter <PressureRating[2]> Function does not need parameter <EndStandard[2]> Function does not need parameter <ScheduleThickness[2]> Function does not need parameter <Npd[1]:Primary> Function does not need parameter <NpdUnitType[1]> Function does not need parameter <Npd[2]:Secondary> Function does not need parameter <NpdUnitType[2]> Function does not need parameter <WeightPerUnitLength> Function does not need parameter <PipingNote1> Function does not need parameter <PartNumber> 1 input parameter(s) bound to fnc starting find_in_cc found td_id 15194 in CC Function <ManufacturingMethod from CC> returned <5> processing attribute <Manu facturingMethod> Retrieval source call result will not have a suffix Processing attribute <SurfacePreparation> stored in AC0010_016 Defined attr rtrv method is <ATTR_STND_METHOD> Attr rtrv source is <SurfacePreparation from CC> The functions have to be called on the first row Calling function to get value Using ATTR_STND_METHOD Return result variable bound Function does not need parameter <COMMODITY_CODE> Parameter <COMMODITY_ID> bound with value 5858 Function does not need parameter <GROUP_CODE> Function does not need parameter <GROUP_ID> Function does not need parameter <IDENT> Function does not need parameter <IDENT_CODE> Function does not need parameter <INPUT_1> Function does not need parameter <INPUT_2> Function does not need parameter <INPUT_3> Function does not need parameter <INPUT_4> Function does not need parameter <INPUT_5> Function does not need parameter <PART_CODE> Function does not need parameter <PART_ID> Function does not need parameter <IndustryCommodityCode> Function does not need parameter <FirstSizeSchedule> Function does not need parameter <CommodityType> Function does not need parameter <MaterialGrade> Function does not need parameter <GeometricIndustryStandard> Function does not need parameter <Density> Function does not need parameter <GraphicalRepresentationOrNot> Function does not need parameter <PurchaseLength> Function does not need parameter <MinimumPipeLength> Function does not need parameter <MaximumPipeLength> Function does not need parameter <ManufacturingMethod> Function does not need parameter <SurfacePreparation> Function does not need parameter <LiningMaterial> Function does not need parameter <EndPreparation[1]> Function does not need parameter <PressureRating[1]> Function does not need parameter <EndStandard[1]> Function does not need parameter <ScheduleThickness[1]> Function does not need parameter <EndPreparation[2]> Function does not need parameter <PressureRating[2]> Function does not need parameter <EndStandard[2]> Function does not need parameter <ScheduleThickness[2]> Function does not need parameter <Npd[1]:Primary> Function does not need parameter <NpdUnitType[1]> Function does not need parameter <Npd[2]:Secondary> Function does not need parameter <NpdUnitType[2]> Function does not need parameter <WeightPerUnitLength> Function does not need parameter <PipingNote1> Function does not need parameter <PartNumber> 1 input parameter(s) bound to fnc starting find_in_cc found td_id 11623 in CC Function <SurfacePreparation from CC> returned <1> processing attribute <Surfa cePreparation> Retrieval source call result will not have a suffix Processing attribute <LiningMaterial> stored in AC0010_017 Defined attr rtrv method is <ATTR_STND_METHOD> Attr rtrv source is <LiningMaterial from CC> The functions have to be called on the first row Calling function to get value

Examining the FILL_IF_TABS Logfile

50 SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs

Using ATTR_STND_METHOD Return result variable bound Function does not need parameter <COMMODITY_CODE> Parameter <COMMODITY_ID> bound with value 5858 Function does not need parameter <GROUP_CODE> Function does not need parameter <GROUP_ID> Function does not need parameter <IDENT> Function does not need parameter <IDENT_CODE> Function does not need parameter <INPUT_1> Function does not need parameter <INPUT_2> Function does not need parameter <INPUT_3> Function does not need parameter <INPUT_4> Function does not need parameter <INPUT_5> Function does not need parameter <PART_CODE> Function does not need parameter <PART_ID> Function does not need parameter <IndustryCommodityCode> Function does not need parameter <FirstSizeSchedule> Function does not need parameter <CommodityType> Function does not need parameter <MaterialGrade> Function does not need parameter <GeometricIndustryStandard> Function does not need parameter <Density> Function does not need parameter <GraphicalRepresentationOrNot> Function does not need parameter <PurchaseLength> Function does not need parameter <MinimumPipeLength> Function does not need parameter <MaximumPipeLength> Function does not need parameter <ManufacturingMethod> Function does not need parameter <SurfacePreparation> Function does not need parameter <LiningMaterial> Function does not need parameter <EndPreparation[1]> Function does not need parameter <PressureRating[1]> Function does not need parameter <EndStandard[1]> Function does not need parameter <ScheduleThickness[1]> Function does not need parameter <EndPreparation[2]> Function does not need parameter <PressureRating[2]> Function does not need parameter <EndStandard[2]> Function does not need parameter <ScheduleThickness[2]> Function does not need parameter <Npd[1]:Primary> Function does not need parameter <NpdUnitType[1]> Function does not need parameter <Npd[2]:Secondary> Function does not need parameter <NpdUnitType[2]> Function does not need parameter <WeightPerUnitLength> Function does not need parameter <PipingNote1> Function does not need parameter <PartNumber> 1 input parameter(s) bound to fnc starting find_in_cc found td_id 11623 in CC Function <LiningMaterial from CC> returned <1> processing attribute <LiningMat erial> Retrieval source call result will not have a suffix Processing attribute <EndPreparation[1]> stored in AC0010_005 Defined attr rtrv method is <ATTR_STND_METHOD> Attr rtrv source is <EndPreparation from CC> The functions have to be called on the first row Calling function to get value Using ATTR_STND_METHOD Return result variable bound Function does not need parameter <COMMODITY_CODE> Parameter <COMMODITY_ID> bound with value 5858 Function does not need parameter <GROUP_CODE> Function does not need parameter <GROUP_ID> Function does not need parameter <IDENT> Function does not need parameter <IDENT_CODE> Function does not need parameter <INPUT_1> Function does not need parameter <INPUT_2> Function does not need parameter <INPUT_3> Function does not need parameter <INPUT_4> Function does not need parameter <INPUT_5> Function does not need parameter <PART_CODE> Function does not need parameter <PART_ID> Function does not need parameter <IndustryCommodityCode> Function does not need parameter <FirstSizeSchedule> Function does not need parameter <CommodityType> Function does not need parameter <MaterialGrade> Function does not need parameter <GeometricIndustryStandard> Function does not need parameter <Density>

Examining the FILL_IF_TABS Logfile

SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs 51

Function does not need parameter <GraphicalRepresentationOrNot> Function does not need parameter <PurchaseLength> Function does not need parameter <MinimumPipeLength> Function does not need parameter <MaximumPipeLength> Function does not need parameter <ManufacturingMethod> Function does not need parameter <SurfacePreparation> Function does not need parameter <LiningMaterial> Function does not need parameter <EndPreparation[1]> Function does not need parameter <PressureRating[1]> Function does not need parameter <EndStandard[1]> Function does not need parameter <ScheduleThickness[1]> Function does not need parameter <EndPreparation[2]> Function does not need parameter <PressureRating[2]> Function does not need parameter <EndStandard[2]> Function does not need parameter <ScheduleThickness[2]> Function does not need parameter <Npd[1]:Primary> Function does not need parameter <NpdUnitType[1]> Function does not need parameter <Npd[2]:Secondary> Function does not need parameter <NpdUnitType[2]> Function does not need parameter <WeightPerUnitLength> Function does not need parameter <PipingNote1> Function does not need parameter <PartNumber> 1 input parameter(s) bound to fnc starting find_in_cc found td_id 5076 in CC Function <EndPreparation from CC> returned <391> processing attribute <EndPrep aration[1]> Retrieval source call result will not have a suffix Processing attribute <PressureRating[1]> stored in AC0020_001 Defined attr rtrv method is <ATTR_STND_METHOD> Attr rtrv source is <Default> The functions have to be called on the first row Calling function to get value Using ATTR_STND_METHOD Return result variable bound Function has no input parameters to bind IDENT level was not selected for mapping. No mapping found in direct CC mapping Attribute Id: 4093 Commodity Id: 5858 Sheet Id: 1112 Item Map Id: 5000 No mapping found in CC range mapping Attribute Id: 4093 Group Id: 5516 Part Id: 5516 Commodity Id: 5858 Item Map Id: 5000 No mapping found on COMMODITY_ID level PART_ID level was not selected for mapping. SPEC_ITEM_ID level was not selected for mapping. SPEC_HEADER_ID level was not selected for mapping. No IMSA mapping found after all No mapping found in sheet dependent attribute mapping No mapping found in direct CC mapping Attribute Id: 4093 Commodity Id: 5858 Item Map Id: 5000 No mapping found in CC range mapping Attribute Id: 4093 Group Id: 5516 Part Id: 5516 Commodity Id: 5858 Item Map Id: 5000 No mapping found on COMMODITY_ID level No IMA mapping found after all TD_ID level was not selected for mapping. SPEC_HEADER_ID level was not selected for mapping. SPEC_ITEM_ID level was not selected for mapping. PART_ID level was not selected for mapping. IDENT level was not selected for mapping. Function <Default> returned <!NDF> processing attribute <PressureRating[1]> Retrieval source call result was empty or error, so it will not have a suffix Set the default <> for <PressureRating[1]> Processing attribute <EndStandard[1]> stored in AC0010_006

Examining the FILL_IF_TABS Logfile

52 SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs

Defined attr rtrv method is <ATTR_STND_METHOD> Attr rtrv source is <Default> The functions have to be called on the first row Calling function to get value Using ATTR_STND_METHOD Return result variable bound Function has no input parameters to bind IDENT level was not selected for mapping. No mapping found in direct CC mapping Attribute Id: 4094 Commodity Id: 5858 Sheet Id: 1112 Item Map Id: 5000 No mapping found in CC range mapping Attribute Id: 4094 Group Id: 5516 Part Id: 5516 Commodity Id: 5858 Item Map Id: 5000 No mapping found on COMMODITY_ID level PART_ID level was not selected for mapping. SPEC_ITEM_ID level was not selected for mapping. SPEC_HEADER_ID level was not selected for mapping. No IMSA mapping found after all No mapping found in sheet dependent attribute mapping No mapping found in direct CC mapping Attribute Id: 4094 Commodity Id: 5858 Item Map Id: 5000 No mapping found in CC range mapping Attribute Id: 4094 Group Id: 5516 Part Id: 5516 Commodity Id: 5858 Item Map Id: 5000 No mapping found on COMMODITY_ID level No IMA mapping found after all TD_ID level was not selected for mapping. SPEC_HEADER_ID level was not selected for mapping. SPEC_ITEM_ID level was not selected for mapping. PART_ID level was not selected for mapping. IDENT level was not selected for mapping. Function <Default> returned <!NDF> processing attribute <EndStandard[1]> Retrieval source call result was empty or error, so it will not have a suffix Set the default <5> for <EndStandard[1]> Processing attribute <ScheduleThickness[1]> stored in AC0030_001 Defined attr rtrv method is <BASE_COLUMN> Attr rtrv source is <DECODE(m_pck_admin.m_cn(i.input_2),'N',DECODE(i.input_2,' 0',NULL,i.input_2||'"'), 'C',i.input_2)> Processing attribute <EndPreparation[2]> stored in AC0010_007 Defined attr rtrv method is <ATTR_STND_METHOD> Attr rtrv source is <EndPreparation2 from CC> The functions have to be called on the first row Calling function to get value Using ATTR_STND_METHOD Return result variable bound Function does not need parameter <COMMODITY_CODE> Parameter <COMMODITY_ID> bound with value 5858 Function does not need parameter <GROUP_CODE> Function does not need parameter <GROUP_ID> Function does not need parameter <IDENT> Function does not need parameter <IDENT_CODE> Function does not need parameter <INPUT_1> Function does not need parameter <INPUT_2> Function does not need parameter <INPUT_3> Function does not need parameter <INPUT_4> Function does not need parameter <INPUT_5> Function does not need parameter <PART_CODE> Function does not need parameter <PART_ID> Function does not need parameter <IndustryCommodityCode> Function does not need parameter <FirstSizeSchedule> Function does not need parameter <CommodityType> Function does not need parameter <MaterialGrade> Function does not need parameter <GeometricIndustryStandard> Function does not need parameter <Density>

Examining the FILL_IF_TABS Logfile

SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs 53

Function does not need parameter <GraphicalRepresentationOrNot> Function does not need parameter <PurchaseLength> Function does not need parameter <MinimumPipeLength> Function does not need parameter <MaximumPipeLength> Function does not need parameter <ManufacturingMethod> Function does not need parameter <SurfacePreparation> Function does not need parameter <LiningMaterial> Function does not need parameter <EndPreparation[1]> Function does not need parameter <PressureRating[1]> Function does not need parameter <EndStandard[1]> Function does not need parameter <ScheduleThickness[1]> Function does not need parameter <EndPreparation[2]> Function does not need parameter <PressureRating[2]> Function does not need parameter <EndStandard[2]> Function does not need parameter <ScheduleThickness[2]> Function does not need parameter <Npd[1]:Primary> Function does not need parameter <NpdUnitType[1]> Function does not need parameter <Npd[2]:Secondary> Function does not need parameter <NpdUnitType[2]> Function does not need parameter <WeightPerUnitLength> Function does not need parameter <PipingNote1> Function does not need parameter <PartNumber> 1 input parameter(s) bound to fnc starting find_in_cc found td_id 5076 in CC Function <EndPreparation2 from CC> returned <391> processing attribute <EndPre paration[2]> Retrieval source call result will not have a suffix Processing attribute <PressureRating[2]> stored in AC0020_020 Defined attr rtrv method is <ATTR_STND_METHOD> Attr rtrv source is <Default> The functions have to be called on the first row Calling function to get value Using ATTR_STND_METHOD Return result variable bound Function has no input parameters to bind IDENT level was not selected for mapping. No mapping found in direct CC mapping Attribute Id: 4097 Commodity Id: 5858 Sheet Id: 1112 Item Map Id: 5000 No mapping found in CC range mapping Attribute Id: 4097 Group Id: 5516 Part Id: 5516 Commodity Id: 5858 Item Map Id: 5000 No mapping found on COMMODITY_ID level PART_ID level was not selected for mapping. SPEC_ITEM_ID level was not selected for mapping. SPEC_HEADER_ID level was not selected for mapping. No IMSA mapping found after all No mapping found in sheet dependent attribute mapping No mapping found in direct CC mapping Attribute Id: 4097 Commodity Id: 5858 Item Map Id: 5000 No mapping found in CC range mapping Attribute Id: 4097 Group Id: 5516 Part Id: 5516 Commodity Id: 5858 Item Map Id: 5000 No mapping found on COMMODITY_ID level No IMA mapping found after all TD_ID level was not selected for mapping. SPEC_HEADER_ID level was not selected for mapping. SPEC_ITEM_ID level was not selected for mapping. PART_ID level was not selected for mapping. IDENT level was not selected for mapping. Function <Default> returned <!NDF> processing attribute <PressureRating[2]> Retrieval source call result was empty or error, so it will not have a suffix Set the default <> for <PressureRating[2]> Processing attribute <EndStandard[2]> stored in AC0010_008

Examining the FILL_IF_TABS Logfile

54 SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs

Defined attr rtrv method is <ATTR_STND_METHOD> Attr rtrv source is <Default> The functions have to be called on the first row Calling function to get value Using ATTR_STND_METHOD Return result variable bound Function has no input parameters to bind IDENT level was not selected for mapping. No mapping found in direct CC mapping Attribute Id: 4098 Commodity Id: 5858 Sheet Id: 1112 Item Map Id: 5000 No mapping found in CC range mapping Attribute Id: 4098 Group Id: 5516 Part Id: 5516 Commodity Id: 5858 Item Map Id: 5000 No mapping found on COMMODITY_ID level PART_ID level was not selected for mapping. SPEC_ITEM_ID level was not selected for mapping. SPEC_HEADER_ID level was not selected for mapping. No IMSA mapping found after all No mapping found in sheet dependent attribute mapping No mapping found in direct CC mapping Attribute Id: 4098 Commodity Id: 5858 Item Map Id: 5000 No mapping found in CC range mapping Attribute Id: 4098 Group Id: 5516 Part Id: 5516 Commodity Id: 5858 Item Map Id: 5000 No mapping found on COMMODITY_ID level No IMA mapping found after all TD_ID level was not selected for mapping. SPEC_HEADER_ID level was not selected for mapping. SPEC_ITEM_ID level was not selected for mapping. PART_ID level was not selected for mapping. IDENT level was not selected for mapping. Function <Default> returned <!NDF> processing attribute <EndStandard[2]> Retrieval source call result was empty or error, so it will not have a suffix Set the default <5> for <EndStandard[2]> Processing attribute <ScheduleThickness[2]> stored in AC0020_002 Defined attr rtrv method is <BASE_COLUMN> Attr rtrv source is <DECODE(m_pck_admin.m_cn(i.input_2),'N',DECODE(i.input_2,' 0',NULL,i.input_2||'"'), 'C',i.input_2)> Processing attribute <Npd[1]:Primary> stored in AC0010_001 Defined attr rtrv method is <BASE_COLUMN> Attr rtrv source is <RTRIM(TO_CHAR(TO_NUMBER(i.input_1),'FM9999990D9999999'),' .')> Processing attribute <NpdUnitType[1]> stored in AC0010_003 Defined attr rtrv method is <NONE> Attr rtrv source is <Default> Set the default <in> for <NpdUnitType[1]> Processing attribute <Npd[2]:Secondary> stored in AC0010_002 Defined attr rtrv method is <BASE_COLUMN> Attr rtrv source is <RTRIM(TO_CHAR(TO_NUMBER(i.input_1),'FM9999990D9999999'),' .')> Processing attribute <NpdUnitType[2]> stored in AC0010_004 Defined attr rtrv method is <NONE> Attr rtrv source is <Default> Set the default <in> for <NpdUnitType[2]> Processing attribute <WeightPerUnitLength> stored in AC0020_003 Defined attr rtrv method is <BASE_COLUMN> Attr rtrv source is <NVL2(NVL2(i.output_5,i.output_5||'lbm/ft',NULL),NVL2(i.ou tput_5,i.output_5||'lbm/ft',NULL),NULL)> Set the default <> for <WeightPerUnitLength> Processing attribute <PipingNote1> stored in AC0010_018 Defined attr rtrv method is <NONE> Attr rtrv source is <Default> Set the default <> for <PipingNote1> Processing attribute <PartNumber> stored in AC0060_004

The result row is complete. Now the program decides if the row must be added or modified, or if an error must be raised due to d li i

Examining the FILL_IF_TABS Logfile

SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs 55

Defined attr rtrv method is <NONE> Attr rtrv source is <Default> Default was defined as <NO_DEFAULT> so the default will not be set Values assigned from actual or previous function call, and defaulted Going to UK check and insert row Remaining variables bound 1.UK check statement against job data issued Data row considered unique after 1.UK check Existence check statement against inventory issued The identical row is not in the inventory, but check the UKs 1.UK check statement against inventory issued 1.UK check found no row with the matching values. Going to set MARIAN attr COMMODITY_CODE to this value: PAAZZBPZZABAABSAAZZUS Going to set MARIAN attr COMMODITY_ID to this value: 5858 Going to set MARIAN attr GROUP_CODE to this value: PIPE_NIP Going to set MARIAN attr GROUP_ID to this value: 5516 Going to set MARIAN attr IDENT to this value: 94351 Going to set MARIAN attr IDENT_CODE to this value: I94351 Going to set MARIAN attr INPUT_1 to this value: 1 Going to set MARIAN attr INPUT_2 to this value: S-XS Going to set MARIAN attr INPUT_3 to this value: 0 Going to set MARIAN attr INPUT_4 to this value: 0 Going to set MARIAN attr INPUT_5 to this value: 0 Going to set MARIAN attr PART_CODE to this value: AA Going to set MARIAN attr PART_ID to this value: 5516 Going to set variable attr IndustryCommodityCode(AC0060_001) to this value: PA AZZBPZZABAABSAAZZUS Going to set variable attr FirstSizeSchedule(AC0010_009) to this value: S-XS Going to set variable attr CommodityType(AC0060_002) to this value: PIPE Going to set variable attr MaterialGrade(AC0010_010) to this value: 162 Going to set variable attr GeometricIndustryStandard(AC0010_019) to this value : 100 Going to set variable attr Density(AC0060_003) to this value: 490lbm/ft^3 Going to set variable attr GraphicalRepresentationOrNot(AC0010_011) to this va lue: Going to set variable attr PurchaseLength(AC0010_012) to this value: Going to set variable attr MinimumPipeLength(AC0010_013) to this value: Going to set variable attr MaximumPipeLength(AC0010_014) to this value: Going to set variable attr ManufacturingMethod(AC0010_015) to this value: 5 Going to set variable attr SurfacePreparation(AC0010_016) to this value: 1 Going to set variable attr LiningMaterial(AC0010_017) to this value: 1 Going to set variable attr EndPreparation[1](AC0010_005) to this value: 391 Going to set variable attr PressureRating[1](AC0020_001) to this value: Going to set variable attr EndStandard[1](AC0010_006) to this value: 5 Going to set variable attr ScheduleThickness[1](AC0030_001) to this value: S-X S Going to set variable attr EndPreparation[2](AC0010_007) to this value: 391 Going to set variable attr PressureRating[2](AC0020_020) to this value: Going to set variable attr EndStandard[2](AC0010_008) to this value: 5 Going to set variable attr ScheduleThickness[2](AC0020_002) to this value: S-X S Going to set variable attr Npd[1]:Primary(AC0010_001) to this value: 1 Going to set variable attr NpdUnitType[1](AC0010_003) to this value: in Going to set variable attr Npd[2]:Secondary(AC0010_002) to this value: 1 Going to set variable attr NpdUnitType[2](AC0010_004) to this value: in Going to set variable attr WeightPerUnitLength(AC0020_003) to this value: Going to set variable attr PipingNote1(AC0010_018) to this value: Going to set variable attr PartNumber(AC0060_004) to this value: Variables bound Row inserted Fetched 2. source data row 13 MARIAN specific values fetched and written to array MARIAN specific attribute <COMMODITY_CODE> value is PAAZZBPZZABAABSAAZZUS MARIAN specific attribute <COMMODITY_ID> value is 5858 MARIAN specific attribute <GROUP_CODE> value is PIPE_NIP MARIAN specific attribute <GROUP_ID> value is 5516 MARIAN specific attribute <IDENT> value is 94352 MARIAN specific attribute <IDENT_CODE> value is I94352 MARIAN specific attribute <INPUT_1> value is 1.5 MARIAN specific attribute <INPUT_2> value is S-XS MARIAN specific attribute <INPUT_3> value is 0 MARIAN specific attribute <INPUT_4> value is 0

Here is the final list of attributes and values and how they will be written to the database.

The second row is retrieved. If you scan the logfile for “. source data row”, you can step through it row by row.

Examining the FILL_IF_TABS Logfile

56 SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs

MARIAN specific attribute <INPUT_5> value is 0 MARIAN specific attribute <PART_CODE> value is AA MARIAN specific attribute <PART_ID> value is 5516 AC attribute <IndustryCommodityCode> value is PAAZZBPZZABAABSAAZZUS AC attribute <FirstSizeSchedule> value is S-XS AC attribute <CommodityType> value is NULL AC attribute <MaterialGrade> value is NULL AC attribute <GeometricIndustryStandard> value is NULL AC attribute <Density> value is NULL AC attribute <GraphicalRepresentationOrNot> value is NULL AC attribute <PurchaseLength> value is NULL AC attribute <MinimumPipeLength> value is NULL AC attribute <MaximumPipeLength> value is NULL AC attribute <ManufacturingMethod> value is NULL AC attribute <SurfacePreparation> value is NULL AC attribute <LiningMaterial> value is NULL AC attribute <EndPreparation[1]> value is NULL AC attribute <PressureRating[1]> value is NULL AC attribute <EndStandard[1]> value is NULL AC attribute <ScheduleThickness[1]> value is S-XS AC attribute <EndPreparation[2]> value is NULL AC attribute <PressureRating[2]> value is NULL AC attribute <EndStandard[2]> value is NULL AC attribute <ScheduleThickness[2]> value is S-XS AC attribute <Npd[1]:Primary> value is 1.5 AC attribute <NpdUnitType[1]> value is NULL AC attribute <Npd[2]:Secondary> value is 1.5 AC attribute <NpdUnitType[2]> value is NULL AC attribute <WeightPerUnitLength> value is NULL AC attribute <PipingNote1> value is NULL AC attribute <PartNumber> value is NULL 28 fetched variable AC values written to array Processing attribute <IndustryCommodityCode> stored in AC0060_001 Defined attr rtrv method is <BASE_COLUMN> Attr rtrv source is <cc.commodity_code> Processing attribute <FirstSizeSchedule> stored in AC0010_009 Defined attr rtrv method is <BASE_COLUMN> Attr rtrv source is <DECODE(m_pck_admin.m_cn(i.input_2),'N',DECODE(i.input_2,' 0',NULL,i.input_2||'"'), 'C',i.input_2)> Processing attribute <CommodityType> stored in AC0060_002 Defined attr rtrv method is <ATTR_STND_METHOD> Attr rtrv source is <CommodityType from group/part> Commodity_Id not selected for optimization Ident not selected for optimization Spec_Item_Id not selected for optimization Spec_Header_Id not selected for optimization Optimize with Part_Id Part_Id did not change. Perhaps we do not need fnc call Taking value from the previous fnc call Processing attribute <MaterialGrade> stored in AC0010_010 Defined attr rtrv method is <ATTR_STND_METHOD> Attr rtrv source is <MaterialsStandard+Grade from CC> Optimize with Commodity_Id Commodity_Id did not change. Perhaps we do not need fnc call Ident not selected for optimization Spec_Item_Id not selected for optimization Spec_Header_Id not selected for optimization Part_Id not selected for optimization Taking value from the previous fnc call Processing attribute <GeometricIndustryStandard> stored in AC0010_019 Defined attr rtrv method is <ATTR_STND_METHOD> Attr rtrv source is <GeomStd or Manufacturer from CC> No optimization dependencies defined Calling function to get value Using ATTR_STND_METHOD Return result variable bound Function does not need parameter <COMMODITY_CODE> Parameter <COMMODITY_ID> bound with value 5858 Function does not need parameter <GROUP_CODE> Function does not need parameter <GROUP_ID> Function does not need parameter <IDENT> Function does not need parameter <IDENT_CODE> Function does not need parameter <INPUT_1> Function does not need parameter <INPUT_2> Function does not need parameter <INPUT_3>

Examining the FILL_IF_TABS Logfile

SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs 57

Function does not need parameter <INPUT_4> Function does not need parameter <INPUT_5> Function does not need parameter <PART_CODE> Function does not need parameter <PART_ID> Function does not need parameter <IndustryCommodityCode> Function does not need parameter <FirstSizeSchedule> Function does not need parameter <CommodityType> Function does not need parameter <MaterialGrade> Function does not need parameter <GeometricIndustryStandard> Function does not need parameter <Density> Function does not need parameter <GraphicalRepresentationOrNot> Function does not need parameter <PurchaseLength> Function does not need parameter <MinimumPipeLength> Function does not need parameter <MaximumPipeLength> Function does not need parameter <ManufacturingMethod> Function does not need parameter <SurfacePreparation> Function does not need parameter <LiningMaterial> Function does not need parameter <EndPreparation[1]> Function does not need parameter <PressureRating[1]> Function does not need parameter <EndStandard[1]> Function does not need parameter <ScheduleThickness[1]> Function does not need parameter <EndPreparation[2]> Function does not need parameter <PressureRating[2]> Function does not need parameter <EndStandard[2]> Function does not need parameter <ScheduleThickness[2]> Function does not need parameter <Npd[1]:Primary> Function does not need parameter <NpdUnitType[1]> Function does not need parameter <Npd[2]:Secondary> Function does not need parameter <NpdUnitType[2]> Function does not need parameter <WeightPerUnitLength> Function does not need parameter <PipingNote1> Function does not need parameter <PartNumber> 1 input parameter(s) bound to fnc starting find_in_cc found td_id 8908 in CC Function <GeomStd or Manufacturer from CC> returned <100> processing attribute <GeometricIndustryStandard> Retrieval source call result will not have a suffix Processing attribute <Density> stored in AC0060_003 Defined attr rtrv method is <ATTR_STND_METHOD> Attr rtrv source is <Default> Commodity_Id not selected for optimization Ident not selected for optimization Spec_Item_Id not selected for optimization Spec_Header_Id not selected for optimization Part_Id not selected for optimization Taking value from the previous fnc call Processing attribute <GraphicalRepresentationOrNot> stored in AC0010_011 Defined attr rtrv method is <NONE> Attr rtrv source is <Default> Set the default <> for <GraphicalRepresentationOrNot> Processing attribute <PurchaseLength> stored in AC0010_012 Defined attr rtrv method is <ATTR_STND_METHOD> Attr rtrv source is <Nipple or PurchaseLength from CC> Optimize with Commodity_Id Commodity_Id did not change. Perhaps we do not need fnc call Ident not selected for optimization Spec_Item_Id not selected for optimization Spec_Header_Id not selected for optimization Part_Id not selected for optimization Taking value from the previous fnc call Set the default <> for <PurchaseLength> Processing attribute <MinimumPipeLength> stored in AC0010_013 Defined attr rtrv method is <ATTR_STND_METHOD> Attr rtrv source is <Default> Commodity_Id not selected for optimization Optimize with Ident Ident changed. We need to call the fnc again Calling function to get value Using ATTR_STND_METHOD Return result variable bound Function has no input parameters to bind No mapping found in direct Ident mapping Attribute Id: 4087 Ident: 94352

Examining the FILL_IF_TABS Logfile

58 SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs

Sheet Id: 1112 Item Map Id: 5000 No mapping found in Ident range mapping Attribute Id: 4087 Commodity Id: 5858 Input 1: 1.5 Input 2: S-XS Input 3: 0 Input 4: 0 Input 5: 0 Sheet Id: 1112 Item Map Id: 5000 No mapping found on IDENT level COMMODITY_ID level was not selected for mapping. PART_ID level was not selected for mapping. SPEC_ITEM_ID level was not selected for mapping. SPEC_HEADER_ID level was not selected for mapping. No IMSA mapping found after all No mapping found in sheet dependent attribute mapping No mapping found in direct Ident mapping Attribute Id: 4087 Ident: 94352 Item Map Id: 5000 No mapping found in Ident range mapping Attribute Id: 4087 Commodity Id: 5858 Input 1: 1.5 Input 2: S-XS Input 3: 0 Input 4: 0 Input 5: 0 Item Map Id: 5000 No mapping found on IDENT level No IMA mapping found after all TD_ID level was not selected for mapping. SPEC_HEADER_ID level was not selected for mapping. SPEC_ITEM_ID level was not selected for mapping. PART_ID level was not selected for mapping. COMMODITY_ID level was not selected for mapping. Function <Default> returned <!NDF> processing attribute <MinimumPipeLength> Retrieval source call result was empty or error, so it will not have a suffix Set the default <> for <MinimumPipeLength> Processing attribute <MaximumPipeLength> stored in AC0010_014 Defined attr rtrv method is <ATTR_STND_METHOD> Attr rtrv source is <Default> Commodity_Id not selected for optimization Optimize with Ident Ident changed. We need to call the fnc again Calling function to get value Using ATTR_STND_METHOD Return result variable bound Function has no input parameters to bind No mapping found in direct Ident mapping Attribute Id: 4088 Ident: 94352 Sheet Id: 1112 Item Map Id: 5000 No mapping found in Ident range mapping Attribute Id: 4088 Commodity Id: 5858 Input 1: 1.5 Input 2: S-XS Input 3: 0 Input 4: 0 Input 5: 0 Sheet Id: 1112 Item Map Id: 5000 No mapping found on IDENT level COMMODITY_ID level was not selected for mapping. PART_ID level was not selected for mapping. SPEC_ITEM_ID level was not selected for mapping. SPEC_HEADER_ID level was not selected for mapping. No IMSA mapping found after all No mapping found in sheet dependent attribute mapping No mapping found in direct Ident mapping

Examining the FILL_IF_TABS Logfile

SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs 59

Attribute Id: 4088 Ident: 94352 Item Map Id: 5000 No mapping found in Ident range mapping Attribute Id: 4088 Commodity Id: 5858 Input 1: 1.5 Input 2: S-XS Input 3: 0 Input 4: 0 Input 5: 0 Item Map Id: 5000 No mapping found on IDENT level No IMA mapping found after all TD_ID level was not selected for mapping. SPEC_HEADER_ID level was not selected for mapping. SPEC_ITEM_ID level was not selected for mapping. PART_ID level was not selected for mapping. COMMODITY_ID level was not selected for mapping. Function <Default> returned <!NDF> processing attribute <MaximumPipeLength> Retrieval source call result was empty or error, so it will not have a suffix Set the default <> for <MaximumPipeLength> Processing attribute <ManufacturingMethod> stored in AC0010_015 Defined attr rtrv method is <ATTR_STND_METHOD> Attr rtrv source is <ManufacturingMethod from CC> Optimize with Commodity_Id Commodity_Id did not change. Perhaps we do not need fnc call Ident not selected for optimization Spec_Item_Id not selected for optimization Spec_Header_Id not selected for optimization Part_Id not selected for optimization Taking value from the previous fnc call Processing attribute <SurfacePreparation> stored in AC0010_016 Defined attr rtrv method is <ATTR_STND_METHOD> Attr rtrv source is <SurfacePreparation from CC> Optimize with Commodity_Id Commodity_Id did not change. Perhaps we do not need fnc call Ident not selected for optimization Spec_Item_Id not selected for optimization Spec_Header_Id not selected for optimization Part_Id not selected for optimization Taking value from the previous fnc call Processing attribute <LiningMaterial> stored in AC0010_017 Defined attr rtrv method is <ATTR_STND_METHOD> Attr rtrv source is <LiningMaterial from CC> Optimize with Commodity_Id Commodity_Id did not change. Perhaps we do not need fnc call Ident not selected for optimization Spec_Item_Id not selected for optimization Spec_Header_Id not selected for optimization Part_Id not selected for optimization Taking value from the previous fnc call Processing attribute <EndPreparation[1]> stored in AC0010_005 Defined attr rtrv method is <ATTR_STND_METHOD> Attr rtrv source is <EndPreparation from CC> Optimize with Commodity_Id Commodity_Id did not change. Perhaps we do not need fnc call Ident not selected for optimization Spec_Item_Id not selected for optimization Spec_Header_Id not selected for optimization Part_Id not selected for optimization Taking value from the previous fnc call Processing attribute <PressureRating[1]> stored in AC0020_001 Defined attr rtrv method is <ATTR_STND_METHOD> Attr rtrv source is <Default> Optimize with Commodity_Id Commodity_Id did not change. Perhaps we do not need fnc call Ident not selected for optimization Spec_Item_Id not selected for optimization Spec_Header_Id not selected for optimization Part_Id not selected for optimization Taking value from the previous fnc call Set the default <> for <PressureRating[1]> Processing attribute <EndStandard[1]> stored in AC0010_006 Defined attr rtrv method is <ATTR_STND_METHOD>

Examining the FILL_IF_TABS Logfile

60 SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs

Attr rtrv source is <Default> Optimize with Commodity_Id Commodity_Id did not change. Perhaps we do not need fnc call Ident not selected for optimization Spec_Item_Id not selected for optimization Spec_Header_Id not selected for optimization Part_Id not selected for optimization Taking value from the previous fnc call Processing attribute <ScheduleThickness[1]> stored in AC0030_001 Defined attr rtrv method is <BASE_COLUMN> Attr rtrv source is <DECODE(m_pck_admin.m_cn(i.input_2),'N',DECODE(i.input_2,' 0',NULL,i.input_2||'"'), 'C',i.input_2)> Processing attribute <EndPreparation[2]> stored in AC0010_007 Defined attr rtrv method is <ATTR_STND_METHOD> Attr rtrv source is <EndPreparation2 from CC> Optimize with Commodity_Id Commodity_Id did not change. Perhaps we do not need fnc call Ident not selected for optimization Spec_Item_Id not selected for optimization Spec_Header_Id not selected for optimization Part_Id not selected for optimization Taking value from the previous fnc call Processing attribute <PressureRating[2]> stored in AC0020_020 Defined attr rtrv method is <ATTR_STND_METHOD> Attr rtrv source is <Default> Optimize with Commodity_Id Commodity_Id did not change. Perhaps we do not need fnc call Ident not selected for optimization Spec_Item_Id not selected for optimization Spec_Header_Id not selected for optimization Part_Id not selected for optimization Taking value from the previous fnc call Set the default <> for <PressureRating[2]> Processing attribute <EndStandard[2]> stored in AC0010_008 Defined attr rtrv method is <ATTR_STND_METHOD> Attr rtrv source is <Default> Optimize with Commodity_Id Commodity_Id did not change. Perhaps we do not need fnc call Ident not selected for optimization Spec_Item_Id not selected for optimization Spec_Header_Id not selected for optimization Part_Id not selected for optimization Taking value from the previous fnc call Processing attribute <ScheduleThickness[2]> stored in AC0020_002 Defined attr rtrv method is <BASE_COLUMN> Attr rtrv source is <DECODE(m_pck_admin.m_cn(i.input_2),'N',DECODE(i.input_2,' 0',NULL,i.input_2||'"'), 'C',i.input_2)> Processing attribute <Npd[1]:Primary> stored in AC0010_001 Defined attr rtrv method is <BASE_COLUMN> Attr rtrv source is <RTRIM(TO_CHAR(TO_NUMBER(i.input_1),'FM9999990D9999999'),' .')> Processing attribute <NpdUnitType[1]> stored in AC0010_003 Defined attr rtrv method is <NONE> Attr rtrv source is <Default> Set the default <in> for <NpdUnitType[1]> Processing attribute <Npd[2]:Secondary> stored in AC0010_002 Defined attr rtrv method is <BASE_COLUMN> Attr rtrv source is <RTRIM(TO_CHAR(TO_NUMBER(i.input_1),'FM9999990D9999999'),' .')> Processing attribute <NpdUnitType[2]> stored in AC0010_004 Defined attr rtrv method is <NONE> Attr rtrv source is <Default> Set the default <in> for <NpdUnitType[2]> Processing attribute <WeightPerUnitLength> stored in AC0020_003 Defined attr rtrv method is <BASE_COLUMN> Attr rtrv source is <NVL2(NVL2(i.output_5,i.output_5||'lbm/ft',NULL),NVL2(i.ou tput_5,i.output_5||'lbm/ft',NULL),NULL)> Set the default <> for <WeightPerUnitLength> Processing attribute <PipingNote1> stored in AC0010_018 Defined attr rtrv method is <NONE> Attr rtrv source is <Default> Set the default <> for <PipingNote1> Processing attribute <PartNumber> stored in AC0060_004 Defined attr rtrv method is <NONE> Attr rtrv source is <Default>

Examining the FILL_IF_TABS Logfile

SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs 61

Default was defined as <NO_DEFAULT> so the default will not be set Values assigned from actual or previous function call, and defaulted Going to UK check and insert row Remaining variables bound 1.UK check statement against job data issued Data row considered unique after 1.UK check Existence check statement against inventory issued The identical row is not in the inventory, but check the UKs 1.UK check statement against inventory issued 1.UK check found no row with the matching values. Going to set MARIAN attr COMMODITY_CODE to this value: PAAZZBPZZABAABSAAZZUS Going to set MARIAN attr COMMODITY_ID to this value: 5858 Going to set MARIAN attr GROUP_CODE to this value: PIPE_NIP Going to set MARIAN attr GROUP_ID to this value: 5516 Going to set MARIAN attr IDENT to this value: 94352 Going to set MARIAN attr IDENT_CODE to this value: I94352 Going to set MARIAN attr INPUT_1 to this value: 1.5 Going to set MARIAN attr INPUT_2 to this value: S-XS Going to set MARIAN attr INPUT_3 to this value: 0 Going to set MARIAN attr INPUT_4 to this value: 0 Going to set MARIAN attr INPUT_5 to this value: 0 Going to set MARIAN attr PART_CODE to this value: AA Going to set MARIAN attr PART_ID to this value: 5516 Going to set variable attr IndustryCommodityCode(AC0060_001) to this value: PA AZZBPZZABAABSAAZZUS Going to set variable attr FirstSizeSchedule(AC0010_009) to this value: S-XS Going to set variable attr CommodityType(AC0060_002) to this value: PIPE Going to set variable attr MaterialGrade(AC0010_010) to this value: 162 Going to set variable attr GeometricIndustryStandard(AC0010_019) to this value : 100 Going to set variable attr Density(AC0060_003) to this value: 490lbm/ft^3 Going to set variable attr GraphicalRepresentationOrNot(AC0010_011) to this va lue: Going to set variable attr PurchaseLength(AC0010_012) to this value: Going to set variable attr MinimumPipeLength(AC0010_013) to this value: Going to set variable attr MaximumPipeLength(AC0010_014) to this value: Going to set variable attr ManufacturingMethod(AC0010_015) to this value: 5 Going to set variable attr SurfacePreparation(AC0010_016) to this value: 1 Going to set variable attr LiningMaterial(AC0010_017) to this value: 1 Going to set variable attr EndPreparation[1](AC0010_005) to this value: 391 Going to set variable attr PressureRating[1](AC0020_001) to this value: Going to set variable attr EndStandard[1](AC0010_006) to this value: 5 Going to set variable attr ScheduleThickness[1](AC0030_001) to this value: S-X S Going to set variable attr EndPreparation[2](AC0010_007) to this value: 391 Going to set variable attr PressureRating[2](AC0020_020) to this value: Going to set variable attr EndStandard[2](AC0010_008) to this value: 5 Going to set variable attr ScheduleThickness[2](AC0020_002) to this value: S-X S Going to set variable attr Npd[1]:Primary(AC0010_001) to this value: 1.5 Going to set variable attr NpdUnitType[1](AC0010_003) to this value: in Going to set variable attr Npd[2]:Secondary(AC0010_002) to this value: 1.5 Going to set variable attr NpdUnitType[2](AC0010_004) to this value: in Going to set variable attr WeightPerUnitLength(AC0020_003) to this value: Going to set variable attr PipingNote1(AC0010_018) to this value: Going to set variable attr PartNumber(AC0060_004) to this value: Variables bound Row inserted End of source data rows. No more source records found Displaying insert statement for rows to delete: INSERT INTO m_sp3d_exp_job_dta_cci ( ejdc_id, ej_id, sht_id, group_id, part_id , commodity_id, ident, proj_id, dp_id, group_code, part_code, commodity_code, ident_code, input_1, input_2, input_3, input_4, input_5, temp_eddc_id, row_act ion,AC0060_001,AC0010_009,AC0060_002,AC0010_010,AC0010_019,AC0060_003,AC0010_0 11,AC0010_012,AC0010_013,AC0010_014,AC0010_015,AC0010_016,AC0010_017,AC0010_00 5,AC0020_001,AC0010_006,AC0030_001,AC0010_007,AC0020_020,AC0010_008,AC0020_002 ,AC0010_001,AC0010_003,AC0010_002,AC0010_004,AC0020_003,AC0010_018,AC0060_004) SELECT m_seq_sp3d_ejdc_id.NEXTVAL,105586,1112, edd.group_id, edd.part_id, edd .commodity_id, edd.ident, USER, mpck_login.current_dp_id, group_code, part_cod e, commodity_code, ident_code, input_1, input_2, input_3, input_4, input_5, ed d.eddc_id,'D',AC0060_001,AC0010_009,AC0060_002,AC0010_010,AC0010_019,AC0060_00 3,AC0010_011,AC0010_012,AC0010_013,AC0010_014,AC0010_015,AC0010_016,AC0010_017

The two idents we selected are passed. Now the program tries to find out which lines should be recorded as “to be deleted”.

Examining the FILL_IF_TABS Logfile

62 SmartPlant Reference Data Troubleshooting SmartPlant 3D Export Jobs

,AC0010_005,AC0020_001,AC0010_006,AC0030_001,AC0010_007,AC0020_020,AC0010_008, AC0020_002,AC0010_001,AC0010_003,AC0010_002,AC0010_004,AC0020_003,AC0010_018,A C0060_004 FROM m_sp3d_exp_dst_dta_cci edd, m_sp3d_exp_job_sel_idts ejsid WHERE edd.ed_id=5020 AND edd.sht_id=1112 AND ejsid.ej_id=105586 AND NOT EXIST S ( SELECT 1 FROM m_sp3d_exp_job_dta_cci ejd1 WHERE ejd1.ej_id=105586 AND e jd1.sht_id=edd.sht_id AND ejd1.temp_eddc_id=edd.eddc_id ) AND(EXISTS( SE LECT 1 FROM mvp_idents i WHERE ejsid.ident=i.ident AND edd.ident_code=i.ident_ code AND edd.input_1=i.input_1 AND edd.input_2=i.input_2 AND edd.input_3=i.inp ut_3 AND edd.input_4=i.input_4 AND edd.input_5=i.input_5 ) OR EXISTS ( SELEC T 1 FROM mvp_commodity_codes cc WHERE (ejsid.commodity_id=cc.commodity_id AND (ejsid.ident IS NULL OR ejsid.ident = (SELECT MAX(ejsid2.ident) FROM m_sp3d_ex p_job_sel_idts ejsid2 WHERE ejsid2.commodity_id=ejsid.commodity_id AND ejsid2. ej_id=105586 ))) AND edd.commodity_code=cc.commodity_code ) OR EXISTS ( SELE CT 1 FROM mvp_commodity_groups cg ,mvp_parts p WHERE ejsid.group_id= cg.group_id AND ejsid.group_id=p.group_id AND ejsid.part_id=p.part_id AND ejsi d.commodity_id IS NULL AND ejsid.ident IS NULL AND edd.group_code=cg.cg_group_ code AND edd.part_code=p.part_code ) OR EXISTS ( SELECT 1 FROM mvp_commod ity_groups cg WHERE ejsid.group_id=cg.group_id AND ejsid.part_id IS NULL AND e jsid.commodity_id IS NULL AND ejsid.ident IS NULL AND edd.group_code=cg.cg_gro up_code )) 0 rows inserted with <Delete> indicator 0 temporary rows deleted Filling sheet <PipeStock > finished. Processing post sheet procedures Post sheet procedures finished All selected sheets processed Setting Catalog Part Number for CC <PAAZZBPZZABAABSAAZZUS> Ident <I94351> on s heet <PipeStock> Retrieval source: cc.commodity_code Retrieval source: RTRIM(TO_CHAR(TO_NUMBER(i.input_1),'FM9999990D9999999'),'.') Dynamical cpn statement: SELECT RTRIM(TO_CHAR(TO_NUMBER(:input_1),'FM9999990D9 999999'),'.') FROM dual> Retrieval source: RTRIM(TO_CHAR(TO_NUMBER(i.input_1),'FM9999990D9999999'),'.') Dynamical cpn statement: SELECT RTRIM(TO_CHAR(TO_NUMBER(:input_1),'FM9999990D9 999999'),'.') FROM dual> Retrieval source: Retrieval source: DECODE(m_pck_admin.m_cn(i.input_2),'N',DECODE(i.input_2,'0', NULL,i.input_2||'"'), 'C',i.input_2) Dynamical cpn statement: SELECT DECODE(m_pck_admin.m_cn(:input_2),'N',DECODE(: input_2,'0',NULL,:input_2||'"'), 'C',:input_2) FROM dual> Retrieval source: DECODE(m_pck_admin.m_cn(i.input_2),'N',DECODE(i.input_2,'0', NULL,i.input_2||'"'), 'C',i.input_2) Dynamical cpn statement: SELECT DECODE(m_pck_admin.m_cn(:input_2),'N',DECODE(: input_2,'0',NULL,:input_2||'"'), 'C',:input_2) FROM dual> Retrieval source: New Catalog Part Number is <PAAZZBPZZABAABSAAZZUSS-XSS-XS11> Old and new Catalog Part Number are the same Setting Catalog Part Number for CC <PAAZZBPZZABAABSAAZZUS> Ident <I94352> on s heet <PipeStock> New Catalog Part Number is <PAAZZBPZZABAABSAAZZUSS-XSS-XS1.51.5> Old and new Catalog Part Number are the same Final time stamp: 11-SEP-2007 11:41:03 SP3D export finished without fatal errors

The last step is the generation of catalog part numbers for all exported idents.

PipeStock is finished. Attached SP3D 10.13 procedures assigned to run after PipeStock creation might log their output here. If additional sheets are selected, their processing is logged before “All selected sheets processed”.