sop_t_rma_maintenance
RMA Add & Modify — Sales Order Processing transfer program in the standard Ross ERP 8.0 application. References 24 Data Dictionary tables, writes 4. Metadata only; no source.
Open RMA Add & Modify in the interactive Program Explorer →Part of Sales Order Processing programs · all programs
How it runs
- rolls back its work on failure
Screens · 12
MAIN100×28 · Add RMAsRMA_ADD_MENU2×1RMA_ADD_CANCEL30×5 · Cancel RMARMA_LINES_LIST100×?RMA_COMMENTS100×28 · RMA Header/TotalsRMA_LINE_DETAILS100×28 · RMA Line DetailSHOW_LINE_PART50×5RMA_LINE_DETAIL_QTYS53×9 · Lot DetailsDISPLAY_RMA_HEADER100×28 · Modify RMAs · rows of SOP_RMA_HEADERSFIND_RMA100×1BLANK_ADRS_OUTPUT60×5CONFIRM_REUSE40×3
Asks for · 40
DIVISION· requiredCUSTOMER_NUMBER· requiredRMA_DATEEXPIRY_DATESYS_RMA_REASON_CODE_TEXTCOST_CENTERRMA_WAREHOUSE- Return Address Code
SYS_CURRENCY_CODEINVOICE_NUMBER· several valuesORDER_NUMBER· several valuesINVOICE_DATE· checked against SALES_ORDER_INVOICES.INVOICE_DATE · several valuesDESPATCH_NOTE· several valuesPART_CODE· several valuesWAREHOUSE· several valuesCUSTOMERS_PART_CODE· several valuesCUSTOMER_REFERENCE· several valuesIC_LOT_NUMBER· several values- Contact Name
CONTACT_PHONECONTACT_EMAILRECEIVER_EMAIL- RMA Description
- Comments
LINE_DISCOUNTFREIGHTMISCELLANEOUS- Tax
RMA_NUMBERINVOICE_NUMBER· requiredINVOICE_LINE_NUMBER· requiredRMA_QUANTITYSALES_PRICESOP_INVOICE_TOTAL_CURRENCY- Discount
RMA_RESTOCKING_FEERMA_RETURN_QUANTITY- Return Reason
DIVISIONCUSTOMER_NUMBER
Run options: Rma Header/Totals · Rma Lines | Rma Header/Totals · Rma Lines · Create Rma · Cancel Rma | Rma Header/Totals · Rma Lines · Confirm Changes
Tables used · 24 · 4 written
C = creates rows · U = updates rows · D = deletes rows · U? = probable update. Tables without a letter are only read.
Columns it sets on SOP_RMA_HEADERS: ADDRESS_CODE, APPROVED_BY, APPROVED_DATE, CLOSED_BY, CLOSED_DATE, COMPANY_CODE, CONTACT_EMAIL, CONTACT_PHONE, COST_CENTER, CUSTOMER_CONTACT, CUSTOMER_NUMBER, DESCRIPTION, DIVISION, EXPIRY_DATE, FREIGHT, LAST_MODIFIED_DATE, LINE_DISCOUNT, LINE_TAX, MISCELLANEOUS, RECEIVER_EMAIL, RMA_COMMENT, RMA_DATE, RMA_LINE_VALUE, RMA_NUMBER, RMA_TOTAL_CURRENCY, RMA_WAREHOUSE, STATUS_FLAG, SYSTEM_DATE, SYS_CURRENCY_CODE, USERNAME
Columns it sets on SOP_RMA_LINES: COMPANY_CODE, CUSTOMERS_PART_CODE, CUSTOMER_REFERENCE, DESPATCH_NOTE, DIVISION, IC_LOT_NUMBER, INVOICE_DATE, INVOICE_LINE_NUMBER, INVOICE_LINE_TYPE, INVOICE_NUMBER, INVOICE_QUANTITY, LINE_DISCOUNT, LINE_TAX, LINE_VALUE, MISCELLANEOUS, ORDER_LINE_NUMBER, ORDER_NUMBER, PART_CODE, RMA_LINE_DISCOUNT, RMA_LINE_NUMBER, RMA_LINE_TAX, RMA_LINE_VALUE, RMA_MISCELLANEOUS, RMA_NUMBER, RMA_QUANTITY, RMA_RESTOCKING_FEE, RMA_RETURN_QUANTITY, RMA_SALES_PRICE, RMA_TOTAL_CURRENCY, SALES_ORDER_DETAIL_DESCRIPTION, SALES_PRICE, SOP_INVOICE_TOTAL_CURRENCY, SYSTEM_DATE, SYS_RMA_REASON_CODE_TEXT, UNIT_PRICE, UNIT_SALES, USERNAME, WAREHOUSE
Columns it sets on SOP_RMA_LINE_DETAILS: COMPANY_CODE, DIVISION, IC_LOT_NUMBER, INVOICE_QUANTITY, RMA_LINE_NUMBER, RMA_NUMBER, RMA_RETURN_QUANTITY, SEQUENCE, UNIT_COST, UNIT_OF_MEASURE
Columns it sets on SOP_TRANSACTION_TYPES: TRANSACTION_NUMBER
Messages it can show · 67
- P_00277 — Fatal error: Transaction type not found
- P_02973 — Update Failed
- P_33543 — Invalid Reason Code
- P_00347 — Invalid Cost Center !AS
- P_00366 — Invalid Warehouse !AS
- P_00703 — Transaction Number already exists
- P_02233 — Field Data must be numeric
- P_02789 — Invalid corporate address, !AS.
- P_10631 — You do not have access to this warehouse from module !AS
- P_33291 — No outstanding quantity to return for this line
- P_33975 — Date cannot be a future date.
- P_33976 — Expiry date cannot be before RMA date.
- P_35093 — RMA !AS has been created.
- P_35099 — Total RMA Value cannot be negative.
- P_35100 — Credit quantity cannot be more than outstanding invoice quantity !AS.
- P_35124 — RMA miscellaneous cannot be more than the invoice miscellaneous.
- P_35127 — An RMA cannot be created without any RMA lines.
- P_35129 — Total quantity in grid must equal expected return quantity on line.
- P_42027 — Warehouse has not been activated
- P_82043 — Unable to find Product Master !AS
- P_91052 — Failed to obtain decimals
- P_00139 — Company Control Record not Found
- P_00243 — Division is not Activated
- P_00349 — Invalid Currency Code
- P_00350 — Invalid Customer
- P_00354 — Invalid !AS division.
- P_00447 — No period access exists for this division
- P_00544 — Product Warehouse not found !AS
- P_00756 — You do not have access to this division from module !AS
- P_00757 — You Do Not Have Access to this Transaction Type
- P_00875 — Transaction !TX already exists in the transaction table - !AS
- P_02200 — Customer has not been activated.
- P_02395 — Product Warehouse !AS has not been activated
- P_02698 — Currency, !AS, has not been activated.
- P_10638 — Failed to check security of warehouses
- P_10639 — You do not have access to any warehouses from module !AS
- P_10642 — Failed to check security of divisions
- P_10644 — No security access exists for selected divisions from module !AS
- P_13378 — Invoices Not Found
- P_13382 — No data found
- P_13924 — No matching records found
- P_22226 — Invoice Line Record Not Found
- P_22580 — Update to WMS failed
- P_33978 — Entry of at least one more selection criteria is required.
- P_35120 — RMA discount cannot be more than the invoice discount.
- P_35121 — RMA tax cannot be more than the invoice tax.
- P_35122 — Restocking fee cannot be more than the RMA line value.
- P_35123 — Expected return quantity cannot be more than the credit quantity.
- P_35125 — Tax cannot be more than the total value.
- P_35126 — Discount cannot be more than the total value.
- P_35130 — RMA !AS has been modified.
- P_35201 — The RMA is already closed.
- P_35268 — Product !AS must have an active product warehouse for RMA warehouse !AS.
- P_35269 — This invoice line already exists in the RMA.
- P_35271 — This line has some quantity returned against it. It cannot be deleted.
- P_35300 — Cannot delete lines as the RMA has been approved.
- P_35301 — Cannot insert lines as the RMA has been approved.
- P_36520 — Credit quantity cannot be less than Actual Returned Quantity.
- P_36521 — Credit quantity cannot be less than it's previous value.
- P_39038 — Transaction Number Missing
Depends on
- control settings it checks: AR_CONTROLS.SOP_ACTIVE, WAREHOUSE_CONTROLS.ACTIVATE_MODULE
- system parameters it reads:
COMPANY_SECURITY_ACTIVE,DEFAULT_DATE_MASK,IC_CATCHWEIGHT_UOM_CONTROL,IC_E_UOM_CONV_NO_MESSAGE,IC_INVENTORY_UOM,IC_POTENT_UOM_CONTROL,IC_UOM_LOT_CHARACTERISTIC,IC_UOM_LOT_CHAR_DEFAULT,LINE_TYPE_NONSTOCK,LINE_TYPE_STOCK,LOCAL_SOURCE_MODULE,STATUS_ACTIVE,STATUS_CLOSED,TM_USER_AR_DIVISION,TTYPE_RM,UPDATE_FLAG_C