tw_s_l_create_pos
Systemserver/subroutinevendor-core
tw_s_l_create_pos — System server/subroutine program in the standard Ross ERP 8.0 application. References 18 Data Dictionary tables, writes 7. Metadata only; no source.
Open tw_s_l_create_pos in the interactive Program Explorer →Part of System programs · all programs
How it runs
- web-service tables; reads RS_GET_TW_PO_HEADERS, RS_GET_TW_PO_LINES, RS_GET_TW_PO_LINE_ACCOUNTS, RS_SYS_MESSAGES
- rolls back its work on failure
Tables used · 18 · 7 written
POP_GL_POSTINGS D U?PA_POP_GL_POSTINGS DPOP_HEADERS UDPOP_LINES UDPOP_LINE_DETAILS DPURCHASE_ORDER_TAX_DETAILS DTW_PO_ORDER_XREF CAP_CONTROLSCORPORATE_ADDRESSESCREDIT_TERMSGL_ACCOUNTSLINK_INV_POPOP_AUTHORIZATION_CODESPOP_FREIGHT_CODESPOP_SHIPPING_TERMSSYS_CURRENCY_CODESVENDORSVENDOR_ADDRESSES
C = creates rows · U = updates rows · D = deletes rows · U? = probable update. Tables without a letter are only read.
Columns it sets on POP_GL_POSTINGS: ACCOUNT_NUMBER, GL_POSTING_BASE_DR, GL_POSTING_CURRENCY_DR
Columns it sets on POP_HEADERS: VENDOR_REFERENCE
Columns it sets on POP_LINES: CLOSED_FOR_GRN, CLOSED_FOR_PI, INTERNAL_COMMENTS, ORDER_LINE_REFERENCE, PURCHASE_LINE_DETAIL_DESCR, TW_IN_USE
Columns it sets on TW_PO_ORDER_XREF: COMPANY_CODE, DIVISION, PO_NUMBER, TW_CHANGE_ORDER, TW_PLANT_CODE, TW_PO_NUMBER, TW_RELEASE, TW_TRAN_ID
Messages it can show · 21
- P_02975 — Failed to delete record(s) from !TX.
- P_02609 — Failed to add !AS record(s)
- P_09400 — No such Credit Terms Code as !AS.
- P_32232 — Line Quantities have been processed, Cannot delete
- P_00296 — Authorization Code not found !AS
- P_02360 — WARNING: Supplier !AS is stopped. PO not generated for this supplier.
- P_09278 — No such Division as !AS.
- P_62009 — Supplier Address Code Not Found !AS
- P_62128 — Freight Code not found !AS
- P_96076 — POP Shipping Terms not found for !AS
- P_03221 — Cannot modify. Line is Closed.
- P_09145 — Failed to update !AS record(s).
- P_02789 — Invalid corporate address, !AS.
- P_22750 — Purchase Order not found
- P_36803 — This request has already been accepted. Cannot resend.
- P_37504 — Order !AS has been created.
- P_37505 — Order !AS has been modified.
- P_42473 — Account !AS was either not found or not a detail account
- P_42491 — GL account !AS is inactive.
- P_52086 — Cannot reduce order quantity below !AS
- P_82488 — Cannot enter negative values
Depends on
- system parameters it reads:
EXT_SYSTEM_TABWARE,IC_E_UOM_CONV_NO_MESSAGE,IC_UOM_LOT_CHARACTERISTIC,IC_UOM_LOT_CHAR_DEFAULT,LINE_CLOSED_C,LOCAL_SOURCE_MODULE,STATUS_ACTIVE,STATUS_ERROR,STATUS_OPEN,TWTYPE_POI - parameters it sets:
USER_COMPANY_CODE
Calls · 12
lb_s_l_load_messagepop_l_gen_orders (EXTERNAL_MODIFY_PO)lb_c_ic_engine_controllerlb_cre_pop_order_hds_vtlb_cre_pop_order_lds_vtlb_cre_pop_order_lns_vtlb_cre_pop_rbo_xref_vtlb_l_landed_cost (INIT_LANDED_COST_TYPE_VT)lb_l_sys_currency_control_temp_vt (CREATE_SCC_TEMP_VT)lb_s_l_update_demand_supplylb_val_ccylb_val_vendor