To track an inbound document (Purchase environment), configure the relationship as follows:

Field

Content

Standard Entry

650

Search Key

D1_FILIAL+D1_DOC+D1_SERIE+D1_FORNECE+D1_LOJA+D1_COD+D1_ITEM

Search Order

1

Description

Inbound Document Item

Routine to Execute

CTBNOTA()

File Alias

SD1

Field

Content

Standard Entry

660

Search Key

F1_FILIAL+F1_DOC+F1_SERIE+F1_FORNECE+F1_LOJA+F1_TIPO

Search Order

1

Description

Inbound Document

Routine to Execute

A103NFISCAL("SF1",SF1->(RECNO()),1)

File Alias

SF1



See Also

  • Topic Outbound Document.