Purchase Requisition Lines Not showing up.

Hi,

I am trying to insert values from c# code through .net business connector for Purchase Requisition.I am able to Insert values for Purchase Header and Purchase Requisition Lines,but the values which I have added for Purchase Requisition Lines are not showing up in the Line Items.I have checked the respective tables where the values Inserted by me are showing up,but the same is not replicating in Line Items…I have attached the screen shot .

P1–Picture 1(PR Header & PR Line Items)

P2—>Picture 2(Line item “1” added through code is not showing up.)

Picture P1—>Shows 2 lines items for single PR header .out of that 1st Line item is added through code and second one is added directly from dynamics think client.

Picture P2—>Shows only 2nd item which is directly added from dynamics(First item added through code is not showing up in the line items).

Please share your answers if anyone faced this issue.

Thanks

Raja

It’s probably because of an inner-joined data source that doesn’t return any line. And that would be caused by an invalid reference.

For example, imagine that the line contains a non-existing InventDimId value. The form show lines inner-joined with InventDim table and because there is not any InventDim record for PurchReqLine.InventDimID, the line isn’t shown either.

Hi,

Thanks for your reply.As you said I have tried in different manner by using AOT classes from c# code . Insert and update method code was wrote in AOT classes,which I used it in c# and passed the parameters.

It worked fine.

Thanks

Raja