44
Line 500 v7.0 Notes for Developers Page 1 of 44 Vers 1.0 05/11/2007 Line 500 v7.0 Notes for Developers

Line 500 v7.0 Notes for Developers

  • Upload
    others

  • View
    2

  • Download
    0

Embed Size (px)

Citation preview

Line 500 v7.0 Notes for Developers Page 1 of 44 Vers 1.0 05/11/2007

Line 500 v7.0 Notes for Developers

Line 500 v7.0 Notes for Developers Page 2 of 44 Vers 1.0 05/11/2007

1 Compilation ......................................................................................................................................4

1.1 Compiler version ......................................................................................................................4 1.2 MKS Toolkit.............................................................................................................................4 1.3 Supported platforms .................................................................................................................4

2 Data Dictionary Changes..................................................................................................................5 2.1 New Tables...............................................................................................................................5 2.2 Updated Tables.........................................................................................................................7 2.3 Updated Tables - Details ..........................................................................................................8

2.3.1 Table name: aq_retcust Returns Customer file .................................................................8 2.3.2 Table name: aq_returns_header Returns Header file ........................................................8 2.3.3 Table name: aq_returns_detail Returns Detail file ...........................................................8 2.3.4 Table name: at_convquote_det Quote lines......................................................................9 2.3.5 Table name: at_convquote_head Quote Header .............................................................11 2.3.6 Table name: ce_vat_reg_gentax Vat Register (Generic Tax) .........................................13 2.3.7 Table name: ck_hold_audit Order Hold Audit Table .....................................................14 2.3.8 Table name: ei_inv_head EDI Invoice Header ...............................................................14 2.3.9 Table name: eo_edifact_det2 EDIFACT Detail.............................................................14 2.3.10 Table name: ms_server Servers ......................................................................................14 2.3.11 Table name: nl_pr_ext GL project posting extension.....................................................15 2.3.12 Table name: po_landcost_log PO landed costs log ........................................................15 2.3.13 Table name: pop_invoice_detail Purchase invoice batch details ....................................15 2.3.14 Table name: pop_invoice_header Purchase invoice batch headers ................................16 2.3.15 Table name: pop_newland_log Purchases ......................................................................17 2.3.16 Table name: pop_order_detail Purchase lines ................................................................17 2.3.17 Table name: pop_order_header Purchases......................................................................17 2.3.18 Table name: pop_price_list Order price lists ..................................................................18 2.3.19 Table name: pop_rec_supplier Purchases.......................................................................18 2.3.20 Table name: pop_receipt Purchase receipts audit ...........................................................18 2.3.21 Table name: pop_receipt2 Purchase receipts audit .........................................................18 2.3.22 Table name: pop_schedule_line POP schedule calloff line ............................................19 2.3.23 Table name: pop_supplier_inf Supplier information ......................................................19 2.3.24 Table name: pop_user POP user activity profile ............................................................19 2.3.25 Table name: pop_variance_hist Purchase variance hist..................................................20 2.3.26 Table name: purchase_item Purchase Ledger Item ........................................................22 2.3.27 Table name: purchase_suppli_gt P/L Supplier File Extension .......................................22 2.3.28 Table name: purchase_supplier P/L Supplier File ..........................................................23 2.3.29 Table name: sales_cash S/L Cash audit trail...................................................................23 2.3.30 Table name: sales_customer S/L customer File..............................................................27 2.3.31 Table name: sales_item Sales ledger Open item.............................................................28 2.3.32 Table name: sales_journal S/L Journal audit trail...........................................................28 2.3.33 Table name: sales_refund S/L Cash Refund file.............................................................33 2.3.34 Table name: sop_order_detail Sales Order lines.............................................................37 2.3.35 Table name: sop_order_header Sales Orders..................................................................39 2.3.36 Table name: st_stock Stock master.................................................................................41 2.3.37 Table name: works_order Works orders.........................................................................42

2.4 Rowstamped Tables - Details .................................................................................................43 3 Application Code Changes required for Line 500 v7.0 ..................................................................44

Line 500 v7.0 Notes for Developers Page 3 of 44 Vers 1.0 05/11/2007

Document History

Author David Usher Document

Version Date of Change Location/Overview of Changes Reason for Change 1.0 19/10/2007 Initial Release

Line 500 v7.0 Notes for Developers Page 4 of 44 Vers 1.0 05/11/2007

1 Compilation 1.1 Compiler version

Line 500 v7.0 is compiled and linked using the compiler that is provided with Microsoft Visual Studio .NET (MSVC 7). This means that the product will link at run-time with MSVCR71.DLL.

Upon installation of Line 500 v7.0, the Microsoft VC 7 C-runtime DLL (MSVCR71.DLL) will be installed into the bin/Production directory.

The product DLLs in Line 500 are numbered to avoid clashes with previous incompatible DLLs. All DLLs in Line 500 v7.0 include ‘4’ in their names (e.g. cbase4.dll, dbdrv4.dll etc). These DLLs, as well as application EXEs, link to MSVCR71.DLL. Note that this has not changed from the Line 500 v6 release.

Existing third party and bespoke executables that were compiled for previous releases of Line 500 may not be compatible in the latest environment. These programs may have been compiled with an earlier version of MSVC and require the older versions of CBase DLLs (cbase3.dll etc). The old DLLs are not compatible with the new ones, and are not installed with Line 500 v7.0.

Any third party and bespoke applications that are required to be used with Line 500 v7.0 must be compiled using MSVC 7, together with the current version of Cbase. This will automatically link them to the new DLLs. The Cbase libraries will be made available to source code licence holders to allow these applications to be recompiled.

All such applications should also of course be re-analysed for the effects of Line 500 v7.0 functionality and data model changes, and updated as required. 1.2 MKS Toolkit

The MKS toolkit is not included in any Source or Cbase release from Sage. It the responsibility of the third party developer to purchase and install it. For Line 500 v7.0 we currently use MKS 8.6 with SP1.

To use the MKS toolkit, you have to install it – copying it from one machine to another will not work. After installation you will need to either :

• Make a complete copy of it (C:\Program Files\MKS Toolkit) into the /tools/newmks directory.

– Or –

• Modify the LOC and .BAT files to point to the installed location (C:\Program Files\MKS Toolkit) instead of /tools/newmks.

1.3 Supported platforms Windows-based development for Line 500 v7.0 is only supported on Windows 2003.

Line 500 v7.0 Notes for Developers Page 5 of 44 Vers 1.0 05/11/2007

2 Data Dictionary Changes The following table lists out the Data Dictionary Changes between the Line 500 v6 release and the current Line 500 v7.0 release. 2.1 New Tables Table name File name Directory path Description bf_bin_val_group bfbtgm BFFILESDD Bin Validation Group bf_cost_audit bfauditm BFFILESDD Production Backflush bf_roll_back_batch bfrollbm BFFILESDD BF Dekit Batch bf_rollback bfrollm BFFILESDD Production Backflush bf_shortage bfshortm BFFILESDD Production Backflush Shortage ck_lock_call cklkcallt WORKDD Call Entry Customer Locking File dr_anal_mat dranalmm DRFILESDD ECN Metrics Codes dr_analysis_codes dranalm DRFILESDD ECN Analysis Codes dr_auth_20 drauthm DRFILESDD ECN Authorizers dr_auth_audit drauthaum DRFILESDD Authorization Users Audit dr_auth_dept drdeptm DRFILESDD ECN Authorization Departments dr_auth_user druserm DRFILESDD Users for ECN Authorizations dr_auth_useriw druseriwm DRFILESDD Users for Workflow dr_auth_userx1 druserx1m DRFILESDD Users for ECN Authorizations Ext dr_bom_import_det drbomidm DRFILESDD Target Site Fields dr_bom_import_detc drbomidcm DRFILESDD Target Site BOM Import Details dr_bom_import_hdet drbomihdm DRFILESDD Target Site Assemblies dr_bom_import_head drbomihm DRFILESDD BOM Import Header dr_circuit_refs drcctm DRFILESDD Component Circuit Refs dr_class_matrix drclassm DRFILESDD Part Classification Matrix dr_comp_costs drcompcm DRFILESDD Components Costs dr_comps drcompm DRFILESDD Components on Drawing

Revisions dr_compsx1 drcompx1m DRFILESDD Critical Components dr_design_parts drpartsm DRFILESDD Design Parts dr_design_partsx drpartsxm DRFILESDD Design Parts Extension dr_dpart_templates drtempldm DRFILESDD Default Part Templates dr_draw_extra drdrawnxm DRFILESDD Drawing Extra Field dr_ecn drecnm DRFILESDD Engineering Change Notes dr_ecn_extra drecnnxm DRFILESDD ECN Extra Field dr_ecnanal_mat dranalemm DRFILESDD ECN Metrics dr_import_checkp drimpcntlm DRFILESDD Import Copy Fields dr_issue_sort drsortm DRFILESDD Works Order Issue Sorting dr_kpart_templates drtemplkm DRFILESDD Kit Templates dr_mass_rep_detail drreplcm DRFILESDD Parts Substitution Batch Details dr_mass_rep_header drreplhm DRFILESDD Parts Substition Batches dr_master drheaderm DRFILESDD Drawings dr_mps_refs drmpsm DRFILESDD MPS References dr_mps_serial drmpsxm DRFILESDD MPS Serial Numbers dr_mps_workfile drmpst DRFILESDD MPS Workfile dr_mrp_help drmrphlpm DRFILESDD DR & ECN MRP revison date

look-up dr_mrp_temp_po_tag drmpotagt DRFILESDD MPS Temp Refs on PO Lines dr_mrp_users drmrpum DRFILESDD MRP User Approvals Filter dr_mrp_workfile drmrpt DRFILESDD MRP Workfile dr_mrp_workfile2 drmrp2t DRFILESDD MRP Workfile 2

Line 500 v7.0 Notes for Developers Page 6 of 44 Vers 1.0 05/11/2007

Table name File name Directory path Description dr_part_temp_ext drtemplxm DRFILESDD Design Part Temp Ext dr_part_templates drtemplm DRFILESDD Design Part Templates dr_po_tags drpotagm DRFILESDD MPS References on PO Lines dr_ppart_templates drtemplpm DRFILESDD Piece Part Templates dr_product_costs drcrosscm DRFILESDD Assembly Costs dr_products drcrossm DRFILESDD Assemblies on Drawings dr_products_rh drcrossrhm DRFILESDD Route Headers on Drawings dr_productsx drcrossxm DRFILESDD Assembly Headers on Drawings dr_prompt drpromptm DRFILESDD Engineering Changes Workflow dr_revisions drdetailm DRFILESDD Drawing Revisions dr_route_operation drroutdm DRFILESDD Route Operations on Drawings dr_rt_op_desc_tl drroutem DRFILESDD Route Description Extension dr_rt_op_mat_tl drroutmm DRFILESDD Route Operation Materials dr_rt_op_tool_tl drrouttm DRFILESDD Route Operation Tools dr_site drsitem DRFILESDD Import/Export Sites dr_st_copy_fields drstsitem DRFILESDD Stock Copy Fields dr_stock_super drstksupm DRFILESDD WX Stock Super Use-up dr_super_audit drsupaudm DRFILESDD WX Stock Super Audit dr_target_site drtgsitem DRFILESDD Target Site Assemblies dr_tech_ecn_pages drecntechm DRFILESDD ECN Technical Pages dr_technical_pages drtechm DRFILESDD Design Part Tech Pages dr_wip_updates drwipt DRFILESDD Work In Progress Updated dr_wo_changed drchgwom DRFILESDD W/Os Changed Since Created dr_wo_phantoms drwhmm DRFILESDD W/O Phantoms dr_wop_updates drwopt DRFILESDD Works Orders Updated dr_workflow drworkfm DRFILESDD ECN Workflow ei_daybook ordsummm OPFILESDD EDI Daybook Summary File mg_mrp_ext mgmrpxm MGFILESDD MRP Extension mg_mrp_po_ext mgmrppm MGFILESDD MRP PO Extension nl_sam_import nlsamimpm NLFILESDD DA1329 NL SAM (Journal)

Import nl_vc_budget_hist nlbhistm NLFILESDD DA0086 Control Budget History nl_vc_budget_hold nlbholdm NLFILESDD DA0086 Control Budget Holder pop_inv_det_credit poinvdcrm POFILESDD POP Invoice Detail Credits st_batch_conv stquexrefm STFILESDD Absolute Batch Conversion Xref st_replenish_cat strpctm STFILESDD Stock Replenish Category st_stock_build_dt stbuilddm STFILESDD Stock Revaluation Build Details st_to_pick_list sttoplm STFILESDD Transfer Order Pick List st_trans_ord sttordm STFILESDD Transfer Order st_trans_ord_aud sttoaudm STFILESDD Transfer Order Audit

Line 500 v7.0 Notes for Developers Page 7 of 44 Vers 1.0 05/11/2007

2.2 Updated Tables Table name File name Directory path Description aq_retcust aqcustm AQFILESDD Returns Customer file aq_returns_detail aqretdm AQFILESDD Returns Detail file aq_returns_header aqrethm AQFILESDD Returns Header file at_convquote_det atqdetm ATFILESDD Quote lines at_convquote_head atqheadm ATFILESDD Quote Header ce_vat_reg_gentax cevatrgm CEFILESDD Vat Register (Generic Tax) ck_hold_audit Order Hold Audit Table ei_inv_head eipoihdm EIFILESDD EDI Invoice Header eo_edifact_det2 eostated2m EOFILESDD EDIFACT Detail ms_server server RWMASTERDD Servers nl_pr_ext nlprxm NLFILESDD GL project posting extension po_landcost_log polandcm POFILESDD PO landed costs log pop_invoice_detail poinvdm POFILESDD Purchase invoice batch details pop_invoice_header poinvhm POFILESDD Purchase invoice batch headers pop_newland_log polndnm POFILESDD Purchases pop_order_detail podetm POFILESDD Purchase lines pop_order_header poheadm POFILESDD Purchases pop_price_list polistm POFILESDD Order price lists pop_rec_supplier porcsupm POFILESDD Purchases pop_receipt porecpm POFILESDD Purchase receipts audit pop_receipt2 porecp2m POFILESDD Purchase receipts audit pop_schedule_line poscheddm POFILESDD POP schedule calloff line pop_supplier_inf posinfm POFILESDD Supplier information pop_user pouserm POFILESDD POP user activity profile pop_variance_hist povhstm POFILESDD Purchase variance hist purchase_item plitemm PLFILESDD Purchase Ledger Item purchase_suppli_gt plsuppgm PLFILESDD P/L Supplier File Extension purchase_supplier plsuppm PLFILESDD P/L Supplier File sales_cash slcashm SLFILESDD S/L Cash audit trail sales_customer slcustm SLFILESDD S/L customer File sales_item slitemm SLFILESDD Sales ledger Open item sales_journal sljrnm SLFILESDD S/L Journal audit trail sales_refund slrefdm SLFILESDD S/L Cash Refund file sop_order_detail opdetm OPFILESDD Sales Order lines sop_order_header opheadm OPFILESDD Sales Orders st_stock stockm STFILESDD Stock master works_order bmwoh BMFILESDD Works orders

Line 500 v7.0 Notes for Developers Page 8 of 44 Vers 1.0 05/11/2007

2.3 Updated Tables - Details Below are the details of the updated tables.

2.3.1 Table name: aq_retcust Returns Customer file File name aqcustm Rowsize 660 -> 673 COLUMN DIFFERENCES ack_address1 MODIFIED Length: 30 -> 32 ack_address2 MODIFIED Length: 30 -> 32 ack_address3 MODIFIED Length: 30 -> 32 ack_address4 MODIFIED Length: 30 -> 32 delivery_method MODIFIED Length: 4 -> 10

2.3.2 Table name: aq_returns_header Returns Header file File name aqrethm Rowsize 1230 -> 1251 COLUMN DIFFERENCES ack_address1 MODIFIED Length: 30 -> 32 ack_address2 MODIFIED Length: 30 -> 32 ack_address3 MODIFIED Length: 30 -> 32 ack_address4 MODIFIED Length: 30 -> 32 del_address1 MODIFIED Length: 30 -> 32 del_address2 MODIFIED Length: 30 -> 32 del_address3 MODIFIED Length: 30 -> 32 del_address4 MODIFIED Length: 30 -> 32 delivery_method MODIFIED Length: 4 -> 10

2.3.3 Table name: aq_returns_detail Returns Detail file File name aqretdm No. of Indexes 5 -> 6 KEY DIFFERENCES

Line 500 v7.0 Notes for Developers Page 9 of 44 Vers 1.0 05/11/2007

File name aqretdm i_aqret_detail6 ADDED Name: i_aqret_detail6 Type: I Primary: D Index Dir: A Index Number: 6 No. of Columns: 1 Column 1: product

2.3.4 Table name: at_convquote_det Quote lines Filename atqdetm Rowsize 769 -> 899 No. of Columns 82 -> 95 No. of Indexes 2 -> 5 COLUMN DIFFERENCES back_to_back_ind ADDED Name: back_to_back_ind Type: 1 Length: 1 Pad: B Termination: T confirmed_by ADDED Name: confirmed_by Type: 1 Length: 10 Pad: B Termination: T confirmed_date ADDED Name: confirmed_date Type: 53 Length: 8 Pad: B Termination: T delivery_date ADDED Name: delivery_date Type: 53 Length: 8 Pad: B Termination: T delivery_number ADDED Name: delivery_number Type: 1 Length: 20 Pad: B Termination: T driver ADDED Name: driver

Line 500 v7.0 Notes for Developers Page 10 of 44 Vers 1.0 05/11/2007

Filename atqdetm Type: 1 Length: 15 Pad: B Termination: T ent_order_qty ADDED Name: ent_order_qty Type: 5 Length: 8 Pad: B Termination: U pick_confirmed ADDED Name: pick_confirmed Type: 1 Length: 1 Pad: B Termination: U pick_list ADDED Name: pick_list Type: 1 Length: 6 Pad: B Termination: T pick_quantity ADDED Name: pick_quantity Type: 5 Length: 8 Pad: B Termination: U picker ADDED Name: picker Type: 1 Length: 15 Pad: B Termination: T transfer_order ADDED Name: transfer_order Type: 1 Length: 10 Pad: B Termination: T van_number ADDED Name: van_number Type: 1 Length: 10 Pad: B Termination: T KEY DIFFERENCES

Line 500 v7.0 Notes for Developers Page 11 of 44 Vers 1.0 05/11/2007

Filename atqdetm i_at_order_det3 ADDED Name: i_at_order_det3 Type: I Primary: D Index Dir: A Index Number: 3 No. of Columns: 1 Column 1: transfer_order i_at_order_det4 ADDED Name: i_at_order_det4 Type: I Primary: D Index Dir: A Index Number: 4 No. of Columns: 1 Column 1: pick_list i_at_order_det_d1 ADDED Name: i_at_order_det_d1 Type: I Primary: D Index Dir: A Index Number: 5 No. of Columns: 2 Column 1: order_no Column 2: val

2.3.5 Table name: at_convquote_head Quote Header Filename atqheadm Rowsize 993 -> 1059 No. of Columns 103 -> 112 No. of Indexes 5 -> 9 Version 100 -> 101 COLUMN DIFFERENCES cost_base ADDED Name: cost_base Type: 5 Length: 8 Pad: B Termination: U credit_point ADDED Name: credit_point Type: 1 Length: 8 Pad: B Termination: U credit_point_x ADDED Name: credit_point_x Type: 1

Line 500 v7.0 Notes for Developers Page 12 of 44 Vers 1.0 05/11/2007

Filename atqheadm Length: 1 Pad: B Termination: T discount_base ADDED Name: discount_base Type: 5 Length: 8 Pad: B Termination: U gross_base ADDED Name: gross_base Type: 5 Length: 8 Pad: B Termination: U gross_value ADDED Name: gross_value Type: 5 Length: 8 Pad: B Termination: U nett_base ADDED Name: nett_base Type: 5 Length: 8 Pad: B Termination: U nett_value ADDED Name: nett_value Type: 5 Length: 8 Pad: B Termination: U order_cost ADDED Name: order_cost Type: 5 Length: 8 Pad: B Termination: U DATA MAPPINGS statement_customer COLUMN DATA COPY Version 101: statement_customer[0,8]

-> credit_point[0,8] KEY DIFFERENCES i_at_order_head6 ADDED Name: i_at_order_head6 Type: I

Line 500 v7.0 Notes for Developers Page 13 of 44 Vers 1.0 05/11/2007

Filename atqheadm Primary: D Index Dir: A Index Number: 6 No. of Columns: 1 Column 1: invoice_no i_at_order_head7 ADDED Name: i_at_order_head7 Type: I Primary: D Index Dir: A Index Number: 7 No. of Columns: 2 Column 1: credit_point Column 2: credit_point_x i_at_orderhead_d1 ADDED Name: i_at_orderhead_d1 Type: I Primary: D Index Dir: A Index Number: 8 No. of Columns: 6 Column 1: status Column 2: order_no Column 3: customer Column 4: date_required Column 5: invoice_due_date Column 6: order_discount i_at_orderhead_d2 ADDED Name: i_at_orderhead_d2 Type: I Primary: D Index Dir: A Index Number: 9 No. of Columns: 2 Column 1: order_no Column 2: order_discount

2.3.6 Table name: ce_vat_reg_gentax Vat Register (Generic Tax) Filename cevatrgm Rowsize 256 -> 280 No. of Columns 40 -> 42 COLUMN DIFFERENCES letter_reference ADDED Name: letter_reference Type: 1 Length: 10 Pad: B Termination: T

Line 500 v7.0 Notes for Developers Page 14 of 44 Vers 1.0 05/11/2007

Filename cevatrgm matching_item ADDED Name: matching_item Type: 1 Length: 10 Pad: B Termination: T

2.3.7 Table name: ck_hold_audit Order Hold Audit Table Filename Rowsize 99 -> 101 COLUMN DIFFERENCES order_no MODIFIED Length: 8 -> 10

2.3.8 Table name: ei_inv_head EDI Invoice Header File name eipoihdm Rowsize 1136 -> 1145 COLUMN DIFFERENCES delivery_note_no MODIFIED Length: 10 -> 20

2.3.9 Table name: eo_edifact_det2 EDIFACT Detail File name eostated2m Rowsize 2070 -> 940 No. of Columns 193 -> 192 COLUMN DIFFERENCES spare2 DELETED Name: spare2 Type: 1 Length: 1129 Pad: B Termination: T

2.3.10 Table name: ms_server Servers File name server Rowsize 867 -> 1123 No. of Columns 11 -> 12 COLUMN DIFFERENCES api_url ADDED Name: api_url Type: 1

Line 500 v7.0 Notes for Developers Page 15 of 44 Vers 1.0 05/11/2007

File name server Length: 255 Pad: B Termination: T

2.3.11 Table name: nl_pr_ext GL project posting extension File name nlprxm COLUMN DIFFERENCES post_type MODIFIED Length: 2 -> 1

2.3.12 Table name: po_landcost_log PO landed costs log File name polandcm Rowsize 339 -> 351 COLUMN DIFFERENCES supp_del_number MODIFIED Length: 8 -> 20

2.3.13 Table name: pop_invoice_detail Purchase invoice batch details

File name poinvdm Rowsize 202 -> 231 No. of Columns 28 -> 33 COLUMN DIFFERENCES nonrecov ADDED Name: nonrecov Type: 5 Length: 8 Pad: B Termination: U out_of_tol_flag ADDED Name: out_of_tol_flag Type: 1 Length: 1 Pad: B Termination: T tolerance_type ADDED Name: tolerance_type Type: 1 Length: 1 Pad: B Termination: T user_id ADDED

Line 500 v7.0 Notes for Developers Page 16 of 44 Vers 1.0 05/11/2007

File name poinvdm Name: user_id Type: 1 Length: 8 Pad: B Termination: T vatamt ADDED Name: vatamt Type: 5 Length: 8 Pad: B Termination: U

2.3.14 Table name: pop_invoice_header Purchase invoice batch headers

File name poinvhm Rowsize 344 -> 499 No. of Columns 39 -> 45 COLUMN DIFFERENCES out_of_tol_flag ADDED Name: out_of_tol_flag Type: 1 Length: 1 Pad: B Termination: T purchase_order ADDED Name: purchase_order Type: 1 Length: 10 Pad: B Termination: T susp_reason ADDED Name: susp_reason Type: 1 Length: 10 Pad: B Termination: T susp_text1 ADDED Name: susp_text1 Type: 1 Length: 60 Pad: B Termination: T susp_text2 ADDED Name: susp_text2 Type: 1 Length: 60 Pad: B

Line 500 v7.0 Notes for Developers Page 17 of 44 Vers 1.0 05/11/2007

File name poinvhm Termination: T user_id ADDED Name: user_id Type: 1 Length: 8 Pad: B Termination: T

2.3.15 Table name: pop_newland_log Purchases File name polndnm Rowsize 655 -> 667 COLUMN DIFFERENCES delivery_number MODIFIED Length: 8 -> 20

2.3.16 Table name: pop_order_detail Purchase lines File name podetm Rowsize 576 -> 640 No. of Columns 73 -> 74 COLUMN DIFFERENCES delivery_no1 MODIFIED Length: 8 -> 20 delivery_no2 MODIFIED Length: 8 -> 20 delivery_no3 MODIFIED Length: 8 -> 20 val_match_tol ADDED Name: val_match_tol Type: 1 Length: 30 Pad: B Termination: T

2.3.17 Table name: pop_order_header Purchases File name poheadm No. of Indexes 3 -> 4 KEY DIFFERENCES i_pop_orderhead_d1 ADDED Name: i_pop_orderhead_d1 Type: I Primary: D Index Dir: A Index Number: 4 No. of Columns: 4

Line 500 v7.0 Notes for Developers Page 18 of 44 Vers 1.0 05/11/2007

File name poheadm Column 1: status Column 2: hold_indicator Column 3: order_no Column 4: date_required

2.3.18 Table name: pop_price_list Order price lists File name polistm Rowsize 118 -> 120 No. of Columns 14 -> 15 COLUMN DIFFERENCES tol_check ADDED Name: tol_check Type: 1 Length: 1 Pad: B Termination: T

2.3.19 Table name: pop_rec_supplier Purchases File name porcsupm Rowsize 55 -> 67 COLUMN DIFFERENCES delivery_number MODIFIED Length: 8 -> 20

2.3.20 Table name: pop_receipt Purchase receipts audit File name porecpm Rowsize 397 -> 408 COLUMN DIFFERENCES delivery_no MODIFIED Length: 8 -> 20

2.3.21 Table name: pop_receipt2 Purchase receipts audit File name porecp2m Rowsize 405 -> 416 COLUMN DIFFERENCES delivery_no MODIFIED Length: 8 -> 20

Line 500 v7.0 Notes for Developers Page 19 of 44 Vers 1.0 05/11/2007

2.3.22 Table name: pop_schedule_line POP schedule calloff line

File name poscheddm Rowsize 149 -> 180 No. of Columns 20 -> 21 COLUMN DIFFERENCES val_match_tol ADDED Name: val_match_tol Type: 1 Length: 30 Pad: B Termination: T

2.3.23 Table name: pop_supplier_inf Supplier information File name posinfm Rowsize 151 -> 153 No. of Columns 10 -> 11 COLUMN DIFFERENCES tol_check ADDED Name: tol_check Type: 1 Length: 1 Pad: B Termination: T

2.3.24 Table name: pop_user POP user activity profile File name pouserm Rowsize 124 -> 167 No. of Columns 21 -> 28 COLUMN DIFFERENCES allow_inv_susp ADDED Name: allow_inv_susp Type: 1 Length: 1 Pad: B Termination: T inv_price_flag ADDED Name: inv_price_flag Type: 1 Length: 1 Pad: B Termination: T inv_qty_flag ADDED Name: inv_qty_flag Type: 1

Line 500 v7.0 Notes for Developers Page 20 of 44 Vers 1.0 05/11/2007

File name pouserm Length: 1 Pad: B Termination: T inv_totval_flag ADDED Name: inv_totval_flag Type: 1 Length: 1 Pad: B Termination: T inv_value_flag ADDED Name: inv_value_flag Type: 1 Length: 1 Pad: B Termination: T val_match_flag ADDED Name: val_match_flag Type: 1 Length: 1 Pad: B Termination: T val_match_tol ADDED Name: val_match_tol Type: 1 Length: 30 Pad: B Termination: T

2.3.25 Table name: pop_variance_hist Purchase variance hist

File name povhstm Rowsize 317 -> 384 No. of Columns 42 -> 51 No. of Indexes 1 -> 4 COLUMN DIFFERENCES delivery_number ADDED Name: delivery_number Type: 1 Length: 20 Pad: B Termination: T grn_discount ADDED Name: grn_discount Type: 5 Length: 8 Pad: B Termination: U

Line 500 v7.0 Notes for Developers Page 21 of 44 Vers 1.0 05/11/2007

File name povhstm grn_for_cost_tran ADDED Name: grn_for_cost_tran Type: 5 Length: 8 Pad: B Termination: U grn_for_list_tran ADDED Name: grn_for_list_tran Type: 5 Length: 8 Pad: B Termination: U grn_loc_cost_tran ADDED Name: grn_loc_cost_tran Type: 5 Length: 8 Pad: B Termination: U grn_price_source ADDED Name: grn_price_source Type: 1 Length: 1 Pad: B Termination: T grn_val_disc_flag ADDED Name: grn_val_disc_flag Type: 1 Length: 1 Pad: B Termination: T invoice_by_qty ADDED Name: invoice_by_qty Type: 1 Length: 1 Pad: B Termination: T invoice_value ADDED Name: invoice_value Type: 5 Length: 8 Pad: B Termination: U KEY DIFFERENCES i_pop_vhist_told ADDED Name: i_pop_vhist_told Type: I Primary: D

Line 500 v7.0 Notes for Developers Page 22 of 44 Vers 1.0 05/11/2007

File name povhstm Index Dir: A Index Number: 4 No. of Columns: 1 Column 1: delivery_number i_pop_vhist_toli ADDED Name: i_pop_vhist_toli Type: I Primary: D Index Dir: A Index Number: 3 No. of Columns: 1 Column 1: invoice i_pop_vhist_tolr ADDED Name: i_pop_vhist_tolr Type: I Primary: D Index Dir: A Index Number: 2 No. of Columns: 1 Column 1: receipt_no

2.3.26 Table name: purchase_item Purchase Ledger Item File name plitemm No. of Indexes 6 -> 7 KEY DIFFERENCES i_purchase_item_d1 ADDED Name: i_purchase_item_d1 Type: I Primary: D Index Dir: A Index Number: 7 No. of Columns: 3 Column 1: open_indicator Column 2: unall_amount Column 3: due_date

2.3.27 Table name: purchase_suppli_gt P/L Supplier File Extension

File name plsuppgm Rowsize 128 -> 126 COLUMN DIFFERENCES date_of_birth MODIFIED Type: 53 -> 8 Length: 8 -> 6

Line 500 v7.0 Notes for Developers Page 23 of 44 Vers 1.0 05/11/2007

2.3.28 Table name: purchase_supplier P/L Supplier File File name plsuppm Rowsize 917 -> 919 No. of Columns 48 -> 49 COLUMN DIFFERENCES tol_check ADDED Name: tol_check Type: 1 Length: 1 Pad: B Termination: T

2.3.29 Table name: sales_cash S/L Cash audit trail File name slcashm Rowsize 1266 -> 1394 No. of Columns 188 -> 220 COLUMN DIFFERENCES last_line_key ADDED Name: last_line_key Type: 52 Length: 4 Pad: B Termination: U line_key01 ADDED Name: line_key01 Type: 52 Length: 4 Pad: B Termination: U line_key02 ADDED Name: line_key02 Type: 52 Length: 4 Pad: B Termination: U line_key03 ADDED Name: line_key03 Type: 52 Length: 4 Pad: B Termination: U line_key04 ADDED Name: line_key04 Type: 52 Length: 4 Pad: B

Line 500 v7.0 Notes for Developers Page 24 of 44 Vers 1.0 05/11/2007

File name slcashm Termination: U line_key05 ADDED Name: line_key05 Type: 52 Length: 4 Pad: B Termination: U line_key06 ADDED Name: line_key06 Type: 52 Length: 4 Pad: B Termination: U line_key07 ADDED Name: line_key07 Type: 52 Length: 4 Pad: B Termination: U line_key08 ADDED Name: line_key08 Type: 52 Length: 4 Pad: B Termination: U line_key09 ADDED Name: line_key09 Type: 52 Length: 4 Pad: B Termination: U line_key10 ADDED Name: line_key10 Type: 52 Length: 4 Pad: B Termination: U line_key11 ADDED Name: line_key11 Type: 52 Length: 4 Pad: B Termination: U line_key12 ADDED Name: line_key12 Type: 52 Length: 4

Line 500 v7.0 Notes for Developers Page 25 of 44 Vers 1.0 05/11/2007

File name slcashm Pad: B Termination: U line_key13 ADDED Name: line_key13 Type: 52 Length: 4 Pad: B Termination: U line_key14 ADDED Name: line_key14 Type: 52 Length: 4 Pad: B Termination: U line_key15 ADDED Name: line_key15 Type: 52 Length: 4 Pad: B Termination: U line_key16 ADDED Name: line_key16 Type: 52 Length: 4 Pad: B Termination: U line_key17 ADDED Name: line_key17 Type: 52 Length: 4 Pad: B Termination: U line_key18 ADDED Name: line_key18 Type: 52 Length: 4 Pad: B Termination: U line_key19 ADDED Name: line_key19 Type: 52 Length: 4 Pad: B Termination: U line_key20 ADDED Name: line_key20 Type: 52

Line 500 v7.0 Notes for Developers Page 26 of 44 Vers 1.0 05/11/2007

File name slcashm Length: 4 Pad: B Termination: U line_key21 ADDED Name: line_key21 Type: 52 Length: 4 Pad: B Termination: U line_key22 ADDED Name: line_key22 Type: 52 Length: 4 Pad: B Termination: U line_key23 ADDED Name: line_key23 Type: 52 Length: 4 Pad: B Termination: U line_key24 ADDED Name: line_key24 Type: 52 Length: 4 Pad: B Termination: U line_key25 ADDED Name: line_key25 Type: 52 Length: 4 Pad: B Termination: U line_key26 ADDED Name: line_key26 Type: 52 Length: 4 Pad: B Termination: U line_key27 ADDED Name: line_key27 Type: 52 Length: 4 Pad: B Termination: U line_key28 ADDED Name: line_key28

Line 500 v7.0 Notes for Developers Page 27 of 44 Vers 1.0 05/11/2007

File name slcashm Type: 52 Length: 4 Pad: B Termination: U line_key29 ADDED Name: line_key29 Type: 52 Length: 4 Pad: B Termination: U line_key30 ADDED Name: line_key30 Type: 52 Length: 4 Pad: B Termination: U line_key31 ADDED Name: line_key31 Type: 52 Length: 4 Pad: B Termination: U

2.3.30 Table name: sales_customer S/L customer File File name slcustm No. of Indexes 3 -> 5 KEY DIFFERENCES i_salescustomer_d1 ADDED Name: i_salescustomer_d1 Type: I Primary: D Index Dir: A Index Number: 4 No. of Columns: 2 Column 1: credit_limit Column 2: customer i_salescustomer_d2 ADDED Name: i_salescustomer_d2 Type: I Primary: D Index Dir: A Index Number: 5 No. of Columns: 2 Column 1: currency Column 2: customer

Line 500 v7.0 Notes for Developers Page 28 of 44 Vers 1.0 05/11/2007

2.3.31 Table name: sales_item Sales ledger Open item File name slitemm No. of Indexes 5 -> 8 KEY DIFFERENCES i_sales_item6 ADDED Name: i_sales_item6 Type: I Primary: D Index Dir: A Index Number: 6 No. of Columns: 1 Column 1: order_customer i_sales_item_d1 ADDED Name: i_sales_item_d1 Type: I Primary: D Index Dir: A Index Number: 7 No. of Columns: 4 Column 1: open_indicator Column 2: unall_amount Column 3: due_date Column 4: customer i_sales_item_d2 ADDED Name: i_sales_item_d2 Type: I Primary: D Index Dir: A Index Number: 8 No. of Columns: 4 Column 1: customer Column 2: open_indicator Column 3: unall_amount Column 4: due_date

2.3.32 Table name: sales_journal S/L Journal audit trail File name sljrnm Rowsize 1266 -> 1394 No. of Columns 188 -> 220 COLUMN DIFFERENCES last_line_key ADDED Name: last_line_key Type: 52 Length: 4 Pad: B Termination: U line_key01 ADDED

Line 500 v7.0 Notes for Developers Page 29 of 44 Vers 1.0 05/11/2007

File name sljrnm Name: line_key01 Type: 52 Length: 4 Pad: B Termination: U line_key02 ADDED Name: line_key02 Type: 52 Length: 4 Pad: B Termination: U line_key03 ADDED Name: line_key03 Type: 52 Length: 4 Pad: B Termination: U line_key04 ADDED Name: line_key04 Type: 52 Length: 4 Pad: B Termination: U line_key05 ADDED Name: line_key05 Type: 52 Length: 4 Pad: B Termination: U line_key06 ADDED Name: line_key06 Type: 52 Length: 4 Pad: B Termination: U line_key07 ADDED Name: line_key07 Type: 52 Length: 4 Pad: B Termination: U line_key08 ADDED Name: line_key08 Type: 52 Length: 4 Pad: B Termination: U

Line 500 v7.0 Notes for Developers Page 30 of 44 Vers 1.0 05/11/2007

File name sljrnm line_key09 ADDED Name: line_key09 Type: 52 Length: 4 Pad: B Termination: U line_key10 ADDED Name: line_key10 Type: 52 Length: 4 Pad: B Termination: U line_key11 ADDED Name: line_key11 Type: 52 Length: 4 Pad: B Termination: U line_key12 ADDED Name: line_key12 Type: 52 Length: 4 Pad: B Termination: U line_key13 ADDED Name: line_key13 Type: 52 Length: 4 Pad: B Termination: U line_key14 ADDED Name: line_key14 Type: 52 Length: 4 Pad: B Termination: U line_key15 ADDED Name: line_key15 Type: 52 Length: 4 Pad: B Termination: U line_key16 ADDED Name: line_key16 Type: 52 Length: 4 Pad: B Termination: U

Line 500 v7.0 Notes for Developers Page 31 of 44 Vers 1.0 05/11/2007

File name sljrnm line_key17 ADDED Name: line_key17 Type: 52 Length: 4 Pad: B Termination: U line_key18 ADDED Name: line_key18 Type: 52 Length: 4 Pad: B Termination: U line_key19 ADDED Name: line_key19 Type: 52 Length: 4 Pad: B Termination: U line_key20 ADDED Name: line_key20 Type: 52 Length: 4 Pad: B Termination: U line_key21 ADDED Name: line_key21 Type: 52 Length: 4 Pad: B Termination: U line_key22 ADDED Name: line_key22 Type: 52 Length: 4 Pad: B Termination: U line_key23 ADDED Name: line_key23 Type: 52 Length: 4 Pad: B Termination: U line_key24 ADDED Name: line_key24 Type: 52 Length: 4 Pad: B

Line 500 v7.0 Notes for Developers Page 32 of 44 Vers 1.0 05/11/2007

File name sljrnm Termination: U line_key25 ADDED Name: line_key25 Type: 52 Length: 4 Pad: B Termination: U line_key26 ADDED Name: line_key26 Type: 52 Length: 4 Pad: B Termination: U line_key27 ADDED Name: line_key27 Type: 52 Length: 4 Pad: B Termination: U line_key28 ADDED Name: line_key28 Type: 52 Length: 4 Pad: B Termination: U line_key29 ADDED Name: line_key29 Type: 52 Length: 4 Pad: B Termination: U line_key30 ADDED Name: line_key30 Type: 52 Length: 4 Pad: B Termination: U line_key31 ADDED Name: line_key31 Type: 52 Length: 4 Pad: B Termination: U

Line 500 v7.0 Notes for Developers Page 33 of 44 Vers 1.0 05/11/2007

2.3.33 Table name: sales_refund S/L Cash Refund file File name slrefdm Rowsize 1266 -> 1394 No. of Columns 188 -> 220 COLUMN DIFFERENCES last_line_key ADDED Name: last_line_key Type: 52 Length: 4 Pad: B Termination: U line_key01 ADDED Name: line_key01 Type: 52 Length: 4 Pad: B Termination: U line_key02 ADDED Name: line_key02 Type: 52 Length: 4 Pad: B Termination: U line_key03 ADDED Name: line_key03 Type: 52 Length: 4 Pad: B Termination: U line_key04 ADDED Name: line_key04 Type: 52 Length: 4 Pad: B Termination: U line_key05 ADDED Name: line_key05 Type: 52 Length: 4 Pad: B Termination: U line_key06 ADDED Name: line_key06 Type: 52 Length: 4 Pad: B Termination: U

Line 500 v7.0 Notes for Developers Page 34 of 44 Vers 1.0 05/11/2007

File name slrefdm line_key07 ADDED Name: line_key07 Type: 52 Length: 4 Pad: B Termination: U line_key08 ADDED Name: line_key08 Type: 52 Length: 4 Pad: B Termination: U line_key09 ADDED Name: line_key09 Type: 52 Length: 4 Pad: B Termination: U line_key10 ADDED Name: line_key10 Type: 52 Length: 4 Pad: B Termination: U line_key11 ADDED Name: line_key11 Type: 52 Length: 4 Pad: B Termination: U line_key12 ADDED Name: line_key12 Type: 52 Length: 4 Pad: B Termination: U line_key13 ADDED Name: line_key13 Type: 52 Length: 4 Pad: B Termination: U line_key14 ADDED Name: line_key14 Type: 52 Length: 4 Pad: B Termination: U

Line 500 v7.0 Notes for Developers Page 35 of 44 Vers 1.0 05/11/2007

File name slrefdm line_key15 ADDED Name: line_key15 Type: 52 Length: 4 Pad: B Termination: U line_key16 ADDED Name: line_key16 Type: 52 Length: 4 Pad: B Termination: U line_key17 ADDED Name: line_key17 Type: 52 Length: 4 Pad: B Termination: U line_key18 ADDED Name: line_key18 Type: 52 Length: 4 Pad: B Termination: U line_key19 ADDED Name: line_key19 Type: 52 Length: 4 Pad: B Termination: U line_key20 ADDED Name: line_key20 Type: 52 Length: 4 Pad: B Termination: U line_key21 ADDED Name: line_key21 Type: 52 Length: 4 Pad: B Termination: U line_key22 ADDED Name: line_key22 Type: 52 Length: 4 Pad: B

Line 500 v7.0 Notes for Developers Page 36 of 44 Vers 1.0 05/11/2007

File name slrefdm Termination: U line_key23 ADDED Name: line_key23 Type: 52 Length: 4 Pad: B Termination: U line_key24 ADDED Name: line_key24 Type: 52 Length: 4 Pad: B Termination: U line_key25 ADDED Name: line_key25 Type: 52 Length: 4 Pad: B Termination: U line_key26 ADDED Name: line_key26 Type: 52 Length: 4 Pad: B Termination: U line_key27 ADDED Name: line_key27 Type: 52 Length: 4 Pad: B Termination: U line_key28 ADDED Name: line_key28 Type: 52 Length: 4 Pad: B Termination: U line_key29 ADDED Name: line_key29 Type: 52 Length: 4 Pad: B Termination: U line_key30 ADDED Name: line_key30 Type: 52 Length: 4

Line 500 v7.0 Notes for Developers Page 37 of 44 Vers 1.0 05/11/2007

File name slrefdm Pad: B Termination: U line_key31 ADDED Name: line_key31 Type: 52 Length: 4 Pad: B Termination: U

2.3.34 Table name: sop_order_detail Sales Order lines File name opdetm Rowsize 769 -> 899 No. of Columns 82 -> 95 No. of Indexes 2 -> 5 COLUMN DIFFERENCES back_to_back_ind ADDED Name: back_to_back_ind Type: 1 Length: 1 Pad: B Termination: T confirmed_by ADDED Name: confirmed_by Type: 1 Length: 10 Pad: B Termination: T confirmed_date ADDED Name: confirmed_date Type: 53 Length: 8 Pad: B Termination: T delivery_date ADDED Name: delivery_date Type: 53 Length: 8 Pad: B Termination: T delivery_number ADDED Name: delivery_number Type: 1 Length: 20 Pad: B Termination: T driver ADDED

Line 500 v7.0 Notes for Developers Page 38 of 44 Vers 1.0 05/11/2007

File name opdetm Name: driver Type: 1 Length: 15 Pad: B Termination: T ent_order_qty ADDED Name: ent_order_qty Type: 5 Length: 8 Pad: B Termination: U pick_confirmed ADDED Name: pick_confirmed Type: 1 Length: 1 Pad: B Termination: U pick_list ADDED Name: pick_list Type: 1 Length: 6 Pad: B Termination: T pick_quantity ADDED Name: pick_quantity Type: 5 Length: 8 Pad: B Termination: U picker ADDED Name: picker Type: 1 Length: 15 Pad: B Termination: T transfer_order ADDED Name: transfer_order Type: 1 Length: 10 Pad: B Termination: T van_number ADDED Name: van_number Type: 1 Length: 10 Pad: B Termination: T

Line 500 v7.0 Notes for Developers Page 39 of 44 Vers 1.0 05/11/2007

File name opdetm KEY DIFFERENCES i_sop_order_det3 ADDED Name: i_sop_order_det3 Type: I Primary: D Index Dir: A Index Number: 3 No. of Columns: 1 Column 1: transfer_order i_sop_order_det4 ADDED Name: i_sop_order_det4 Type: I Primary: D Index Dir: A Index Number: 4 No. of Columns: 1 Column 1: pick_list i_sop_order_det_d1 ADDED Name: i_sop_order_det_d1 Type: I Primary: D Index Dir: A Index Number: 5 No. of Columns: 2 Column 1: order_no Column 2: val

2.3.35 Table name: sop_order_header Sales Orders File name opheadm Rowsize 993 -> 1059 No. of Columns 103 -> 112 No. of Indexes 6 -> 9 Version 100 -> 101 COLUMN DIFFERENCES cost_base ADDED Name: cost_base Type: 5 Length: 8 Pad: B Termination: U credit_point ADDED Name: credit_point Type: 1 Length: 8 Pad: B Termination: U credit_point_x ADDED Name: credit_point_x

Line 500 v7.0 Notes for Developers Page 40 of 44 Vers 1.0 05/11/2007

File name opheadm Type: 1 Length: 1 Pad: B Termination: T discount_base ADDED Name: discount_base Type: 5 Length: 8 Pad: B Termination: U gross_base ADDED Name: gross_base Type: 5 Length: 8 Pad: B Termination: U gross_value ADDED Name: gross_value Type: 5 Length: 8 Pad: B Termination: U nett_base ADDED Name: nett_base Type: 5 Length: 8 Pad: B Termination: U nett_value ADDED Name: nett_value Type: 5 Length: 8 Pad: B Termination: U order_cost ADDED Name: order_cost Type: 5 Length: 8 Pad: B Termination: U DATA MAPPINGS statement_customer COLUMN DATA COPY Version 101: statement_customer[0,8]

-> credit_point[0,8] KEY DIFFERENCES i_sop_order_head7 ADDED Name: i_sop_order_head7

Line 500 v7.0 Notes for Developers Page 41 of 44 Vers 1.0 05/11/2007

File name opheadm Type: I Primary: D Index Dir: A Index Number: 7 No. of Columns: 2 Column 1: credit_point Column 2: credit_point_x i_sop_orderhead_d1 ADDED Name: i_sop_orderhead_d1 Type: I Primary: D Index Dir: A Index Number: 8 No. of Columns: 6 Column 1: status Column 2: order_no Column 3: customer Column 4: date_required Column 5: invoice_due_date Column 6: order_discount i_sop_orderhead_d2 ADDED Name: i_sop_orderhead_d2 Type: I Primary: D Index Dir: A Index Number: 9 No. of Columns: 2 Column 1: order_no Column 2: order_discount

2.3.36 Table name: st_stock Stock master File name stockm Rowsize 1726 -> 1734 No. of Columns 188 -> 191 COLUMN DIFFERENCES held_flag ADDED Name: held_flag Type: 1 Length: 1 Pad: B Termination: T obsolete_flag ADDED Name: obsolete_flag Type: 1 Length: 1 Pad: B Termination: T replenish_category ADDED

Line 500 v7.0 Notes for Developers Page 42 of 44 Vers 1.0 05/11/2007

File name stockm Name: replenish_category Type: 1 Length: 3 Pad: B Termination: T

2.3.37 Table name: works_order Works orders File name bmwohm No. of Indexes 4 -> 5 KEY DIFFERENCES i_works_order5 ADDED Name: i_works_order5 Type: I Primary: D Index Dir: A Index Number: 5 No. of Columns: 1 Column 1: due_date

Line 500 v7.0 Notes for Developers Page 43 of 44 Vers 1.0 05/11/2007

2.4 Rowstamped Tables - Details For Line 500 v7.0 over Windows a new row stamp column has been added to all tables that don’t have a duplicate primary key.

Line 500 v7.0 Notes for Developers Page 44 of 44 Vers 1.0 05/11/2007

3 Application Code Changes required for Line 500 v7.0

No changes identified.