Posting from Whse. Ref. Field

Belias
Belias Member Posts: 2,998
hi everyone, does someone know what's the Posting from Whse. Ref. field on document headers(sales, purchases, transfers..)?i found it is used in posting codeunits:
codeunit 80:
...
WhseReference := "Posting from Whse. Ref.";
...
InvtPickPutaway := WhseReference <> 0;
...
IF NOT InvtPickPutaway THEN
  COMMIT;
variable invtpickputaway is used here and there in codeunit 80, and i'd like to know how it is evaluated.
I couldn't find anything about the field in the F1 help, probably because it is just an internal field.
Thanks in advance
-Mirko-
"Never memorize what you can easily find in a book".....Or Mibuso
My Blog

Comments

  • crisnicolas
    crisnicolas Member Posts: 177
    Try putting a breakpoint on line WhseReference := "Posting from Whse. Ref.";

    See which value "Posting from Whse. Ref." has.
    I don't know what it is, since I haven't worked with Warehouse documents that much, but my guess is that it has the Warehouse Document No. that is posting the sales order.
  • Belias
    Belias Member Posts: 2,998
    it's an integer field, but it's not evaluated in my process, so i'd like to know when it is evaluated (i don't think in posting codeunit, because the value should be already there to be used...
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog
  • Belias
    Belias Member Posts: 2,998
    i found that the field is evaluated in codeunit Whse.-Activity-Post...now the question is: when does this codeunit is called? ](*,)
    More search to do
    -Mirko-
    "Never memorize what you can easily find in a book".....Or Mibuso
    My Blog