Guys!
There's a problem.
I have added a field(Decimal) in the sales line table.While making sales order I am inserting some thing in that field.Now I want that field to get reflected in G/L Entry.
Any suggesstions?
Early response is solicited.
Thanx in advance
0
Comments
Pargesoft
And in codeunit 12, you need to transfer the field from T83:"G/L Journal Line" to T17:"G/L Entry".
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Can u please explain the last step.
ie. How to transfer the field.Where should be the code written??(And whatcode)
On InitGLEntry
GLEntry.YourField := GenJnlLine.YourField;
Pargesoft
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
But in first place why g/l entry?
say if you have 10 sales lines, how do you record these in g/l entry? and why?
I didn't understand What do you mean?
Pargesoft
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
It looks like this is a US localization though, so I don't know if it is available elsewhere.
RIS Plus, LLC
If you want to sum line amounts , I think basically you can add a flowfield to SalesHeader which sums the sales lines amount. Then you can transfer this amount to G/L Entry in CU12.
Pargesoft
It is a US localization, the W1,BE,IT-db's don't have it.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Till now I have added the code in trigger named "InitGLEntry(GLAccNo : Code[20];Amount : Decimal;AmountAddCurr : Decimal;UseAmountAddCurr : Boolean;SystemCreatedEntry : Boolean)"
where this code ws written."
GLEntry.INIT;
GLEntry."Posting Date" := GenJnlLine."Posting Date";
GLEntry."Document Date" := GenJnlLine."Document Date";
GLEntry."Document Type" := GenJnlLine."Document Type";
Now what to do for debit entry??
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
I didn't mean purchase entry.
When there is a transaction ,2 entries go in G/L Entry table.1 for debit ,other for credit in 2 different accounts.I am talking bout that 2nd transaction(Debit one)
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!