Hi,
I am new to technical aspects in Axapta and I am looking at the following functionality.
I am new to technical aspects in Axapta and I am looking at the following functionality.
I wanted to replicate the invent movement journal functionality in a new form and i created a new table in which the override write function is written.
Now the problem is that i am able to create a new dimension in inventdim table but i am unable to see the new dimension in the custom table (TestInput). I think the problem is with with datasource fieldsof the table. The dimid populated is the first dimid in the inventdim table.
public void write()
{
;
try
{
ttsbegin;
PackInput.InventDimID = InventDim::findOrCreate(ReceiptInventDim).inventDimId;
ttscommit;
ttsbegin;
super();
if (TestInput.InventDimID != IssueInventDim.inventDimId)
{
IssueInventDim.data(InventDim::find(TestInput.InventDimID));
IssueInventDim_ds.setCurrent();
}
ttscommit;
}
catch (exception::Error)
{
error("Wrong Dimension");
}
}
Any help regarding the same very helpful.
Thanking you.
Regards
Sri Ram
Sharing the knowledge on Axapta.
YAHOO! GROUPS LINKS
- Visit your group "Axapta-Knowledge-Village" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.