Header Standard Entry | 620 |
Item Standard Entry | 610 |
Once the great majority of material entrance use the same standardized entries, the specific entry for it can be identified by fields F2_TIPODOC e D2_TIPODOC.
Example of configuration of entry for Normal Invoice:
Field | Content | Note |
Code | '620' | Header Entry |
Credit Account | ||
Debit Account | SA1->A1_CONTA | |
Amount | Iif(SF2->F2_TIPODOC== 01,SF2->F2_VALBRUT,0) | Only make entries for document type 01 |
History | "Checking Account Debit" |
Field | Content | Note |
Code | '610' | Item Entry |
Credit Account | SB1->B1_CONTA | |
Debit Account | ||
Amount | Iif(SD2->D2_TIPODOC== 01,SD2->D2_TOTAL,0) | Only make entries for document type 01 |
History | Credit Stock |
Field | Content | Note |
Code | 610 | Item Entry |
Credit Account | [Sales Taxes] | |
Debit Account | ||
Amount | Iif(SD2->D2_TIPODOC== 01,SD2->D2_VALIMP1,0) | Only make entries for document type 01 |
History | Sales Taxes Credit |
Example of configuration of entry for Processing Invoice:
Field | Content | Note |
Code | '620' | Header Entry |
Credit Account | ||
Debit Account | [Material sent for processing] | |
Amount | Iif(SF2->F2_TIPODOC== 11,SF2->F2_VALBRUT,0) | Only make entries for document type 11 |
History | Material sent for processing |
Field | Content | Note |
Code | 610 | Item Entry |
Credit Account | SB1->B1_CONTA | |
Debit Account | ||
Amount | Iif(SD2->D2_TIPODOC== 11,SD2->D2_TOTAL,0) | Only make entries for document type 11 |
History | Credit/Stock |
Entries displayed here are for example only and do not consider more complex variations, such as documents in different currencies, different taxes, etc. |