LineItem design mode

xiaoxiao2021-03-06  63

Today, after painful waiting for the process of compiling the upload, I finally understood some of the things inside the BV. This kind of thing should be design mode.

First, he made the inquiry form into RFQ objects. First, you will first have a NEW an RFQ object.

Then, according to the number of suppliers in this inquiry, RFQ add some RFQLineItem, which is actually the concept of the product group, and several Products make up a RFQLineItem.

The logic in this is very clear.

RFQLineItem is Product's Container, // RFQLineItem.Add (Product)

RFQ is the container, // RFQ.Add (RFQLineItem) of RFQLineItem

After adding, rfq.submit (); this is all submitted

In fact, RFQ is the primary table of MR_ORDERS, and RFQLineItem is inside a foreign key header, which stores the OID of the Product, which stores the OID of RFQ.

Thank Zhang Jianfeng! ! ! ! ! !

转载请注明原文地址:https://www.9cbs.com/read-90233.html

New Post(0)