Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Whenever the "Master" field is change - the "Key" from the MasterTable is copied to the "Slave" field.

...

titleAX

Example: this is used in Unplanned Move. Look a class Mob_GetReferenceData.addUnplannedMoveHeader(..)
It is used to set "To warehouse" to the same value as "From warehouse", but the "To warehouse" can be changed afterwards.

 

...

 

Code Block
languagec#
titleMob_GetReferenceData.addUnplannedMoveHeader(..)
linenumberstrue
collapsetrue
void addUnplannedMoveHeader(XmlElement linesElement)
{
    // Warehouse to move from
    this.addDefaultWarehouseElement(linesElement, 1, #ReferenceDataTable_WarehouseList, #FromWarehouse, "@SYS25253", '2', #Warehouse_InventLocationId);

    // Warehouse to move to
    this.addDefaultWarehouseElement(linesElement, 2, #ReferenceDataTable_WarehouseList2, #ToWarehouse, "@SYS8519");

    // Item number text box
    this.addDefaultItemNumberElement(linesElement, 3);
}

 

 

Tables used

For the examples, this data is used to demo the functionality.

...