INDEX
- Overview
- Example of routine behavior
- Example of trigger creation
01. OVERVIEW
When transferring an asset, fields Dest. Group of folder General Data (FN9_GRPDES) and of Assets Grid (FNR_GRPDES) are not filled out, because field Assets Group is a facilitator to fill out the accounting data of the asset and you must not regard it as a prerequisite to execute an operation.
This field is not filled out in order to avoid the following collateral effects:
- In an environment in which table Assets Group (FNG) is exclusive between company/branch, when making a transfer, if there is a trigger, the destination asset group may not exist at the destination branch;
- In an environment in which table Assets Group (FNG) is exclusive between company/branch, when making a transfer, if there is a trigger, the destination asset group may not have the same characteristics as the destination branch;
Thus, to meet all scenarios, field Destination Asset Group is not filled out when you make a transfer.
If there is a need for field Destination Group to be filled out with the Group tied to the Asset for transfers between branches, we suggest the creation of a custom trigger.
02. EXAMPLE OF ROUTINE BEHAVIOR
Assets Register (ATFA012) with tied Assets Group.

When you execute the Asset Transfer (ATFA060) of this asset, the fields of Destination Group (FN9_GRPDES/FNR_GPRDES) are not filled out.


If you change the Destination Branch (FN9_FILDES/FNR_FILDES), field Destination Group remains blank.

03. EXAMPLE OF TRIGGER CREATION
Suggestion of trigger creation for field Asset Group, if set to be triggered when editing field Destination Branch:
SX7 | TRIGGERS |
X7_CAMPO | FNR_FILDES |
X7_SEQUENC | 001 |
X7_REGRA | M->FNR_GRPORI |
X7_CDOMIN | FNR_GRPDES |
X7_TIPO | P |
X7_CONDIC | !EMPTY(M->FNR_GRPORI) |
Note:
- When it comes to transfers between branches, the Asset Group of origin must be at the destination branch.
- Once the trigger is activated, the fields related to accounting entities (FNS table) are loaded in accordance with the group register at the destination branch, disregarding origin branch data.
- The group is just a facilitator, so you can change it even if it is tied to an asset.