Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

X3 Technical documentation-entry Point EntryPoint

2025-03-26 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

Entry points enable specific or vertical processes to interact with standard processes sequentially without user interaction. The entry point is predefined according to the requirements in the standard code. In general, "black box scripts" (such as the ability to determine prices or automatically generate documents) have entry points.

Technically, the entry point is an optional hook that invokes specific or vertical scripts in the context of the program.

As long as no entry is added to the entry point routing table, nothing is done.

Entry points can be created as required so that our secondary developers can integrate vertical or specific behavior into the standard.

Each entry point has documentation to define the full context of the call to a specific / custom procedure.

The entry point is delivered by Sage. Therefore, it must be loaded when needed (which can be done through patches).

Each entry point script has a subroutine $ACTION and receives an ACTION variable that defines the entry point used in more detail.

Code for a vertical script or a specific script:

$ACTION Case ACTION When "..." Endcase Return

The entry point defines the assignment of one or more specific or vertical scripts to standard scripts that invoke one or more hooks. Each hook is identified by the code assigned in the ACTION variable. For example, the VAT declaration script (DCLVAT) in the ERP field has seven entry points identified by the following action values:

If ACTION = "FILTRE", the filter can be assigned on the location to be managed by the declaration. If ACTION = "DAEFILTRE", you can assign additional criteria to filter the payment banks considered for VAT based on the payment situation. If ACTION = "AE_ECRDVP", you can modify the declaration row that will be written to the temporary table. ...

In addition, the entry point table can be used to associate a creation script with an object. This replaces the vertical script that exists in the object dictionary (until version 7.1) and enables multiple entry points for a given object. In this case, the ACTION contains the object event code.

Examples of ACTION values:

* If ACTION = "RAZCRE", a new record is created in object management.

* If ACTION = "APRES_MODIF", then all modifications have been made in the mask and updates are requested.

*.

Of course, such objects are only available in version 6 style code (which runs on the classic page). In version 7 code, the association with a script with a class or representation is done in the corresponding dictionary; several vertical, specific, and standard scripts can be associated with a class or representation, and you are free to set the execution order. The available version 7 event codes are defined in the appropriate documentation.

Input point table

The entry point table contains the following:

Types

This field can be Object or Entry p, depending on the type of hook used (on the object or at the entry point).

Standard script

Defines the standard script name in which the entry point is implemented. Enter only in the input p input line.

Object

Defines the object that implements the vertical script. Input is for rows of object type only.

Title

For reference only.

Specific script

Define the script provided to implement specific code (which must include the $ACTION tag).

Module

For reference only.

Activation code

The activation code is used to protect the entry point line from updates. If the corresponding active code is inactive, the script is not called.

Order

This field defines the order in which the entry point is executed when there are multiple rows of the same object or entry point. This is a new feature in version 7.2. Note that when you patch the row again, the order on the existing row will never change.

Setting

Free fields that developers can use.

Execution time

When executing on an object:

* execute a specific script first.

* if GPV equals 0 after a specific script, all vertical scripts with the active code set to active are executed in ascending order.

* the standard script is executed last (if GPE equals 0).

At execution time, do the following on the entry point:

* all vertical scripts with the activity code set to active are sorted in ascending order.

Tel: 400-618-3060

Shanghai Kaifeng Enterprise Management Consulting Co., Ltd.

Shanghai headquarters: room 507, Shanghai Federation of Industry and Commerce Building, 45 Yan'an Road, Huangpu District, Shanghai

Contact: 021-31200832

Hangzhou Branch: room 1105-1107, Building 4, Xintiandi Shijia Block, Xiacheng District, Hangzhou City, Zhejiang Province.

Contact: 0571-88121121

If you are interested in learning about the complete plan, please follow us:

Http://www.sageas.cn

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report