Lawson Insight Technical Documentation

Generated by:
Documentation generated by Decision Analytics

ERDs Tables Conditions Elements Libraries APIs Forms

ACPRODHDR


                             ACPRODHDR FILE

The ACPRODHDR (Contract Product Header) file stores contract information used
for billing and revenue recognition for product sales.  The fields maintained
on this file apply to the entire contract while the fields on the ACPRODDTL
file contain the information specific to each product sold on the contract.
ACPRODHDR is created and maintained on Product Contract (BR51). Use Product
Contract Listing (BR251) to print contract data.

The ACPRODHDR file has relationships with the ACCNTRACT, ACPRODDTL,
ACACTIVITY, ACCNTRSTAT, ACREASONCD, ACPRODLST, ACCNTRCMTX, ACPRMSTN,
ACPRMSTNX, ACGLCODE, and ACSRVCLOC files.

REFERENCED BY

BR124     BR15.1    BR151     BR251     BR253     BR30.1
BR31.1    BR31.2    BR31.4    BR50.3    BR52.4    BR54.1
BR54.2    BR54.3    BR54.4    BRPI.1

UPDATED BY

BR153     BR51.1    BR51.2    BR53.1    BR53.2

FIELD NAME             DESCRIPTION/VALID VALUES                  UPDATED BY

AHR-CONTRACT           Alpha 10                                  BR51.1
Element: Contract      Identifies the contract that this
                       product set up belongs to.  The contract
                       would first need to have been set up in
                       Contract Setup BR10.

AHR-CONT-STATUS        Alpha 2                                   BR51.1
Element: Cont Status   Identifies the user defined status
                       associated with this contract. Statuses
                       are defined on Contract Status BR30.

AHR-PRODUCT-LIST       Alpha 10                                  BR51.1
Element: Product List  Identifies the name of the product list.
                        The product list is used to group
                       products by currency.  The product list
                       contains price and cost amounts.  The
                       product list is set up on BR50.

AHR-DISCOUNT-PCT       Signed 8.5                                BR51.1
Element: Discount Pct  Identifies whether or not there is a
                       discount percentage to be applied to all
                       products within a contract.

AHR-MAINT-PERCENT      Signed 7.3                                BR51.1
Element: Percent       Identifies what percent of the list or
                       net price amount will be used to
                       calculate free maintenance amount.

AHR-LIST-NET-FLAG      Alpha 1                                   BR51.1
Element: List Net Flag Identifies the percentage of
                       maintenance is calculated against. List
                       or net price.
                       1 = List
                       2 = Net

AHR-MAINT-PERIOD       Numeric 2
Element: Last Closed PeIdentifies the maintenance period  that
                       will be extended to customers at no
                       charge as part of the contract sale.

AHR-DEFERRED-FL        Alpha 1                                   BR153   BR51.1
Element: Deferred Fl   Identifies whether or not the contract
                       has any deferred revenue associated with
                       it.  either at the header or detail
                       level.
                       Y = Yes
                       N = No

AHR-REASON-CODE        Alpha 4                                   BR51.1
Element: Reason Code   Identifies the reason code that will
                       indicate why the contract has revenue
                       that has been deferred.  Reason codes
                       are set up on BR08.

AHR-MAINT-SCHEDULE     Alpha 15                                  BR51.1
Element: Maint ScheduleIdentifies the name of the maintenance
                       schedule tha has been set up to
                       recognize deferred revenue for the
                       period of free maintenance.  This field
                       is needed so that if a change is done to
                       a contract product set up which would
                       cnage the maintenace schedule, the
                       appropriate schedule can be identified.

AHR-DESCRIPTION        Alpha 30  (Lower Case)                    BR51.1
Element: Description   This field displays the description.

AHR-STATUS             Numeric 1                                 BR51.1  BR51.2
Element: Status        This field displays the status of the
                       transaction.
                       0 = Unreleased
                       1 = Released

AHR-ACTIVITY           Alpha 15                                  BR51.1
Element: Activity      Activities are the processes or
                       procedures that produce work. Cost
                       objects (products, services, customers,
                       and so on) are the reasons for
                       performing the activity.


AHR-CONT-DATE          Numeric 8  (yyyymmdd)                     BR51.1
Element: Date          Identifies the start date of the
                       contract.  Will default from the
                       contract activities' begin date range
                       but can be overridden.

AHR-BEGIN-DATE         Numeric 8  (yyyymmdd)                     BR51.1
Element: Begin Date    Identifies the begin date of the free
                       maintenance period associated with the
                       contract.

AHR-END-DATE           Numeric 8  (yyyymmdd)                     BR51.1
Element: Ending Date   Identifies the end date of the free
                       maintenance period associated with this
                       contract.

AHR-LIST-PRICE         Signed 15.2                               BR51.1
Element: Adj Amt       The list price for the product sold
                       that is represented by this detail line.
                       This includes the base price for the
                       product in addition to a calculation for
                       any additional users that may have been
                       sold.  List price is always stored in
                       contract currency. This value will be
                       stored as a debit amount.

AHR-NET-PRICE          Signed 15.2                               BR51.1
Element: Adj Amt       The net amount of the product for this
                       contract after discount has been
                       applied.  Net price will be calculated
                       as List Price less Discount Amount. Net
                       price is always stored in contract
                       currency.  This value will be stored as
                       debit amount.

AHR-FREE-MAINT         Signed 15.2                               BR51.1
Element: Adj Amt       The amount of free maintenance that is
                       given to a client with the pruchase of
                       this product.  This number will be
                       calculated as a %  of either list or net
                       prices.  Free maintenance amount is
                       always stored in contract currency. This
                       value will be stored as a debit.

AHR-DEFERRED-AMT       Signed 15.2                               BR51.1  BR53.1
Element: Adj Amt       Identifies any amount, exclusive of       BR53.2
                       free maintenance, that will be deferred
                       for revenue on this contract.  Deferred
                       amount is always stored in contract
                       currency.  This value will be stored as
                       a debit.

AHR-OPERATOR           Alpha 10                                  BR51.1  BR51.2
Element: Operator Code This field is used to store the login
                       id of the person who entered the record.


AHR-DATE-STAMP         Numeric 8  (yyyymmdd)                     BR51.1  BR51.2
Element: Date          This field contains the server date
                       (month, date, and year) of the last
                       change to this record.

AHR-TIME-STAMP         Numeric 6  (hhmmss)                       BR51.1  BR51.2
Element: Time Stamp    Contains the server time (hour, minute,
                       and second) when the record was last
                       changed.

AHR-DFLT-COMPANY       Numeric 4                                 BR51.1
Element: Company

AHR-DFLT-ACCT-UNIT     Alpha 15                                  BR51.1
Element: Accounting Unit

AHR-BILL-ACCT-CAT      Alpha 5                                   BR51.1
Element: Account Category

AHR-BILL-GL-CD         Alpha 4                                   BR51.1
Element: Ac Gl Code

AHR-BILL-ACCOUNT       Numeric 6                                 BR51.1
Element: Account

AHR-BILL-SUB-ACCT      Numeric 4                                 BR51.1
Element: Subaccount

AHR-UNBL-ACCT-CAT      Alpha 5                                   BR51.1
Element: Account Category

AHR-UNBL-GL-CD         Alpha 4                                   BR51.1
Element: Ac Gl Code

AHR-UNBL-ACCOUNT       Numeric 6                                 BR51.1
Element: Account

AHR-UNBL-SUB-ACCT      Numeric 4                                 BR51.1
Element: Subaccount

AHR-SERVICE-LOC        Numeric 4                                 BR51.1
Element: Service Loc

AHR-CUST-NAME          Derived
Element: Cust Name

AHR-NET-PROD-REV       Derived
Element: Net Prod Rev

AHR-ACTUAL-PRICE       Signed 15.2                               BR51.1
Element: Adj Amt

AHR-INV-NET-PRICE      Signed 15.2                               BR51.1
Element: Adj Amt

                         ACPRODHDR FILE INDEX

NAME      KEY FIELDS    DESCRIPTION / SUBSET CONDITION           USED IN

AHRSET1   CONTRACT                                               BR124   BR15.1
                                                                 BR151   BR153
                                                                 BR251   BR253
                                                                 BR30.1  BR31.1
                                                                 BR31.2  BR31.4
                                                                 BR50.3  BR51.1
                                                                 BR51.2  BR52.4
                                                                 BR53.1  BR53.2
                                                                 BR54.1  BR54.2
                                                                 BR54.3  BR54.4
                                                                 BRPI.1

                         ACPRODHDR FILE RELATIONS

ONE TO ONE RELATIONS


RELATION       RELATED
 NAME           FILE        INTEGRITY RULES / FIELD MATCH

Acactivity     ACACTIVITY   Required

                            AHR-ACTIVITY        -> ACV-ACTIVITY

Accntract      ACCNTRACT    Required

                            AHR-CONTRACT        -> CNT-CONTRACT

Accntrstat     ACCNTRSTAT   Not Required

                            AHR-CONT-STATUS     -> CSB-CONT-STATUS

Acglcode Bill  ACGLCODE     Not Required

                            AHR-BILL-GL-CD      -> AGC-AC-GL-CODE

Acglcode Unbl  ACGLCODE     Not Required

                            AHR-UNBL-GL-CD      -> AGC-AC-GL-CODE

Acprodlst      ACPRODLST    Required

                            AHR-PRODUCT-LIST    -> BRP-PRODUCT-LIST

Acreasoncd     ACREASONCD   Not Required

                            AHR-REASON-CODE     -> CDE-REASON-CODE

Acsrvcloc      ACSRVCLOC    Not Required

                            CNT-COMPANY         -> ASV-COMPANY
                            CNT-CUSTOMER        -> ASV-CUSTOMER
                            AHR-SERVICE-LOC     -> ASV-SERVICE-LOC

Arcomp         ARCOMP       Required

                            CNT-COMPANY         -> ACO-COMPANY

Custdesc       CUSTDESC     Required

                            ACO-CUST-GROUP      -> CUD-CUST-GROUP
                            CNT-CUSTOMER        -> CUD-CUSTOMER

                         ACPRODHDR FILE RELATIONS

ONE TO MANY RELATIONS


RELATION       RELATED
 NAME           FILE        INTEGRITY RULES / FIELD MATCH

Accntrcmtx     ACCNTRCMTX

                            AHR-CONTRACT        -> CXM-CONTRACT
                            Spaces              -> CXM-MAINT-SCHEDULE
                            Spaces              -> CXM-PRODUCT
                            Spaces              -> CXM-PROD-VERSION
                                                   CXM-OBJ-ID
                                                   CXM-COMMENT-TYPE
                                                   CXM-DATE
                                                   CXM-SEQ-NBR

Acprmstn       ACPRMSTN

                            CNT-ACTIVITY        -> PMS-ACTIVITY
                                                   PMS-MILESTONE-CAT

Acprmstnx      ACPRMSTNX

                            CNT-ACTIVITY        -> PMX-ACTIVITY
                                                   PMX-MILESTONE-CAT
                                                   PMX-MILESTONE

Acproddtl      ACPRODDTL

                            AHR-CONTRACT        -> AHD-CONTRACT
                                                   AHD-PRODUCT
                                                   AHD-PROD-VERSION
                                                   AHD-OBJ-ID