ggac
Member
When I enter a sale invoice with P03B11SI form, the G/L position of the customer is determined by G/L key identified in the customer file. Validating the invoice, a line is inserted in F03B11 file and an other, corresponding to the sale, in the F0911 file.
When I post the IB batches, 2 lines are inserted in the F0911 with a document type AE.
These insertions don't use the G/L key of the F03B11 file (RPGLC field) when they are generated by the R09801.
They don't look neither in the customer file (F0301) nor in the customer by line of business file (F03012) to find the right AAI to use.
Exemple :
Customer 123456 G/L key = 4040
AAI RC4040 Object = 467000
RC4110 Object = 411000
Line of F03B11after data entry
customer=123456 Posting=' ' G/L key = 4040
If I modify the RPGLC field before posting, 4110 instead of 4040, the object generated is the 467000, matching to the RC4040 AAI.
If I modify the A5ARC and AIARC fields in F0301 and F03012, 4110 instead of 4040, the object generated is still the 467000, matching to the RC4040 AAI.
I'd like to know where does the posting program R09801 look to generate the AE type lines.
Finaly, I want to generate the 411000 object in the F0911, keeping 4045 in F0301 and F03012 files
Best regards,
When I post the IB batches, 2 lines are inserted in the F0911 with a document type AE.
These insertions don't use the G/L key of the F03B11 file (RPGLC field) when they are generated by the R09801.
They don't look neither in the customer file (F0301) nor in the customer by line of business file (F03012) to find the right AAI to use.
Exemple :
Customer 123456 G/L key = 4040
AAI RC4040 Object = 467000
RC4110 Object = 411000
Line of F03B11after data entry
customer=123456 Posting=' ' G/L key = 4040
If I modify the RPGLC field before posting, 4110 instead of 4040, the object generated is the 467000, matching to the RC4040 AAI.
If I modify the A5ARC and AIARC fields in F0301 and F03012, 4110 instead of 4040, the object generated is still the 467000, matching to the RC4040 AAI.
I'd like to know where does the posting program R09801 look to generate the AE type lines.
Finaly, I want to generate the 411000 object in the F0911, keeping 4045 in F0301 and F03012 files
Best regards,