static void Job10(Args _args) 
{
inventTransferTable inventTransferTable;
inventTransferLine inventTransferLine;
numberSequenceReference numberSequenceReference;
numberSeq numberSeq;
inventTransferTable.clear();
inventTransferTable.initValue();
numberSequenceReference = InventParameters::numRefTransferId();
numberSeq = numberSeq::newGetNumFromCode(numberSequenceReference.numberSequenceTable().NumberSequence);
inventTransferTable.TransferId = numberSeq.num();
// inventTransferTable.invents
inventTransferTable.InventLocationIdFrom = ’11’;
inventTransferTable.modifiedField(fieldNum(InventTransferTable, InventLocationIdFrom));
inventTransferTable.InventLocationIdTo = ’13’;
inventTransferTable.modifiedField(fieldNum(InventTransferTable, InventLocationIdTo));
inventTransferTable.TransferStatus = InventTransferStatus::Created;
inventTransferTable.insert();

inventTransferLine.clear();

inventTransferLine.ItemId = ‘1000’;
inventTransferLine.initFromInventTable(InventTable::find(‘1000’));
inventTransferLine.initFromInventTransferTable(inventTransferTable, NoYes::Yes);
inventTransferLine.QtyTransfer = 10;
inventTransferLine.QtyShipNow = 10;
inventTransferLine.QtyReceiveNow = 10;
// inventTransferLine.
inventTransferLine.insert();

}