pop_m_line_discounts
POP_M_028Purchase Order Processingmaintenancebase
Maintain Purchase Line Discounts — Purchase Order Processing maintenance program in the standard Ross ERP 8.0 application. References 11 Data Dictionary tables, writes 2. Metadata only; no source.
Open Maintain Purchase Line Discounts in the interactive Program Explorer →Part of Purchase Order Processing programs · all programs
How it runs
- read-only: declares a read-only form or transaction
- rolls back its work on failure
Screens · 4
GET_KEYS78×21 · Maintain Line DiscountsGET_KEY_DETAILS78×6DISCOUNT_LINE_QTYS78×12 · Discount Breaks · rows of POP_DISCOUNT_LINES (grid: add, change, delete)DISCOUNT_LINE_VALUES78×12 · Discount Breaks · rows of POP_DISCOUNT_LINES (grid: add, change, delete)
Asks for · 14
DIVISION· checked against AP_CONTROLS.AP_DIVISION · requiredVENDOR_NUMBER· checked against VENDORS.VENDOR_NUMBER · required- Supplier Discount Group · checked against POP_VENDOR_DISCOUNT_GROUPS.DISCOUNT_GROUP · required
PRODUCT_DISCOUNT_GROUP· checked against PRODUCT_DISCOUNT_GROUPS.PRODUCT_DISCOUNT_GROUP · requiredWAREHOUSE· checked against POP_DISCOUNT_LINES.WAREHOUSEPART_CODE· checked against PRODUCT_MASTER.PART_CODE · requiredSYS_EDI_PO_LINE_DISC_IND· checked against POP_EDI_DISCOUNT_LINE_CODES.SYS_EDI_PO_LINE_DISC_INDSYS_EDI_PO_LINE_DISC_CODE· checked against POP_EDI_DISCOUNT_LINE_CODES.SYS_EDI_PO_LINE_DISC_CODESYS_CURRENCY_CODEQTY_VALUE_BREAKBREAK_DISCOUNTDISCOUNT_CHANGE_DATEBREAK_DISCOUNT_1- (unlabeled) · checked against POP_DISCOUNT_LINES.BREAK_DISCOUNT
Tables used · 11 · 2 written
POP_DISCOUNT_LINES CUDPOP_EDI_DISCOUNT_LINE_CODES CUAP_CONTROLSCOMPANY_CONTROLSPOP_VENDOR_DISCOUNT_GROUPSPRODUCT_DISCOUNT_GROUPSPRODUCT_MASTERPRODUCT_MASTER_BY_VENDORSYS_CURRENCY_CODESVENDORSWAREHOUSE_CONTROLS
C = creates rows · U = updates rows · D = deletes rows · U? = probable update. Tables without a letter are only read.
Columns it sets on POP_DISCOUNT_LINES: BREAK_DISCOUNT, BREAK_DISCOUNT_1, COMPANY_CODE, DISCOUNT_CHANGE_DATE, DIVISION, PART_KEY, QTY_VALUE_BREAK, SYS_CURRENCY_CODE, VENDOR_KEY, WAREHOUSE
Columns it sets on POP_EDI_DISCOUNT_LINE_CODES: COMPANY_CODE, DIVISION, PART_KEY, SYS_EDI_PO_LINE_DISC_CODE, SYS_EDI_PO_LINE_DISC_IND, VENDOR_KEY
Messages it can show · 14
- P_51221 — SYS_CURRENCY_CODES record not found for currency !AS
- P_62225 — Percentage amount cannot exceed 100%.
- P_02189 — Currency code has not been activated
- P_29058 — Product !AS - not found
- P_00139 — Company Control Record not Found
- P_00366 — Invalid Warehouse !AS
- P_00818 — Division control record not found
- P_02193 — Supplier has not been activated
- P_02478 — No period access for this !AS
- P_02479 — You do not have access to this !AS from module !AS
- P_02481 — Line Discounting is Not Enabled for Specified Division.
- P_10638 — Failed to check security of warehouses
- P_10639 — You do not have access to any warehouses from module !AS
- P_62369 — Warehouse/Product not found.
Depends on
- control settings it checks: AP_CONTROLS.LINE_DISCOUNT_IN_USE
- system parameters it reads:
COMPANY_SECURITY_ACTIVE,DISCOUNT_BREAK_AMOUNT,DISCOUNT_BREAK_CODE,DISCOUNT_BREAK_GROUP,DISCOUNT_BREAK_NUMBER,DISCOUNT_BREAK_PERCEN,DISCOUNT_BREAK_QTY,DISCOUNT_BREAK_VALUE,STATUS_ACTIVE