Quantcast
Channel: Sage X3 – Tips, Tricks and Components
Viewing all articles
Browse latest Browse all 1519

How to do Location change of specific document through code…?

$
0
0

In one of our customization there was a requirement where quantity allocated to transactions (order, delivery etc.) should be moved to another transaction. To do this we think of using standard Location change function. But creating location change record will not move the inventory allocated to specific document (it does the location change for available inventory randomly). After some investigation we have found the solution to move inventory allocated to specific transaction.

New Stuff: Determines the quantity of available memory at a given time

Adding an entry point to STKMAJ standard processing file you can easily achieve the above modification.

Untitled

There are mainly 3 actions get called from STKMAJ:

STA_CRIT: in this action you can add a document criteria’s in WSTACRIT variable

STKMAJ: in this action filter the stock allocation [STOALL] table with the desired document number

AGRSTJ: in this action filter the stock allocation [STOALL] table with the desired document number

Refer to below screen shot for better clarification:

Untitled

 

 

Also Read:

  1. How to quick search without including stars using Entry points?
  2. How to change Entry Transaction without exiting the screen?
  3. Fetch the Entry Transaction value via Customized Code.
  4. Entry Transaction in X3.
  5. Entry transaction Validation via Patch.

Viewing all articles
Browse latest Browse all 1519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>