Inventory dimension check

Source: Internet
Author: User

Ax uses the inventory dimension check to check the inventory dimension in all aspects of the inventory. We know that most of the check tasks are handed over to the classes of the inventmovent series.
There are two main tasks for inventory dimension check:
1. Whether the dimension specified by the user exists in the relevant master table;
Such as inventsize, inventcolor, inventbatch, and wmslocation.
2. Whether a dimension user with an empty value has been specified is not allowed.
For example, if the warehouse dimension is activated and empty harvest or empty shipping is not allowed, the corresponding value must be specified.
For the first point, ax only checks before shipment, that is, before the inventory transaction record changes to deducted (warehouse receiving) and stored ed (warehouse receiving. Specific check Code The call sequence is as follows:
Inventupd_estimated:
Updatenow-> checkupdatemovement-> inventdim: checkupdateestimatedmovement
Inventupd_reservation:
Updatenow-> checkupdatemovement-> inventmovement. checkdimfieldsvalid-> inventdim. checkdimfieldsvalid
Inventupd_picked:
Updatenow-> checkupdatemovement-> inventmovement. checkupdatepicked-> inventmovement. checkdimfieldsvalid-> inventdim. checkdimfieldsvalid
Inventupd_registered:
Updatenow-> checkupdatemovement-> inventmovement. checkupdateregistered-> inventmovement. checkdimfieldsvalid-> inventdim. checkdimfieldsvalid
For the second point, ax will call the checkdimphysical method of inventmovent to check in pick, registe, packingslip, and invoice.
In this way, we can make some appropriate modifications to adapt to the customer's needs. For example, for the first point, the original logic of ax is that if the corresponding primary table does not have the corresponding record, an error is reported, if required, you can change it to insert corresponding records in the corresponding master table if it does not exist.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.