Code Unit to link G/L Entry to Sales Invoice

dynamics_prasanth
dynamics_prasanth Posts: 153
Hi Friends,

Can anybody provide the Code Unit for linking G/L Entry to Sales Invoice?

Thanks & Regards in Advance

Comments

  • Marije_Brummel
    Marije_Brummel Posts: 4,262
    Study the Navigate function to see how G/L Entries are related to Sales Invoices.
  • Is it possible to connect both these entries using some field or option other than
    Document No. ?
  • ufuk
    ufuk Posts: 514
    Why you don't wanna use document no.? Another option is External Document No. if it is mandatory.
    Ufuk Asci
    Pargesoft
  • Hi,

    Thanks for your response. External Document No is not mandatory in our case. I am already using Document No field. But that is not sufficient. One more reference field is required in my case. Or else can we establish a link between G/L Entry & Sales Invoice using some other table?

    Thanks
  • ufuk
    ufuk Posts: 514
    I think playing around doc. no is more simple. Otherwise you have to create a field in both tables and update content while posting.
    Ufuk Asci
    Pargesoft