Páginas filhas
  • Posting with Sales Order (MV_ATFGRPV)

CONTENTS

  1. Overview
  2. Example of use
  3. Related Links

01. OVERVIEW

We have created parameter MV_ATFGRPV to activate the generation of sales orders when posting assets with invoice issuance.

In routine assets posting (ATFA036), you can post an asset and generate an outgoing invoice.

From the dispatch of Issue DSERCTR1-25110 you can generate a sales order tied to this invoice.

To do this, you need to create the parameter MV_ATFGRPV in file SX6 with content .T..


What changes in routine operation?

By issuing the sales order, the routine starts making all validations of a regular sales order. 

Example:

  • Customer Credit Limit;
  • Risk; 
  • Product stock balance (if stock is controlled).


Moreover, with generation of sales order, the system also starts following the rule of parameter MV_1DUPNAT.

If parameters are set to use the nature of the sales order, the system respects the content entered in field "Nature (FN6_NATURE)" of the postings routine.


Important

Aiming to preserve the legacy and offer customers a choice, we created parameter MV_ATFGRPV to activate or deactivate the feature described.

02. EXAMPLE OF USE

1. Create parameter MV_ATFGRPV with content .T. (enabled) in table SX6:

Action

Description

X6_VAR

MV_ATFGRPV

X6_TIPO

L

X6_DESCRIC

To enable addition of sales order in asset postings with invoice issuance (.T. activated / .F. deactivated). 

Note: In versions above 12.1.27, the parameter is already in the dictionary and only requires activation.

2. Access the assets posting routine: Updates / Transactions / Postings (ATFA036);

3. Select an asset that is already classified and has a balance to be posted;

4. Click the button Post;

5. Fill out the posting percentage;

6. Access folder "Invoice Data";

7. Fill out the data as needed and confirm the posting.

8. If all rules for release of sales order are met, the system posts the asset and the generation of the outgoing invoice tied to a sales order.