Question Status

Verified
pii asked a question on 20 Jul 2014 11:48 PM

I have Purchase Order(PO)... in PO, i click Product Receipt.

In form Product Receipt, in grid i write code for Product receipt.. (PR-001) and i click OK... This field is located in PurchParmTable.

Status change from Open Order to Received... So, i click menu Product receipt.

And i see code Product receipt like in previous form (PR-001).. This field is located in VendPackingSlipJour.

My Question ::

What class or method for send data field Product receipt from PurchParmTable to VendPackingSlipJour ?

I want add field in grid in form Product receipt  in picture 2, example : field Note.

And i want to show this field Note in grid in form Picture 4.

Anybody help me.

What can i do?

Thanks.

Reply
Verified Answer
Dominic Lee responded on 21 Jul 2014 12:15 AM

Try look at the PurchPackingSlipJournalCreate class, and the initHeader method in particular.

kind regards,

Dominic Lee

My blog | PBC

This forum post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

Reply
Verified Answer
Nitesh Ranjan responded on 21 Jul 2014 12:45 AM

You should consider modifying following class method

Classes\PurchFormLetter_PackingSlip\initJournal

in this calss method you have PurchParmLine and PurchParmTable available to find your value entered in picture 2

please verify and let me know if you need more details


Please update with your feedback.

Regards, NITESH RANAJN (PMP) | Dynamics AX Consultant

If this post helps you, Please verify this answer and earn Thank you Badge for yourself (Follow this link for more details https://community.dynamics.com/braggerbadges/badge/48.aspx)

Reply
pii responded on 21 Jul 2014 1:35 AM

Thanks Dominic Lee..

Reply
pii responded on 21 Jul 2014 1:53 AM

Thank Dominic Lee..

I've tried and successfully....

Now, i have new field Note in form Product receipt.

I click Voucher..

I have one problem again.. i click Vouchers.. in tab General, i see code product receipt (PR-001) and this field is located in GeneralJournalEntry.

Can i add my field Note in here ?

If i can, How? What class or method for this issue?

Help me Dominic Lee..

Thanks very much.

Reply
pii responded on 21 Jul 2014 1:54 AM

Thank Nitesh Ranjan for your suggest..

Reply
Verified Answer
Dominic Lee responded on 21 Jul 2014 12:15 AM

Try look at the PurchPackingSlipJournalCreate class, and the initHeader method in particular.

kind regards,

Dominic Lee

My blog | PBC

This forum post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

Reply
Verified Answer
Nitesh Ranjan responded on 21 Jul 2014 12:45 AM

You should consider modifying following class method

Classes\PurchFormLetter_PackingSlip\initJournal

in this calss method you have PurchParmLine and PurchParmTable available to find your value entered in picture 2

please verify and let me know if you need more details


Please update with your feedback.

Regards, NITESH RANAJN (PMP) | Dynamics AX Consultant

If this post helps you, Please verify this answer and earn Thank you Badge for yourself (Follow this link for more details https://community.dynamics.com/braggerbadges/badge/48.aspx)

Reply