Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 73760

Find relationship between table PurchRFQReplyTable and AgreementHeader Table or AgreementHeaderDefault Table

$
0
0

Hi,

I need to transfer the information about the Date of Delivery in  module Procurement and sourcing from a reply to request of quotation to purchase agreement. The problem that I could not find a relation ship between Tables: PurchRFQReplyTable and AgreementHeaderDefault. What I tried to do is :

1-add a field with extended data type DlvDate to the Table AgreementHeaderDefault

2-Replace the PurchRFQReplyTable.initAgreementHeaderDefault  method code by this one :

void initAgreementHeaderDefault(AgreementHeaderDefault _agreementHeaderDefault)
{
    _agreementHeaderDefault.DeliveryTerm    = this.DlvTerm;
    _agreementHeaderDefault.DeliveryMode    = this.DlvMode;
    _agreementHeaderDefault.PaymentTerms    = this.Payment;
    /*this is the New Field in AgreementHeaderDefault Table with extended data type DlvDate */
    _agreementHeaderDefault.DefaultAgreementLineDeliveryDate = this.DeliveryDate;

}

3-Create New Relation for the Table AgreementHeaderDefault with the PurchRFQReplyTable with the attached properties.

Unfortunetely, This solution does not work for me. Help please.


Viewing all articles
Browse latest Browse all 73760

Trending Articles



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